aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerg_samowzbudnik <uinarf@autistici.org>2021-06-13 10:50:52 +0200
committererg_samowzbudnik <uinarf@autistici.org>2021-06-13 10:50:52 +0200
commitd2bfefcbbab8732d3a81521a3f80ef42b8ba3e85 (patch)
tree41a84ade65ff1a66755ab059b08ec4c03c61ebf7
parent3e4e09748654ee735ef967ce85fbd147c73e206c (diff)
downloadRPGH-d2bfefcbbab8732d3a81521a3f80ef42b8ba3e85.tar.gz
RPGH-d2bfefcbbab8732d3a81521a3f80ef42b8ba3e85.tar.bz2
RPGH-d2bfefcbbab8732d3a81521a3f80ef42b8ba3e85.zip
changed extension of settings_config_parser from .py to .cfg
-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