I have the Aeotec garage door opener (ZW062). It comes with a battery-powered tilt sensor and it appears that it has the ability to report via parameter 42 the state of the battery:
1, Value=0x00: battery power is nominal.
2, Value=0x0F: battery power of Sensor is in low battery.
It can also report the external temperature via parameter 45:
Get the environment temperature:
The temperature value contains one decimal point. E.g. If the report value=252, the temperature is 25.2 °C .
Range is 0 to 500 (0 to 50.0 °C ).
Is it at all possible to bring this information into openhab? Am I correct in thinking that the only way to display the battery state and temperature is to update the binding/database? ie there is nothing I can do from my side to read this information because the channels don’t exist?
They may have added features with newer firmware which would mean a new database entry is needed. Please post the xml file created by IH in the zwave directory of userdata.
42 Battery state Configuration report for the battery state of Sensor
43 Play or Pause ringtone Start playing or Stop playing the ringtone
44 Ringtone test volume Set volume for test of ringtone
45 Temperature Get the environment temperature
The documentation link you supplied is for the docs on the OH site. On the new site it is currently only available in a popup. The OH site link is here.
Yes, it’s totally non-standard as the information is supplied through a read-only (I assume!) configuration parameter. It’s not completely unheard of, but it means the binding can’t process it as a battery state. It would need to be added as a config parameter and probably processed in a rule.
Are channels defined though? If not, then it’s not possible to use them easily. If they are not defined, then we’d need to add a channel in each parameter called something like “config_decimal” from memory.
It’s exactly the same as adding any channel - create the channel in the CONFIGURATION command class, and then you just need to add “parameter=xx” in the config box for the channel.
I won’t get the chance to look at this tonight and will be on the road tomorrow so will try and take a look tomorrow night if we have WiFi.