Home Assistant
Changing from Indigo to Home Assistant due to repeated issues with Z-wave
As a test, running HA operating system on a mac mini in virtual box VM
Using Aeon Labs S2 stick - factory reset from the HA UI
Installation
Used homebrew to install VirtualBox
brew install --cask virtualbox
Add USB filter in the VM to identify the USB Z-wave stick, in my case ....
Add second USB filter for the RFXTRX transmitter for Somfy blinds
Autostart the VM on OSX startup
ToDo Guide
Network
Give it a static IP
Traefik
Need to add to configuration.yml in home assitant the following:
http:
use_x_forwarded_for: true
trusted_proxies:
- 10.2.0.0/16
- 127.0.0.1
- ::1
- fe80::/64
- fe00::/64
- fd00::/64
ip_ban_enabled: true
login_attempts_threshold: 5
Accessing host files in VM
there are 3 options, all involve add-ons to be installed from the HA UI
1. VSC addon - I chose this one
2. SSH addon
3. Samba addon
Addons
| Name | Comments |
|---|---|
| Advanced SSH and Web Terminal | need to add an ssh password in configuration to worki and put public key in configuration - username is hassio@IP |
| Studio Code Server | best way to access the configuration.yml file in the HA host os |
| Z-Wave JS UI | for the Z-wave USB stick |
| Home Assistant Google Drive Backup | automated backups to Google Drive |
Integrations
| Integration | Source | Comments |
|---|---|---|
| Doorbird | Official | worked out of box - just needed to add username and password |
| Sonos | Official | need to specify IP addresses as auto-discovery messy over complex networks |
| Envisalink | Community | need to edit config.yml |
| HACS | Community | Installed via ssh script (link below) |
| SecuritySpy | HACS | painless |
| RFXCOM | Official | need the node ID and unit number (link below) ie. 071a000000000202 |
| Sensibo | Official | nan |
| Logitech Harmony | Official | the device controls are found from harmony_xyz.conf in hass config directory |
Harmony
The device controls are called from the Remote:Send command service and the device ID and Command are found in the harmony_xzy.conf file in the config directory of home assistant.
Doorbird
Make sure the Doorbird device itself has the http call from home assistant in the doorbell schedule so it triggers. The Event type is called doorbird_21cs_doorbird_doorbell
Automations
Complex (more than on parameter/variable in a single action) automations need their Mode changed to queued
Z wave devices
Fibaro dimmers - make pulse length 135 for better low dimming ranges
Adding Scenes
For the Fibaro Zwave dimmer FDG211: 1. Parameter 7 2. Parameter The scene ids are: 22 and 23 Create a trigger as follows:
Minimalist UI
For binary sensor cards set:
UI Lovelace Minimalist