Mercurial > templog
annotate py/config.py @ 450:cea8ec101c6b
lcd works
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 18 Dec 2012 22:20:47 +0800 |
parents | fe729664a5e6 |
children | e114b38c8a55 |
rev | line source |
---|---|
447 | 1 |
448
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
2 FRIDGE_SLEEP = 10 |
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
3 SENSOR_SLEEP = 15 |
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
4 UPLOAD_SLEEP = 300 |
447 | 5 |
448
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
6 FRIDGE_DELAY = 3 # 10 mins |
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
7 FRIDGE_WORT_INVALID_TIME = 300 # 5 mins |
444 | 8 |
447 | 9 PARAMS_FILE = './tempserver.conf' |
10 | |
11 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1' | |
448
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
12 FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17' |
fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
Matt Johnston <matt@ucc.asn.au>
parents:
447
diff
changeset
|
13 WORT_NAME = '28-0000031abc49' |
447 | 14 FRIDGE_NAME = 'bb' |