How to configure electricity meter with ESP easy pulse counter?
Posted: Wednesday 29 September 2021 14:32
I have setup a pulse counter with ESP easy to read the blinks from my electricity meter. After a week this seems to work realiably and I get the same total consumption as the electricity provider is reporting. However, I have a somes challenges.
There was a short blackout on Monday and I guess the pulse counter starts from zero at that point. So I got a huge negative reading to my device in Domoticz for this time. How should I set it up (a setting in Domoticz or device type, or a setting in ESP easy) so that it would only report the increment pulses to previous reading? I would like to use the device type in Domoticz that shows both current consumption and the used power. Must I use an incremental counter (which cannot show both values?) or is there a workaround The other thing is that I have now set the reporting to every ten seconds. This seems to result in a situation that the reported power is quite often zero (although for sure the consumption is something, but the pulses come 1000/kWh so if it is low enough I get it there is no pulses). What I do not understand in why Domoticz shows it as zero even on the 5min graph: Is there any other option than to increase the interval so that I would capture at least one pulse for every time ESP easy reports it forward?
And as a bonus, shift+click does not seem to work for energy usage in the short log to remove incorrect value. Domoticz will ask if I really want to remove it and I click "yes" but it stays there. Shift+click works fine on daily on monthly graphs for energy use.
There was a short blackout on Monday and I guess the pulse counter starts from zero at that point. So I got a huge negative reading to my device in Domoticz for this time. How should I set it up (a setting in Domoticz or device type, or a setting in ESP easy) so that it would only report the increment pulses to previous reading? I would like to use the device type in Domoticz that shows both current consumption and the used power. Must I use an incremental counter (which cannot show both values?) or is there a workaround The other thing is that I have now set the reporting to every ten seconds. This seems to result in a situation that the reported power is quite often zero (although for sure the consumption is something, but the pulses come 1000/kWh so if it is low enough I get it there is no pulses). What I do not understand in why Domoticz shows it as zero even on the 5min graph: Is there any other option than to increase the interval so that I would capture at least one pulse for every time ESP easy reports it forward?
And as a bonus, shift+click does not seem to work for energy usage in the short log to remove incorrect value. Domoticz will ask if I really want to remove it and I click "yes" but it stays there. Shift+click works fine on daily on monthly graphs for energy use.