Lidl HG08673 power-plug strange behaviour when receiving data

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Wamor
Posts: 7
Joined: Saturday 23 February 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Lidl HG08673 power-plug strange behaviour when receiving data

Post 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
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
sincze
Posts: 1302
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

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

Post by sincze »

Sorry, bought this one but has no power meter.

https://www.lidl.nl/p/silvercrest-tusse ... p100346198
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Wamor
Posts: 7
Joined: Saturday 23 February 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

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

Post 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
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post by waltervl »

Additional there is a specific topic for zigbee2mqtt plugin: viewtopic.php?t=23607&start=260
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Wamor
Posts: 7
Joined: Saturday 23 February 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

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

Post 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
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest