Not working Energy counter for Xiaomi smart socket on Zigate

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
pfloryann
Posts: 205
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: BlooeSky
Contact:

Not working Energy counter for Xiaomi smart socket on Zigate

Post by pfloryann »

Live energy it's working on Xiaomi smart socket...but do not working Energy Counter...it is remain 0 KW.

In attached image Counter is with red circle, same device with yellow and live energy with green
Attachments
domoticz.jpg
domoticz.jpg (180.08 KiB) Viewed 999 times
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

Could you please provide the plugin version you are using ?

I'll have a look this evening at home where I have a Salus plug and a Xiaomi smartplug and are working correctly.
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

@pfloryann , thanks a lot for reporting that issue.

I've created an issue on Github https://github.com/sasu-drooz/Domoticz- ... issues/322

And it is now fixed.

If you update the plugin to Version 4.0.7 it should be back to normal

Just let me know
pfloryann
Posts: 205
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: BlooeSky
Contact:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pfloryann »

Yes is working now after plugin update. Thank you!
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5
pfloryann
Posts: 205
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: BlooeSky
Contact:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pfloryann »

I tested today Energy counter...but the counter is not correct in Utility page...but in device log is correct energy counter. Please check
Attachments
domoticz2.jpg
domoticz2.jpg (210.21 KiB) Viewed 962 times
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

version of Domoticz ? I'm on beta V4.10355 and have similar issue with an other Plug from Salus
pfloryann
Posts: 205
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: BlooeSky
Contact:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pfloryann »

I use 4.9700
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

Could you kindly open an issue on GitHub ?
We can track it: https://github.com/sasu-drooz/Domoticz-Zigate/issues
pfloryann
Posts: 205
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: BlooeSky
Contact:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pfloryann »

I created now on github
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

Thanks!
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

If you can test the latest version o fthe plugin against the beta branch ( git checkout beta) , I would be interested to have your feedbacks
pfloryann
Posts: 205
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: BlooeSky
Contact:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pfloryann »

pipiche wrote: Friday 18 January 2019 13:20 If you can test the latest version o fthe plugin against the beta branch ( git checkout beta) , I would be interested to have your feedbacks
I have tested with the beta version of plugin and with domoticz 4.1 and data counter is wrong, the counter show live energy does not calculate total consumption and in device log he storing the highest level power used.
Attachments
domoticz3.jpg
domoticz3.jpg (307.7 KiB) Viewed 915 times
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5
pipiche
Posts: 2027
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:

Re: Not working Energy counter for Xiaomi smart socket on Zigate

Post by pipiche »

Please could you check with Domoticz forum if it is not the expected behaviour as we are not doing anything fancy in the plugin except providing the instant consumption.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest