From a2091f4b64865bffc70e685915927b35f6a7eda2 Mon Sep 17 00:00:00 2001 From: j-broo Date: Sun, 24 Sep 2023 13:39:42 +0200 Subject: [PATCH] Update config.py.example Add configurable settings for QOS and retain flag. --- src/config.py.example | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/config.py.example b/src/config.py.example index 9986e2e..57e4744 100644 --- a/src/config.py.example +++ b/src/config.py.example @@ -35,4 +35,10 @@ memory = True uptime = True # Enable wifi_signal for unit of measuring % or wifi_signal_dbm for unit of meaning dBm wifi_signal = True -wifi_signal_dbm = False \ No newline at end of file +wifi_signal_dbm = False + +# Retain flag for published topics +retain = True + +# QOS setting for published topics: 0,1,2 are acceptable values +qos = 0