Install Home Assistant on Raspberry Pi
https://www.home-assistant.io/installation/raspberrypi/
# Install rpi-imager sudo apt install rpi-imager # Create Homeassistant SD-Card # Other specific-purpose OS > Home assistants and home Automation > Home Assistant OS # Connect to HA http://YOUR_HOME_ASSISTANT_IP:8123/ # Create Home Assistant account # Install SSH plugin in Add-on-Store http://YOUR_HOME_ASSISTANT_IP:8123/hassio/addon/core_ssh/info # Open SSH Web CLI http://YOUR_HOME_ASSISTANT_IP:8123/hassio/ingress/core_ssh # get wifi data from workstation WIFI_SSID="$(nmcli dev wifi show-password | grep SSID | cut -d' ' -f2-)" WIFI_PASS="$(nmcli dev wifi show-password | grep Pass | cut -d' ' -f2-)" echo ha network update wlan0 \ --ipv4-method auto \ --wifi-auth wpa-psk \ --wifi-mode infrastructure \ --wifi-ssid \'${WIFI_SSID}\' \ --wifi-psk \'${WIFI_PASS}\' # paste output to SSH online console # debug ha network info
Enable SSH key to hypervisor (Raspberry Pi)
https://community.home-assistant.io/t/howto-how-to-access-the-home-assistant-os-host-itself-over-ssh/263352/6
#@homeassistant online console curl https://github.com/foo.keys >> /root/authorized_keys systemctl enable --now dropbear ssh root@YOUR_HOME_ASSISTANT_IP -p 22222