diff py/config.py @ 448:fe729664a5e6

working better. logging works properly, cleanup fridge.off() happens.
author Matt Johnston <matt@ucc.asn.au>
date Sun, 16 Dec 2012 22:14:46 +0800
parents 8fdf86ea41e7
children e114b38c8a55
line wrap: on
line diff
--- a/py/config.py	Sat Dec 15 23:49:08 2012 +0800
+++ b/py/config.py	Sun Dec 16 22:14:46 2012 +0800
@@ -1,17 +1,14 @@
-FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17'
-FRIDGE_SLEEP = 60
-
-FRIDGE_DELAY = 600 # 10 mins
 
-FRIDGE_WORT_INVALID_TIME = 300 # 5 mins
+FRIDGE_SLEEP = 10
+SENSOR_SLEEP = 15
+UPLOAD_SLEEP = 300
 
-SENSOR_SLEEP = 120
-
-UPLOAD_SLEEP = 300
+FRIDGE_DELAY = 3 # 10 mins
+FRIDGE_WORT_INVALID_TIME = 300 # 5 mins
 
 PARAMS_FILE = './tempserver.conf'
 
 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1'
-
-WORT_NAME = 'aa'
+FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17'
+WORT_NAME = '28-0000031abc49'
 FRIDGE_NAME = 'bb'