From d2bfefcbbab8732d3a81521a3f80ef42b8ba3e85 Mon Sep 17 00:00:00 2001 From: erg_samowzbudnik Date: Sun, 13 Jun 2021 10:50:52 +0200 Subject: changed extension of settings_config_parser from .py to .cfg --- monitor_unified.py | 2 +- settings_config_parser.cfg | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/monitor_unified.py b/monitor_unified.py index c61ab3e..0d9b9dc 100644 --- a/monitor_unified.py +++ b/monitor_unified.py @@ -33,7 +33,7 @@ import pigpio_dht __location__ = os.path.realpath( os.path.join(os.getcwd(), os.path.dirname(__file__))) # here goes our settings file -settings_file = 'settings_config_parser.py' +settings_file = 'settings_config_parser.cfg' settings_db = 'settings_server.cfg' # setting up configparser diff --git a/settings_config_parser.cfg b/settings_config_parser.cfg index a751fcc..f140fc9 100644 --- a/settings_config_parser.cfg +++ b/settings_config_parser.cfg @@ -1,6 +1,6 @@ [temperature] -temp_max = 31 -temp_min = 5 +temp_max = 30 +temp_min = 15 [humidity] humidity_max = 35 @@ -24,6 +24,10 @@ w1_pin = 4 soil_moisture_sensors_number = None [w1_mapping] +sens280417c1e6edff = Inside ground +sens280417c1ebacff = Inside +sens280517c1b25cff = Outside ground +sens280417c1d27aff = Outside [logs] temperature = sensor_logs/temp.dat -- cgit v1.2.3-65-gdbad