Violet: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) |
||
Line 13: | Line 13: | ||
cat /etc/udev/rules.d/60-serial-port-permissions.rules | cat /etc/udev/rules.d/60-serial-port-permissions.rules | ||
KERNEL=="ttyUSB[0-9]*", MODE="0666" | KERNEL=="ttyUSB[0-9]*", MODE="0666" | ||
So how to do the installation with Ansible? HM? | So how to do the installation with Ansible? HM? | ||
Tasks include | 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) | Install standard "lite" bookworm image to an SD card with the imager. This creates user bwilson and installs my public key. | ||
Add bwilson to the docker group | Install docker (run docker_installer.sh) | ||
Copy the data volumes for home assistant and mosquitto | Add bwilson to the docker group | ||
Change the serial port permissions as mentioned above. | Copy the data volumes for home assistant and mosquitto | ||
Set up watchdog | Change the serial port permissions as mentioned above. | ||
You should be able to connect to http://homeassistant.local | Set up watchdog | ||
You should be able to connect to http://homeassistant.local | |||
Filesystem 1K-blocks Used Available Use% Mounted on | Filesystem 1K-blocks Used Available Use% Mounted on | ||
Line 30: | Line 33: | ||
That's 8GB used in / | That's 8GB used in / | ||
== Watchdog == | |||
On bookworm, the devices already exist (See /dev/watchdog*) | |||
apt install watchdog | |||
vi /etc/watchdog.conf | |||
[[Category: Computers]] | [[Category: Computers]] | ||
[[Category: Raspberry Pi]] | [[Category: Raspberry Pi]] |
Revision as of 05:32, 7 May 2024
Violet is a Raspberry Pi Model 3B+
- 32 GB micro sd
- Nortek USB Zigbee / ZWave adapter
History
- 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