This relay is in the openHab3 database, but i was looking for e meter reset functionality similar to what i use on my fibaro devices. This is functionality is not listed as a channel in openHab, and it is not listed under COMMAND_CLASS_METER_V3 here :: OpenSmartHouse Z-Wave Device Database
It is also not listed in this documentation:
So i wrote Heatit and asked for a kwh reset option and this is the reply i got from an “Computer electronics technical” representative:
To reset meter you use the Meter command class. Within the Meter CC there is a Meter Reset command.
So, is there a way to test this functionality from openHab to verify that it is actually there?
Go to your zwave folder and open the node XML. Look for the METER CC. Is there one line that says Supports reset<>? If it says yes you can add the reset channel to the DB
So I should be able to just add a config similar to i.e. fibaro wall plug, and it should work? ::
<channel id="meter_reset" typeId="meter_reset">
<label>Reset the total power consumption</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_METER</property>
</properties>
</channel>
Yes that should do it. (In the DB under Endpoints tab, add Channel in the Meter section. You can check the XML after saving & it should look like the Fibaro)
Thanks for the pointers. I got it submitted to the database and it was applied to github repo shorty after. Built a snapshot locally and now it is working great!