🏠 My configuration for home-assistant (https://www.home-assistant.io). 🌟 for updates!
Configuration for my home-assistant setup running on Home Assistant OS on a Raspberry Pi 3 Model B.
List of installed integrations via the Home Assistant UI.
The frontend is using the new Lovelace UI, with a customized configuration and several custom cards.
Home Assistant Community Store (HACS) is used to install and update most of the custom cards/plugins.
Midnight theme from the HA Community (by marcelhoffs).
I've created and currently maintain a few plugins (cards) for Home Assistant's Lovelace UI:
ssh [email protected]
ssh root@homeassistant -p 22222
cd /home/homeassistant/.homeassistant/
sudo systemctl start [email protected]
sudo systemctl stop [email protected]
sudo systemctl restart [email protected]
sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate
sudo apt-get update
sudo apt-get upgrade
Stop the home-assistant service before running the following:
sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant
For initial setup see home-assistants Let's Encrypt guide.
sudo apt-get install certbot
sudo certbot certonly --standalone --preferred-challenges http-01 --email <email> -d <hostname>
chmod 755 /etc/letsencrypt/live/your.site/
chmod 755 /etc/letsencrypt/archive/your.site/
sudo certbot renew
sudo apt-get install net-tools nmap
sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip /usr/bin/nmap