#SOLVED# Switching from HA builtin to Zwave2Mqtt reset accumulated power meter value

I just switched to zwave2mqtt (love it so far) but I can’t figure how to replicate one feature from the HA built in Zwave component.

So currently I have an automation that runs every day to reset the total power used with
service zwave.reset_node_meters
But I can’t seem to find how to do something similar with zwave2mqtt

So I’ve found the option in the openzwave code under the meter command class Meter::Reset

But still not sure how to invoke this either with standalone openzwave let alone with openzwave2mqtt

Figured it out, Well at least for the Aeotec ZW095 Home Energy Meter Gen5. So your mileage may very

Looking over my old zwcfg from HA I started to look and match up all the perimeters and notices one called reset that was “Reserved” in the HEM user’s guide. (there is a reset for each of the 3 groups)

TL;DR if you set parameter 33 to true in the group you want to reset it will then clear the accumulated value

For openzwave2Mqtt publish a message to zwave/_CLIENTS/ZWAVE_GATEWAY-zwave/api/setValue/set

with a payload like this
{ "args": [12, 50, 1, 33, true] }

12 = zwave nodeID
50 = Command class (meter)
1 = Group you want to work with
33 = reset parameter
true = do it now!

2 Likes