aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monitor_unified.py2
-rw-r--r--settings_config_parser.cfg8
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