Skip to content

🏠 My configuration for home-assistant (https://www.home-assistant.io). 🌟 for updates!

License

Notifications You must be signed in to change notification settings

benct/home-assistant-config

Repository files navigation

Home Assistant Configuration

Configuration for my home-assistant setup running on Home Assistant OS on a Raspberry Pi 3 Model B.

Static version Maintained GitHub last commit GitHub code size GitHub licence

Hardware

Z-Wave/Zigbee Devices

Integrations

List of installed integrations via the Home Assistant UI.

Hubs/Devices

Media

Weather

System

Frontend

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.

Theme

Midnight theme from the HA Community (by marcelhoffs).

My Lovelace Cards

I've created and currently maintain a few plugins (cards) for Home Assistant's Lovelace UI:

BMC

HassOS Maintenance

SSH to host

ssh root@homeassistant -p 22222

Hassbian Maintenance (deprecated)

cd /home/homeassistant/.homeassistant/

sudo systemctl start [email protected]
sudo systemctl stop [email protected]
sudo systemctl restart [email protected]

Virtual Environment

sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate

Upgrading

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

Certificate

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

Nmap Tracker

sudo apt-get install net-tools nmap
sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip /usr/bin/nmap

Screenshots

Home Tab

Livingroom Tab

Bedroom Tab

System Tab