comparison 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
comparison
equal deleted inserted replaced
447:8fdf86ea41e7 448:fe729664a5e6
1 FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17'
2 FRIDGE_SLEEP = 60
3 1
4 FRIDGE_DELAY = 600 # 10 mins 2 FRIDGE_SLEEP = 10
3 SENSOR_SLEEP = 15
4 UPLOAD_SLEEP = 300
5 5
6 FRIDGE_DELAY = 3 # 10 mins
6 FRIDGE_WORT_INVALID_TIME = 300 # 5 mins 7 FRIDGE_WORT_INVALID_TIME = 300 # 5 mins
7
8 SENSOR_SLEEP = 120
9
10 UPLOAD_SLEEP = 300
11 8
12 PARAMS_FILE = './tempserver.conf' 9 PARAMS_FILE = './tempserver.conf'
13 10
14 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1' 11 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1'
15 12 FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17'
16 WORT_NAME = 'aa' 13 WORT_NAME = '28-0000031abc49'
17 FRIDGE_NAME = 'bb' 14 FRIDGE_NAME = 'bb'