Violet: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
 
(6 intermediate revisions 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.


Probably has a 32 GB micro sd
* 1 GB RAM
 
* 32 GB micro sd
Was a dev system for a little while then I got [[Tenrec]]. I used to have an SSD hooked up to a USB adapter but moved that to Tenrec.
* Nortek USB Zigbee / ZWave adapter


== History ==
== History ==


* Installed ASL (All Star Linux) and echolink
* 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.
* 02/14/2022 Installed 64-bit Raspian.
* 08/08/2021 Attached the EP-0118 today. Returned it, sheesh.


Go look in Psono for credentials for the ASL page which is at http://violet/
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.
[[Category: Computers]]
[[Category: Raspberry Pi]]
[[Category: Raspberry Pi]]
[[Category: Computers]]

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.