Configuration for my home-assistant setup running on Home Assistant OS on a Raspberry Pi 3 Model B.
- Raspberry Pi 3 Model B
- Raspberry Pi Camera V2
- Samsung SmartThings Hub
- Samsung Washer/Dryer
- Samsung Smart TV
- Phillips Hue Hub
- Google Nest Mini / Hub / Audio
- Google Chromecast
- Netatmo Weather Station
- Xiaomi Roborock Vacuum
- Mill Heaters
- Telldus Wall Plug
- Fibaro Wall Plug
- Fibaro Motion Sensor
- Fibaro Smoke Sensor
- Fibaro Flood Sensor
- Fibaro Door/Window Sensor
- Phillips Hue Bulbs / Strips / Play
- Phillips Hue Plugs
- SmartThings Button
- HeatIt Z-TRM3 Thermostat
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 root@192.168.0.XX
- https://gist.github.com/enegaard/a57af286205914bd912270c89650fb1b
- https://developers.home-assistant.io/docs/operating-system/debugging/#ssh-access-to-the-host
ssh root@homeassistant -p 22222
cd /home/homeassistant/.homeassistant/
sudo systemctl start home-assistant@homeassistant.service
sudo systemctl stop home-assistant@homeassistant.service
sudo systemctl restart home-assistant@homeassistant.service
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