diff py/config.py @ 148:b32e5a11a4cb

few updates, seems to run
author Matt Johnston <matt@ucc.asn.au>
date Sat, 15 Dec 2012 23:49:08 +0800
parents 6517ddee3187
children d686b111dab4
line wrap: on
line diff
--- a/py/config.py	Sun Dec 09 20:07:15 2012 +0800
+++ b/py/config.py	Sat Dec 15 23:49:08 2012 +0800
@@ -1,8 +1,17 @@
-FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio5'
+FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17'
 FRIDGE_SLEEP = 60
 
+FRIDGE_DELAY = 600 # 10 mins
+
+FRIDGE_WORT_INVALID_TIME = 300 # 5 mins
+
 SENSOR_SLEEP = 120
 
 UPLOAD_SLEEP = 300
 
-PARAMS_FILE='./tempserver.conf'
+PARAMS_FILE = './tempserver.conf'
+
+SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1'
+
+WORT_NAME = 'aa'
+FRIDGE_NAME = 'bb'