Open dabozz88 opened 4 years ago
Your suggestions sound pretty good - and we already have a dependency in the project that is capable of giving us this information. Should be a pretty easy integration to write if someone wants to take a stab at it, otherwise I'll get around to it eventually.
Only thing I would actually not like to include is the version - it doesn't really display a status and also doesn't fit well into the Home Assistant way of doing things. The information is already available for each device in the registry in Home Assistant.
The reason I included version is so that I can know when to update the various nodes that I have running on a pi0w, and not on nodes that can easily auto-update.
I might just make it so that it updates as part of the pi0w's boot, before it starts the service. Not sure if that is the best way, but I'd like to keep it up to date.
You may want to check out this project. It’s a daemon for the raspberry pi and a custom card for display. Send all the details via MQTT.
Currently I am using the Shell integration to get system settings. It might be worthwhile to include some basic system monitoring features into an integration.
Below is my local.yml as of right now.
global: instanceName: Room integrations:
top -bn1 | grep "Cpu(s)" | awk '{print $2+$3+$4+$6+$7+$8+$9}'
cron: ' ' icon: mdi:memory