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