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

@@ -11,6 +11,7 @@ Api.addRoute('sensorData', {
SensorData.insert({
temperatureValue: parseFloat(this.bodyParams.temperatureValue),
humidityValue: parseFloat(this.bodyParams.humidityValue),
tankFull: this.bodyParams.tankFull,
owner: this.bodyParams.owner,
created_at: new Date()
});