2016-01-24 09:15:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
GPIO_PIN_DHT = 4 # BCM
|
2016-02-14 16:34:11 +01:00
|
|
|
SENSORDATA_URL = 'http://tfm.meteor.com/api/v1.0/sensorData'
|
2016-01-25 19:38:21 +01:00
|
|
|
GPIO_PIN_TANKFULL = 20 # BCM
|
2016-03-06 13:33:50 +01:00
|
|
|
GPIO_PIN_OUT_VALVE = 21 # BCM
|
|
|
|
|
GPIO_PIN_IN_VALVE = 18 # BCM
|
2016-02-14 16:34:11 +01:00
|
|
|
API_BASE_URL = 'http://tfm.meteor.com/api/v1.0'
|
2016-01-24 09:15:14 +01:00
|
|
|
CONTROLLER_ID = '120' # every controller must have a different one
|
|
|
|
|
STATE_FILE = '/var/run/controller_state'
|