I sort of copied your setup with 1 difference: I created a script to reset the meters and let the automation run the script. This way it is also possible to manually reset the meters when needed.
Interesting, I would like to have an automated reset of a Fibaro plug at midnight every day to measure the daily consumption how would I do this? Your help would be much appreciated!
Thanks for pointing me in the right direction, after reading a lot and trial end error figured it out! This is for a Fibaro plug with, in my case, node number 48…
i know this is an old thread, but do i still need theis for energy reset on fibaro wall plug?
i also get error message Message malformed: extra keys not allowed @ data[‘0’] when trying this in yaml editor in automation (newly started with HA), any pointers?
Hey Trouble-51! I have a Fibaro Wall-Plug as well and want to reset its power consumption from Home Assistant. When I try your version I get the following error:
Unexpected value for condition: ‘’. Expected and, device, not, numeric_state, or, state, sun, template, time, trigger, zone, a list of conditions or a valid template @ data[0]
So I believe, I need to delete the line condition: []. However, if I do that, I get another error saying
After some trial and error, I made it. Try these steps and tell me if they worked for you:
find out entity ID of your device (e.g. start a new script from template, toggle YAML mode and copy the entity ID)
remove all content from the YAML editor
paste the snippet below
alias: Reset my meter # name if however you want
service: zwave_js.reset_meter
target:
entity_id: switch.metered_wall_plug_switch # replace with your entity_id