comparison py/config.py @ 577:c3bad5ceb560

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Nov 2015 22:26:54 +0800
parents ecec38cbad33
children d3ebdb1d6a55
comparison
equal deleted inserted replaced
575:2773400f9d64 577:c3bad5ceb560
10 # 12 hours of "offline" readings stored 10 # 12 hours of "offline" readings stored
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_master2'
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' 20 AMBIENT_NAME = 'missingambient'