set default discovery_messages = true and group_messages = False

This commit is contained in:
Hristo
2021-04-13 21:56:48 +03:00
parent 2c79f736fd
commit b9ebfb1375
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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.