Violet

From Wildsong
Jump to navigationJump to search

Violet is a Raspberry Pi Model 3B+

  • 32 GB micro sd
  • Nortek USB Zigbee / ZWave adapter

History

  • 2024-05-07 Setting up Watchdog.
  • 2024-05-06 I broke something trying to do upgrades and installed fresh to a different SD card.
  • 2023-12-23 Install Debian Bookworm (12) and Docker and Home Assistant.
  • 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

Filesystem     1K-blocks    Used Available Use% Mounted on /dev/mmcblk0p2  30083620 8344660  20190664  30% /

/dev/mmcblk0p1    522232   74110    448122  15% /boot/firmware

That's 8GB used in /

Watchdog

On bookworm, the devices already exist (See /dev/watchdog*)

apt install watchdog
vi /etc/watchdog.conf