I have a ton of Raspberry Pis around the house and in my server room. In fact, some of those run NUT servers which I can hook into via Home Assistant to monitor my UPSs. Seeing my NUT servers in one place is why I started using Home Assistant just a few weeks ago now.
My problem is I have no way to manage, update, and maintain all these Raspberry Pis. It takes forever to SSH into all of them and run updates.
Is there a hands-off way of doing this through Home Assistant automations? Then I could have a dashboard that tells me each machine’s CPU, RAM, uptime, current OS version, etc. I could even add a manual “upgrade” button if I wanted.
I just took a quick glance through the documentation for HASS.Agent and it seems to be a WINDOWS-specific client. I.e., you can install it on your Windows PC and remotely control/monitor your windows PC(s) from Home Assistant.
So while I think it can do some of the types of functions we’ve wished for it can only do them for a windows computer, not a Raspberry PI.
HASS Agent is for Windows, but there are a number of agents for Linux you could look into.
IoTuring is Python so runs on Linux, Windows, and Mac and has been updated fairly recently;
system-mqtt is like System Bridge but runs as a service on your non-HA servers and uses MQTT auto-discovery topics;
hass-sysmon can be installed as a linux service and interestingly POSTs to HA’s MQTT web service so I suspect it is very low overhead;
If (like me) you already happen to be running Telegraf agent, Telegraf2Hassio is a docker container that converts Telegraf’s metrics into discoverable HA sensors using MQTT. If you prefer collectd agent there is an MQTT plugin for that but I think you need to define your own sensors (no autodiscovery).
Or for an agentless approach, check out the SSH integration available in HACS. While this option could run your updater, you can also look into installing the “unattended-upgrades” package in Raspbian.