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
[Closed] Counter displays alternating right value and zer0
Moderator: leecollings
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
[Closed] Counter displays alternating right value and zer0
Last edited by BartSr on Wednesday 08 March 2023 12:59, edited 1 time in total.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Counter displays alternating right value and zer0
Update: the zero value is also seen in the graph.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 5853
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Counter displays alternating right value and zer0
You can check with MQTT Explorer what data is sent. https://mqtt-explorer.com/
What is the exact domoticz counter device type you use (see Domoticz API wiki: https://www.domoticz.com/wiki/Domoticz_ ... .2Fsensors )
What is the exact domoticz counter device type you use (see Domoticz API wiki: https://www.domoticz.com/wiki/Domoticz_ ... .2Fsensors )
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Counter displays alternating right value and zer0
Thanks for your reply.
I installed the MQTT monitor and found that Domoticz receives regular the 0 value. So it seems to be an ESP Easy issue. The counter, referring to your WiKi link is the type as per paragraph 9.12 .
BTW, what a marvelous monitor.
Bart
I installed the MQTT monitor and found that Domoticz receives regular the 0 value. So it seems to be an ESP Easy issue. The counter, referring to your WiKi link is the type as per paragraph 9.12 .
BTW, what a marvelous monitor.
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Counter displays alternating right value and zer0
Problem solved.
I was not aware another NodeMcu was life on my desk (experimental config) publishing these zero values.
Thanks for all help.
Bart
I was not aware another NodeMcu was life on my desk (experimental config) publishing these zero values.
Thanks for all help.
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Who is online
Users browsing this forum: No registered users and 1 guest