Counter (Domoticz) displays alternating right value and zer0
Posted: 21 Oct 2021, 23:43
I have post this message on Domoticz forum as well. But since NodeMcu with EspEasy is in between I thought postjng hete as well is good idea.
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
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