Hi,
just started with OpenHAB and all going well so far apart from one issue. I have the above universal sensor. Binary switches are working fine, and I have connected 2 Dallas 18B20 sensors attached for temperature monitoring. They are working Ok in that they show rises and falls in temperature, but the values are high. Reading the datasheet for the 18B20 it appears that they are set to 11-bit resolution, as when I multiply the displayed values by 0.0125, I get the real values in centigrade.
Item entry looks like this:
Number Temperature_FF_Bed1 "Temperature [%.1f °C]" <temperature> (Temperature,FF_Bed) {zwave="8:3:command=sensor_multilevel,sensor_type=1,sensor_scale=0"}
debug log shows:
16:50:43.757 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 8: Application Command Request (ALIVE:PROTOINFO)
16:50:43.827 [DEBUG] [ApplicationCommandMessageClass:56 ] - NODE 8: Incoming command class MULTI_INSTANCE
16:50:43.880 [DEBUG] [ZWaveMultiInstanceCommandClass:145 ] - NODE 8: Received Multi-instance/Multi-channel Request
16:50:43.947 [DEBUG] [ZWaveMultiInstanceCommandClass:451 ] - NODE 8: Requested Command Class = SENSOR_MULTILEVEL (0x31)
16:50:44.031 [DEBUG] [ZWaveMultiInstanceCommandClass:471 ] - NODE 8: Endpoint = 3, calling handleApplicationCommandRequest.
16:50:44.121 [DEBUG] [veMultiLevelSensorCommandClass:97 ] - NODE 8: Received Sensor Multi Level Request
16:50:44.181 [DEBUG] [veMultiLevelSensorCommandClass:131 ] - NODE 8: Sensor Multi Level REPORT received
16:50:44.260 [DEBUG] [veMultiLevelSensorCommandClass:141 ] - NODE 8: Sensor Type = Temperature(1), Scale = 0
16:50:44.324 [DEBUG] [veMultiLevelSensorCommandClass:150 ] - NODE 8: Sensor Value = 232
16:50:44.431 [DEBUG] [b.z.i.protocol.ZWaveController:682 ] - Notifying event listeners: ZWaveMultiLevelSensorValueEvent
16:50:44.528 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
16:50:44.581 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 8: Got a value event from Z-Wave network, endpoint = 3, command class = SENSOR_MULTILEVEL, value = 232
232 * 0.125 = 29C which is the correct temp
How do I get the real value displayed? Am I doing something wrong?
Any help gratefully received.
Graham