comparison py/config.py @ 274:c0f903cf8268

w1 master dir moved with my new sensor
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Nov 2015 22:25:02 +0800
parents 20c89630be6c
children d3ebdb1d6a55
comparison
equal deleted inserted replaced
269:50a0e2d7d9e3 274:c0f903cf8268
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'