bugfix
This commit is contained in:
parent
a012c757de
commit
bbb33519d3
@ -94,7 +94,7 @@ function connectCategoryTemperature(item, ipcon) {
|
|||||||
// Callback function for temperature callback (parameter has unit °C/100)
|
// Callback function for temperature callback (parameter has unit °C/100)
|
||||||
function (temperature) {
|
function (temperature) {
|
||||||
saveValue((temperature/100.0), item);
|
saveValue((temperature/100.0), item);
|
||||||
Log.log('Temperature: ' + temperature/100.0 + ' °C');
|
//Log.log('Temperature: ' + temperature/100.0 + ' °C');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -110,7 +110,7 @@ function connectCategoryHR(item, ipcon) {
|
|||||||
// Callback function for humidity callback (parameter has unit %RH/10)
|
// Callback function for humidity callback (parameter has unit %RH/10)
|
||||||
function (humidity) {
|
function (humidity) {
|
||||||
saveValue((humidity/10.0), item);
|
saveValue((humidity/10.0), item);
|
||||||
Log.log('Humidity: ' + humidity/10.0 + ' ' + item.on.new.value.category);
|
//Log.log('Humidity: ' + humidity/10.0 + ' ' + item.on.new.value.category);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
"type": "web",
|
"type": "web",
|
||||||
"host": "hobu",
|
"host": "hobu",
|
||||||
"port": "2999",
|
"port": "2999",
|
||||||
"category": "%RH",
|
"category": "RH",
|
||||||
"room": 1
|
"room": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user