Trying to play around with the Tasmota commands.
I want each month to reset the power useage figures back to 0.
I can do it manually but does anyone have an example of how to properly write the code for an automation to send the “energyreset1 0” command?
Just unsure…
This will be true on each 1st day of a month. The action triggered is your command to send.
Just be sure the other trigger’ criterias meet only once, so you won’t end up with continuous firing. I.e. check the power usage is > 0.
Thanks mate. I’m away from home at the moment and can’t get into samba but I do have the trigger if the day equals the first.
Actually reading now I think similar to what you have there but just for the trigger.