group_message json example added

This commit is contained in:
Hristo Jelev
2020-05-03 16:41:40 +03:00
parent da342fa416
commit f768e9643a

View File

@@ -49,6 +49,10 @@ memory = False
```
If the ```group_messages``` is set to true the script will send just one message containing all values (I still haven't made the sensor configuration for this - the one below is for separate messages only)
The group message is in json and looks like this:
```
{'used_space': '25', 'sys_clock_speed': '1500', 'cpu_temp': '43.0', 'voltage': '0.8500', 'cpu_load': '1.25', 'memory': 'False', 'swap': 'False'}
```
Test the script.
```bash