Mercurial > templog
comparison py/config.py @ 576:ecec38cbad33
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 | 26f20cee71be |
children | d3ebdb1d6a55 |
comparison
equal
deleted
inserted
replaced
568:8eb16d97ed2b | 576:ecec38cbad33 |
---|---|
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' |