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?
I think this might work.
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, promising …
In the node.xml ::
In the db, these are the only COMMAND_CLASS_METER configs ::
<channel id="meter_kwh" typeId="meter_kwh">
<label>Electric meter (kWh)</label>
<channel id="meter_watts" typeId="meter_watts">
<label>Electric meter (watts)</label>
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>
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!