From f768e9643a9ce71a3a0f9a5d8af3833ac2ab27c2 Mon Sep 17 00:00:00 2001 From: Hristo Jelev Date: Sun, 3 May 2020 16:41:40 +0300 Subject: [PATCH] group_message json example added --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e9b2a61..880f8c6 100644 --- a/README.md +++ b/README.md @@ -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