joba-1 / Tasmoticz

Domoticz MQTT autodiscovery plugin for Tasmota devices
MIT License
25 stars 18 forks source link

Another malfunction related to the energy indicator. #45

Open Daro1003 opened 10 months ago

Daro1003 commented 10 months ago

On January 1, I wanted to reset the energy indications with the command EnergyTotal1 0 EnergyTotal2 0 EnergyTotal3 0 and the reset of the indications went very well - the indications were 0.0, but unfortunately, in order for the Tasmota indications to appear in Domoticz, you have to remove the device in Domoticz. When they remove a device in domoticz, its idx changes and then the pointer in daschticz does not work and the next change in daschticz works. When I have several counters, there is some work with changes.

joba-1 commented 10 months ago

sorry, not sure what the actual problem is or what you want tasmoticz to do?

Daro1003 commented 10 months ago

I execute the EnergyTotal 0 command In domoticz you should see an energy reading of 0.00 In order for new readings from the 0.00 energy counter to appear in domoticz, you need to remove the block in domoticz.

Is there anything you can do? I would like to execute EnergyTotal 0 every month but each time I have to delete the Domoticz electricity block.

joba-1 commented 10 months ago

Is there anything you can do?

How a reset to lower values is handled is totally up to domoticz. Maybe that can be influenced somehow, but I don't know.