From b9ebfb1375617223bc24ba408c966419aad368fa Mon Sep 17 00:00:00 2001 From: Hristo Date: Tue, 13 Apr 2021 21:56:48 +0300 Subject: [PATCH] set default discovery_messages = true and group_messages = False --- README.md | 5 +++-- src/config.py.example | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7b28f4e..32a66db 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ This is the default configuration: ``` random_delay = randrange(30) -discovery_messages = False -group_messages = True +discovery_messages = True +group_messages = False sleep_time = 0.5 cpu_load = True cpu_temp = True @@ -223,3 +223,4 @@ entities: ``` # To Do - maybe add network traffic monitoring via some third party software (for now I can't find a way to do it without additional software) +- make it work for Ubuntu diff --git a/src/config.py.example b/src/config.py.example index 451cc5f..cb06be0 100644 --- a/src/config.py.example +++ b/src/config.py.example @@ -10,10 +10,10 @@ mqtt_topic_prefix = "rpi-MQTT-monitor" # Messages configuration # If this is set to True the script will send just one message containing all values -group_messages = True +group_messages = False # If this is set, then the script will send MQTT discovery messages meaning a config less setup in HA. Only works for group_messages being False -discovery_messages = False +discovery_messages = True # Random delay in seconds before measuring the values # - this is used for de-synchronizing message if you run this script on many hosts, set this to 0 for no delay.