From da342fa4161eb2fa25e03caafbf5234e8454c47d Mon Sep 17 00:00:00 2001 From: Hristo Jelev Date: Sun, 3 May 2020 16:39:45 +0300 Subject: [PATCH] group_message config --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 195c9ca..e9b2a61 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ You can also choose what messages are send and what is the delay between them. This is the default configuration: ``` +group_messages = True sleep_time = 0.5 cpu_load = True cpu_temp = True @@ -47,6 +48,8 @@ swap = False 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) + Test the script. ```bash $ /usr/bin/python /home/pi/scripts/rpi-cpu2mqtt.py