comparison py/config.py @ 266:20c89630be6c

emergency change sensor config add --nowait. make only look for 28- devices (ds18b20)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 05 Jul 2015 00:44:05 +0800
parents 205809a8872f
children c0f903cf8268
comparison
equal deleted inserted replaced
265:78c542f03030 266:20c89630be6c
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_PIN = 17 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 AMBIENT_NAME = 'missingambient'
21 FRIDGE_NAME = 'missingfridge'
22 WORT_NAME = '28-0000042cccc4' # was fridge
20 INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp' 23 INTERNAL_TEMPERATURE = '/sys/class/thermal/thermal_zone0/temp'
21 24
22 HMAC_KEY = "a key" 25 HMAC_KEY = "a key"
23 SERVER_URL = 'https://evil.ucc.asn.au/~matt/templog' 26 SERVER_URL = 'https://evil.ucc.asn.au/~matt/templog'
24 UPDATE_URL = "%s/update" % SERVER_URL 27 UPDATE_URL = "%s/update" % SERVER_URL