comparison py/config.py @ 228:d9e81a563923

porting to asyncio
author Matt Johnston <matt@ucc.asn.au>
date Fri, 20 Mar 2015 20:12:25 +0800
parents 251524081924
children 0a1b642e3086
comparison
equal deleted inserted replaced
227:efb5cad2e98b 228:d9e81a563923
11 MAX_READINGS = 12*60*60 / SENSOR_SLEEP 11 MAX_READINGS = 12*60*60 / SENSOR_SLEEP
12 12
13 PARAMS_FILE = os.path.join(os.path.dirname(__file__), 'tempserver.conf') 13 PARAMS_FILE = os.path.join(os.path.dirname(__file__), 'tempserver.conf')
14 14
15 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1' 15 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1'
16 FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17' 16 FRIDGE_GPIO_PIN = 17
17 WORT_NAME = '28-0000042cf4dd' 17 WORT_NAME = '28-0000042cf4dd'
18 FRIDGE_NAME = '28-0000042cccc4' 18 FRIDGE_NAME = '28-0000042cccc4'
19 AMBIENT_NAME = '28-0000042c6dbb' 19 AMBIENT_NAME = '28-0000042c6dbb'
20 INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp' 20 INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp'
21 21