update regarding group messages

This commit is contained in:
Hristo Jelev
2020-05-03 20:14:29 +03:00
parent bab814dd83
commit 2bb75a1be7

View File

@@ -3,7 +3,7 @@ Python script to check the cpu load, cpu temperature, free space, used memory, s
on a Raspberry Pi computer and publish the data to a MQTT broker. on a Raspberry Pi computer and publish the data to a MQTT broker.
I wrote this so I can monitor my raspberries at home with [home assistant](https://www.home-assistant.io/). The script was written and tested on Python 2 but it should work fine on Python 3. I wrote this so I can monitor my raspberries at home with [home assistant](https://www.home-assistant.io/). The script was written and tested on Python 2 but it should work fine on Python 3.
The script if very light, it takes 3 seconds as there are 5 half second sleeps in the code - due to mqtt haveing problems if I shoot the messages with no delay. The script if very light, it takes 3 seconds as there are 5 half second sleeps in the code - due to mqtt haveing problems if I shoot the messages with no delay, this is only if you choose to send the messages separetely, now the script support a group CSV message that don't have this delay.
Each value measured by the script is send via a separate message for easier craetion of home assistant sensors. Each value measured by the script is send via a separate message for easier craetion of home assistant sensors.
@@ -206,5 +206,5 @@ entities:
- entity: sensor.rpi4_memory - entity: sensor.rpi4_memory
``` ```
# To Do # To Do
- add uptime monitoring
- maybe add network trafic monitoring via some third party software (for now I can't find a way to do it without additinal software) - maybe add network trafic monitoring via some third party software (for now I can't find a way to do it without additinal software)