[Closed] Counter displays alternating right value and zer0
Posted: Thursday 21 October 2021 23:34
Hi!
I am having a Kwh meter with pulse output.(2000 pulses = 1 Kwh).
This output is hooked onto a NodeMcu v3.
The NodeMcu communicates with Domoticz using MQTT @ timeinterval of 60 seconds.
In Domoticz a virtual sensor 'counter' shows the momentairy electrical consumption in Watt's.
There is a strange behaviour of the display. The correct value is displayed every 60 seconds according the NodeMcu interval. But after some time (but within the 60 sec) the counter displays 0.
In the log this 0 value is not seen and thus not disturbing the correct presentation of the graph which still shows the correct value(s).
Is there anybody who recognizes this behaviour and does know a workaround?
TIA
Bart
I am having a Kwh meter with pulse output.(2000 pulses = 1 Kwh).
This output is hooked onto a NodeMcu v3.
The NodeMcu communicates with Domoticz using MQTT @ timeinterval of 60 seconds.
In Domoticz a virtual sensor 'counter' shows the momentairy electrical consumption in Watt's.
There is a strange behaviour of the display. The correct value is displayed every 60 seconds according the NodeMcu interval. But after some time (but within the 60 sec) the counter displays 0.
In the log this 0 value is not seen and thus not disturbing the correct presentation of the graph which still shows the correct value(s).
Is there anybody who recognizes this behaviour and does know a workaround?
TIA
Bart