comparison py/config.py @ 153:0529f3527626

config for sensor IDs
author Matt Johnston <matt@ucc.asn.au>
date Thu, 20 Dec 2012 22:26:18 +0800
parents e114b38c8a55
children 256505f98c4d
comparison
equal deleted inserted replaced
152:102e6602bb2d 153:0529f3527626
8 8
9 PARAMS_FILE = './tempserver.conf' 9 PARAMS_FILE = './tempserver.conf'
10 10
11 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1' 11 SENSOR_BASE_DIR = '/sys/devices/w1_bus_master1'
12 FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17' 12 FRIDGE_GPIO = '/sys/devices/virtual/gpio/gpio17'
13 WORT_NAME = '28-0000031abc49' 13 WORT_NAME = '28-0000042cf4dd'
14 FRIDGE_NAME = 'bb' 14 FRIDGE_NAME = '28-0000042cccc4'
15 AMBIENT_NAME = '28-0000042c6dbb'
15 INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp' 16 INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp'