Page 1 of 1

Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Tuesday 30 May 2023 20:58
by Wamor
Hello,

I am new to this forum and are using domoticz already for a long time.
I just bought myself some Lidl HG08673 power plugs and are installing them into domoticz.
I can switch on the plug but its status is reported wrong in domoticz.
The plugs are reporting data every couple of seconds or so. I am seeing the following in the domoticz log-file:

2023-05-30 20:50:13.195 (Zigbee2MQTT - 0xa4c1388afa484a5c (Power)) Updating device from 1:'20' to have values 0:'0;380'.
2023-05-30 20:50:13.211 (Zigbee2MQTT - 0xa4c1388afa484a5c (state)) Updating device from 0:'Off' to have values 1:'On'.
2023-05-30 20:50:13.230 (Zigbee2MQTT - 0xa4c1388afa484a5c (Power)) Updating device from 0:'0;380' to have values 1:'20'.
2023-05-30 20:50:13.244 (Zigbee2MQTT - 0xa4c1388afa484a5c (indicator_mode)) Updating device from 1:'20' to have values 1:'20'.
2023-05-30 20:50:13.256 (Zigbee2MQTT - 0xa4c1388afa484a5c (state)) Updating device from 1:'On' to have values 0:'Off'.

It looks to me that the State of the plug is reported as On but after a short time it is reported as Off.
I also see this in the domoticz switches screen that plug symbol is shortly turning to red and then off.
This behavior looks very strange to me. Something similiar happens to the Power reporting.
Does anybody has a clue what is happening here and how to solve this?

Thank you in advance for helping me to figure this out.

Wamor

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Tuesday 30 May 2023 23:24
by waltervl
Do you see the same On/Off behavior in the user interface of Zigbee2mqtt itself?

How do you connect Zigbee2mqtt with Domoticz? With the zigbee2mqtt python plugin or the MQTT Autodiscover gateway?

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Wednesday 31 May 2023 12:30
by sincze
Sorry, bought this one but has no power meter.

https://www.lidl.nl/p/silvercrest-tusse ... p100346198

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Wednesday 31 May 2023 22:29
by Wamor
Hello waltervl,

First of all thank you for taking the time to reply to my question. I am using the zigbee2mqtt python plugin.
Whe I look in the log files I see also the following line received from the zigbee-adapter which is send to mqtt server:

2023-05-31 22:25:45.442 Zigbee2MQTT: (Zigbee2MQTT) MQTT message: zigbee2mqtt/0xa4c1388afa484a5c {'child_lock': 'UNLOCK', 'current': 0, 'energy': 0.38, 'indicator_mode': 'off/on', 'linkquality': 111, 'power': 0, 'power_outage_memory': 'off', 'state': 'ON', 'voltage': 227}

This is received by domoticz i believe and is translated by domoticz to:
2023-05-31 22:25:45.442 (Zigbee2MQTT - 0xa4c1388afa484a5c (Power)) Updating device from 1:'20' to have values 0:'0;380'.
2023-05-31 22:25:45.468 (Zigbee2MQTT - 0xa4c1388afa484a5c (state)) Updating device from 0:'Off' to have values 1:'On'.
2023-05-31 22:25:45.497 (Zigbee2MQTT - 0xa4c1388afa484a5c (Power)) Updating device from 0:'0;380' to have values 1:'20'.
2023-05-31 22:25:45.513 (Zigbee2MQTT - 0xa4c1388afa484a5c (indicator_mode)) Updating device from 1:'20' to have values 1:'20'.
2023-05-31 22:25:45.538 (Zigbee2MQTT - 0xa4c1388afa484a5c (state)) Updating device from 1:'On' to have values 0:'Off'.

It seems to me to be strange that state is first updated to On and than to Off triggered by the mqtt-message.

Regards,

Wamor

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Thursday 01 June 2023 0:42
by waltervl
You can better discuss this on the GitHub repository of the plugin as that is doing these translations.
https://github.com/stas-demydiuk/domoti ... qtt-plugin

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Thursday 01 June 2023 0:45
by waltervl
Additional there is a specific topic for zigbee2mqtt plugin: viewtopic.php?t=23607&start=260

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Friday 02 June 2023 22:01
by Wamor
Hello,

Thank you all for your help.
I have upgraded zigbee2mqtt, domoticz and domoticz-zigbee2mqtt-plugin all to the latest version and now the switch is working ok.

Regards,

Wamor

Re: Lidl HG08673 power-plug strange behaviour when receiving data

Posted: Wednesday 02 August 2023 21:34
by waltervl
militen wrote: Wednesday 02 August 2023 19:01 .......
I am wondering why you undusted this solved topic? What you wrote is not wrong but at the moment not needed. Did you use an AI tool to generate this answer?