aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Common/sensors.py4
-rw-r--r--ticker.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Common/sensors.py b/Common/sensors.py
index 36594d2..b967f45 100644
--- a/Common/sensors.py
+++ b/Common/sensors.py
@@ -5,7 +5,7 @@ Get Environmental Sensor Data.
import External.lnetatmo as lnetatmo
-def get_netatmo_readings(station='Ng58', modules=['Living Room', 'Bedroom']):
+def get_netatmo_readings(home='Ng58', modules=['Living Room', 'Bedroom']):
"""
Get Netatmo Readings.
@@ -46,7 +46,7 @@ def get_netatmo_readings(station='Ng58', modules=['Living Room', 'Bedroom']):
clientSecret = clientSecret, \
username = username, \
password = password)
- devList = lnetatmo.WeatherStationData(authorization, station=station)
+ devList = lnetatmo.WeatherStationData(authorization, home=home)
# Get Data
epochs = {}
diff --git a/ticker.py b/ticker.py
index 6941e96..036f152 100644
--- a/ticker.py
+++ b/ticker.py
@@ -31,7 +31,7 @@ if not args.netatmo and not args.vpn and not args.fs:
# #############################################################################
if args.netatmo:
readings, epochs = \
- sensors.get_netatmo_readings(station='Lv114',\
+ sensors.get_netatmo_readings(home='Lv114',\
modules=['Living Room', \
'Balcony/SW'])