Mercurial > templog
view py/config.py @ 456:3db3665af2e2
reload config on SIGHUP
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 03 Jan 2013 20:12:07 +0800 |
parents | 25bdf95f0e29 |
children | 256505f98c4d |
line wrap: on
line source
FRIDGE_SLEEP = 10 SENSOR_SLEEP = 15 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' FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17' WORT_NAME = '28-0000042cf4dd' FRIDGE_NAME = '28-0000042cccc4' AMBIENT_NAME = '28-0000042c6dbb' INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp'