ThermoFloor Heatit ZM Relay Single Relay 16A

Hi,

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?

Regards,
Espen

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 ::

          <entry>
            <commandClass>COMMAND_CLASS_METER</commandClass>
            <COMMAND__CLASS__METER>
              <version>3</version>
              <instances>1</instances>
              <control>false</control>
              <versionSupported>3</versionSupported>
              <meterType>ELECTRIC</meterType>
              <meterScales>
                <meterScale>E_KWh</meterScale>
                <meterScale>E_W</meterScale>
              </meterScales>
              <canReset>true</canReset>
              <isGetSupported>true</isGetSupported>
              <isSupportRequestSupported>true</isSupportRequestSupported>
            </COMMAND__CLASS__METER>
          </entry>

In the db, these are the only COMMAND_CLASS_METER configs ::
Github

      <channel id="meter_kwh" typeId="meter_kwh">
        <label>Electric meter (kWh)</label>
        <properties>
          <property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_KWh</property>
        </properties>
      </channel>
      <channel id="meter_watts" typeId="meter_watts">
        <label>Electric meter (watts)</label>
        <properties>
          <property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_W</property>
        </properties>
      </channel>

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>

Regards
Espen

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! :slight_smile: