I’m using openHAB successfully to control my heating with an HRT4-ZW (SRT321) z-wave thermostat. However I’m struggling with returning the battery level:
In HABpanel I can create a widget to display battery level successfully, if I associate it directly with the zwave item ( zwave_device_3de03b5f_node6_battery_level ).
However when I try to create an item (I am using Notepad++ to edit the items file directly) then it always has a NULL value in HABpanel.
Here are the item definitions for the thermostat’s battery level (not working) and setpoint (working fine) and reported temperature (working fine):
Number Main_Thermostat_Target "Target Temperature [%.1f °C]" <temperature> ["TargetTemperature"] { channel="zwave:device:3de03b5f:node6:thermostat_setpoint_heating" }
Number Main_Thermostat_Actual "Actual Temperature [%.1f °C]" <temperature> ["TargetTemperature"] { channel="zwave:device:3de03b5f:node6:sensor_temperature" }
Number Main_Thermostat_Battery "Thermostat Battery" ["ThermostatBattery"] { channel="zwave:device:3de03b5f:node6:battery_level" }
Please can you help me work out what is going wrong?
Thanks,
Philip