This commit is contained in:
Gerrit Linnemann 2016-08-24 20:46:12 +02:00
parent a012c757de
commit bbb33519d3
2 changed files with 3 additions and 3 deletions

View File

@ -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);
} }
); );
} }

View File

@ -32,7 +32,7 @@
"type": "web", "type": "web",
"host": "hobu", "host": "hobu",
"port": "2999", "port": "2999",
"category": "%RH", "category": "RH",
"room": 1 "room": 1
} }
} }