charts are up
This commit is contained in:
@@ -63,8 +63,10 @@ Api.addRoute('alarm/:id/phonePing', {
|
||||
|
||||
|
||||
reactToSensorData = function(nextSensorReading) {
|
||||
console.log("reacting to sensor");
|
||||
|
||||
var controllerId = nextSensorReading.controllerId;
|
||||
|
||||
console.log("reacting to sensor ", nextSensorReading);
|
||||
var stateObject = stateOrDefault(controllerId);
|
||||
var state = stateObject.state;
|
||||
var config = stateObject.config;
|
||||
@@ -201,8 +203,8 @@ function stateOrDefault(id) {
|
||||
manualInflow: true
|
||||
},
|
||||
features: {
|
||||
start: true,
|
||||
weather: true,
|
||||
start: false,
|
||||
weather: false,
|
||||
surveillance: true,
|
||||
log: true,
|
||||
alarm: true
|
||||
|
||||
Reference in New Issue
Block a user