Violet: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Violet is a Raspberry Pi Model 3B+
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
* 32 GB micro sd
* Nortek USB Zigbee / ZWave adapter
* Nortek USB Zigbee / ZWave adapter
Line 6: Line 7:
== History ==
== History ==


* 2024-05-07 Setting up Watchdog.
* 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.
* 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.
* 2023-12-23 Install Debian Bookworm (12) and Docker and Home Assistant. Used 8GB of space
* 02/14/2022 Installed 64-bit Raspian.
* 02/14/2022 Installed 64-bit Raspian.


Line 27: Line 28:
  Set up watchdog
  Set up watchdog
  You should be able to connect to http://homeassistant.local
  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 ==
== Watchdog ==
Line 41: Line 35:
  apt install watchdog
  apt install watchdog
  vi /etc/watchdog.conf
  vi /etc/watchdog.conf
 
I want to be notified if the watchdog causes reboots.
[[Category: Computers]]
[[Category: Computers]]
[[Category: Raspberry Pi]]
[[Category: Raspberry Pi]]

Latest revision as of 05:45, 7 May 2024

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.