Violet
From Wildsong
Jump to navigationJump to search
Violet is a Raspberry Pi Model 3B+ currently running Home Assistant in Docker. Connected to ethernet. Lives in the kitchen.
- 1 GB RAM
- 32 GB micro sd
- Nortek USB Zigbee / ZWave adapter
History
- 2024-05-07 Set up Watchdog. Still need notifications.
- 2024-05-06 I broke something trying to do upgrades and installed fresh to a different SD card. Uses 4.5GB - I think the previous version had X11 installed. I think X11 was breaking the upgrade, or at least making it take a very long time.
- 2023-12-23 Install Debian Bookworm (12) and Docker and Home Assistant. Used 8GB of space
- 02/14/2022 Installed 64-bit Raspian.
I created a file in /etc/udev/rules.d to open up permissions on the serial ports, so that they work for Home Assistant in Docker.
cat /etc/udev/rules.d/60-serial-port-permissions.rules KERNEL=="ttyUSB[0-9]*", MODE="0666"
So how to do the installation with Ansible? HM?
Tasks include
Install standard "lite" bookworm image to an SD card with the imager. This creates user bwilson and installs my public key. Install docker (run docker_installer.sh) Add bwilson to the docker group Copy the data volumes for home assistant and mosquitto Change the serial port permissions as mentioned above. Set up watchdog You should be able to connect to http://homeassistant.local
Watchdog
On bookworm, the devices already exist (See /dev/watchdog*)
apt install watchdog vi /etc/watchdog.conf I want to be notified if the watchdog causes reboots.