Zigate - Aqara Smart Plug power measurement problem
Moderator: leecollings
-
- Posts: 45
- Joined: Saturday 08 April 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Zigate - Aqara Smart Plug power measurement problem
Hi.
Domoticz: 2023.1 (build 15255)
Zigate USB firmware: 3.23
Zigate plugin: 4.11.017
After paring, I got 3 devices:
- Light/Switch
- Power
- Power with kWh
Power do not update until enabling "pollingLumiPower" in plugin.
kWh is OK, but power is one decimal off.
Domoticz device: 6573W actual 657,3W
Domoticz: 2023.1 (build 15255)
Zigate USB firmware: 3.23
Zigate plugin: 4.11.017
After paring, I got 3 devices:
- Light/Switch
- Power
- Power with kWh
Power do not update until enabling "pollingLumiPower" in plugin.
kWh is OK, but power is one decimal off.
Domoticz device: 6573W actual 657,3W
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
please open and issue here https://github.com/zigbeefordomoticz/Do ... .md&title= and kindly provide the requested informations.deve87 wrote: ↑Wednesday 07 June 2023 22:19 Hi.
Domoticz: 2023.1 (build 15255)
Zigate USB firmware: 3.23
Zigate plugin: 4.11.017
After paring, I got 3 devices:
- Light/Switch
- Power
- Power with kWh
Power do not update until enabling "pollingLumiPower" in plugin.
kWh is OK, but power is one decimal off.
Domoticz device: 6573W actual 657,3W
Thanks
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 45
- Joined: Saturday 08 April 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Will do
Thank you
Thank you
-
- Posts: 62
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Latest stable Domotics 2024.4 / Z4D plugin 7.1.008 / RPi 4 Bullseye
I'm even less successful as deve87: I connected the Aqara Smart Plug (lumi.plug.maeu01) on a Conbee II (and as test also on a Sonoff E). Pairing is successful: Switch, energy and power are listed as new devices. The switch functions fine, but the power / energy reading stays at 0 all the time, irrespective of the load connected to the plug.
In the first post, deve87 suggests to enable the power update in the plugin. I do not know where/how to do that.
Can you help me enabling the power/energy reading in the Aqara Smart Plug?
Thanks!
I'm even less successful as deve87: I connected the Aqara Smart Plug (lumi.plug.maeu01) on a Conbee II (and as test also on a Sonoff E). Pairing is successful: Switch, energy and power are listed as new devices. The switch functions fine, but the power / energy reading stays at 0 all the time, irrespective of the load connected to the plug.
In the first post, deve87 suggests to enable the power update in the plugin. I do not know where/how to do that.
Can you help me enabling the power/energy reading in the Aqara Smart Plug?
Thanks!
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
can you share logs ? as well as the List of Devices RAW ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 62
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Thanks for your very fast reply. Attached are the files, I hope these are the correct ones.
So, the Smart Plug is paired successfully, as 3 devices, but energy and power stay zero all the time.
So, the Smart Plug is paired successfully, as 3 devices, but energy and power stay zero all the time.
- Attachments
-
- export.json.txt
- (7.03 KiB) Downloaded 75 times
-
- errors.json.txt
- (169.85 KiB) Downloaded 71 times
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
can you please drop this file under the folder ?
You'll have to unzip it.
then you restart the plugin,
you enable Pairing debug parameter
and you redo the pairing from scratch (make sure that the device is fully removed - no widgets in domoticz and nothing in plugin device management WebUI)
Code: Select all
Conf/Local-Devices
You'll have to unzip it.
then you restart the plugin,
you enable Pairing debug parameter
and you redo the pairing from scratch (make sure that the device is fully removed - no widgets in domoticz and nothing in plugin device management WebUI)
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
would be great if you can tell me where did you buy it ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 62
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Hi pipiche
I did what you asked. I now got 4 (instead of 3) new devices after re-pairing. One is the switch on/off (is fine). And there is a new device 'power' which according to me correctly displays the consumed power. Thank you!
I hope I attached the correct files for you (I don't know where to enable the Pairing debug parameter).
I bought the Aqara smart plug in a shop that is near me (Elektramat https://www.elektramat.nl/aqara-smart-plug-eu-sp-euc01/ ), but you can get these quite popular smart plug in many webshops here in The Netherlands.
Thank you once more for your fast and reply. The power now is correctly displayed. Domoticz can probably display the energy by integrating the power over time.
I did what you asked. I now got 4 (instead of 3) new devices after re-pairing. One is the switch on/off (is fine). And there is a new device 'power' which according to me correctly displays the consumed power. Thank you!
I hope I attached the correct files for you (I don't know where to enable the Pairing debug parameter).
I bought the Aqara smart plug in a shop that is near me (Elektramat https://www.elektramat.nl/aqara-smart-plug-eu-sp-euc01/ ), but you can get these quite popular smart plug in many webshops here in The Netherlands.
Thank you once more for your fast and reply. The power now is correctly displayed. Domoticz can probably display the energy by integrating the power over time.
- Attachments
-
- export.json (2).txt
- (7.4 KiB) Downloaded 67 times
-
- errors.json (2).txt
- (328.27 KiB) Downloaded 58 times
-
- Posts: 62
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
I forgot to tell you: the two other devices (‘current’ and ‘electric’) still stay zero all the time. But I am happy that the new device now correctly displays the power in Watt.
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
I have some fundings available and so purchase one (will always find a usage
I'll fiune tune the integration when receiving the product.
I guess indeed the device do no provide Current. I was expecting some other information, but looks like the device do not report it.
In between you can keep it like that.

I guess indeed the device do no provide Current. I was expecting some other information, but looks like the device do not report it.
In between you can keep it like that.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 62
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Great, thanks. I can now play with the 'power' as reported by the Smart Plug and hope to update later to the fine-tuned version of your Z4D plugin. Thanks again.
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Hi just pushed an update of the config file [4.224] which would required to on a specific plugin branch until I release it
you can simply do :
Unfortunatly you'll have to redo a pairing and remove the existing widget created.(removing the plug from Domoticz and the plugin)
You'll get the following widget information on top of the Switch On/off
you can simply do :
Code: Select all
git pull
git checkout wip-stable7.1.009
sudo python3 -m pip install -r requirements.txt --upgrade
You'll get the following widget information on top of the Switch On/off
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
I'll keep you posted when releasing 7.1.009
And make sure also to remove the previous config file from Conf/Local-Devices otherwise the plugin will always take that one
And make sure also to remove the previous config file from Conf/Local-Devices otherwise the plugin will always take that one
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 62
- Joined: Sunday 14 May 2023 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
Dear pipiche,
Thank you! I just did everything you mentioned in your post. I tried it on my test-system. And now I can switch on/off, read the power and also read the voltage and current. Great job!
I’ll wait until the next release for installing this in my “production” domoticz system. Thanks!
Thank you! I just did everything you mentioned in your post. I tried it on my test-system. And now I can switch on/off, read the power and also read the voltage and current. Great job!
I’ll wait until the next release for installing this in my “production” domoticz system. Thanks!
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate - Aqara Smart Plug power measurement problem
FYI we have release 7.1.009, to switch
And then restart the plugin
Code: Select all
git checkout stable7
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
Who is online
Users browsing this forum: No registered users and 1 guest