Version to support the reading if the tank is full (BCM GPIO 20 used)

This commit is contained in:
2016-01-25 19:38:21 +01:00
parent ed0173f54d
commit 1f7db8e176
5 changed files with 14 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
GPIO_PIN_DHT = 4 # BCM
SENSORDATA_URL = 'http://tfm.meteor.com/api/sensorData'
GPIO_PIN_TANKFULL = 20 # BCM
GPIO_PIN_VALVE = 21 # BCM
API_BASE_URL = 'http://tfm.meteor.com/api'
CONTROLLER_ID = '120' # every controller must have a different one