- Flash rasbian os 32bit onto SD card
- modify /mnt/config.txt
- Add the following parameters to the bottom of the /boot/config.txt file. https://www.home-assistant.io/docs/z-wave/controllers/
# Enable zwave.me and disable onboard bluetooth
dtoverlay=disable-bt
enable_uart=1
sudo -i
apt-get update && apt-get upgrade -y && apt-get install git vim -y
- git clone https://github.com/vgrsec/rpihomeassistant.git
https://jugmac00.github.io/blog/how-to-run-a-dockerized-service-via-systemd/ https://www.hostwinds.com/tutorials/use-ngnix-to-proxy-docker-containers-on-ubuntu
https://linuxhandbook.com/nginx-reverse-proxy-docker/
- Flash haos_rpi4 onto SD card
- Install SD card into rpi 4
- Boot Rpi 4
- Create a user account and log into Home Assistant Web Interface
http://haos.local:8123
- Enable Advanced Settings in User Profile
http://haos.local:8123/profile
- Install, and Start SSH Module
http://haos.local:8123/hassio/dashboard
- Generate ssh public key pair on laptop
ssh-keygen -t rsa -f ~/.ssh/haos_debug -b 2048 -q -N ""
- Create USB drive named
CONFIG
formatted FAT32 on laptop - Copy public key to USB drive and rename the public key to
authorized_keys
on Laptop - Move USB drive to Rpi 4
- Open SSH Web Terminal in Home Assistant Web Interface
http://haos.local:8123/core_ssh/dashboard
- Run command
ha os configure
- On Laptop run
ssh -i ~/.ssh/haos_debug root@haos.local -p 22222
- Modify boot settings for Razberry Board
login
mount /dev/disk/by-label/hassos-boot /mnt/
cd /mnt/
vi config.txt
- Add the following parameters to the bottom of the /boot/config.txt file.
dtoverlay=disable-bt
enable_uart=1
- Exit vi and unmount boot
cd ..
umount /mnt
- Restart using Home Assistant Web Interface
http://haos.local:8123/config/hardware
- Log into Home Assistant on reboot
http://haos.local:8123
- Once logged in, shut down using Home Assistant Web Interface
http://haos.local:8123/config/hardware
- Install Razberry board
- Boot HAOS
- Install and start z-wave.js
http://haos.local:8123/hassio/dashboard
- Add zwave integration
http://192.168.0.11:8123/config/integrations
Make a www directory to host files on homeassistant
- mkdir /mnt/data/supervisor/homeassistant/www/
Create a symlink between a media folder on your webserver and the default home assistant media upload folder
- ln -sf /mnt/data/supervisor/homeassistant/www/media/ /mnt/data/supervisor/media
Now the photos you upload will be available http://192.168.0.11:8123/local/media/backporch.png
https://www.home-assistant.io/docs/z-wave/controllers/#supported-z-wave-usb-sticks--hardware-modules
https://developers.home-assistant.io/docs/operating-system/debugging/