-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Device Support Request] Xiaomi Mija ZB3.0 smart plug ZNCZ04LM (lumi.plug.mmeu01) #2583
Comments
The attributes from cluster FCC0:
And some investigation to find out what they are for:
|
Decoding of manufacturer specific attribute reporting (attribute 0x00F7. cluster FCC0, Endpoint 1, first byte is always the length)
|
How to read ENERGY and POWER(endpoint 15 and 16) from API ? |
As of now, you can't since the device is not supported yet. However, I'm almost done and I just need to amend some data types... |
I have lumi.plug.mmeu01 I was disappointed to find that consumption and history were not working, my question soon be included and maintained? |
I have an open pull request pending for the device. Locally, with the changes I made, it works perfectly from a deconz perspective. How middleware handles the sensor and data is a different question not to be discussed here then. Once integrated, you will see a consumption and a power sensor, providing corresponding data. If you cannot wait, you may want to compile the version from my repo manually. |
Sorry for the stupid question but can you help me because I don't know how to install your code, some instruction would be helpful |
Have a look at the readme of the repo, the steps and requirements are mentioned there. To be abe to get the deconz dev package, check out phoscon.de to see how to add the deconz repository. For compilation, there might be further packages required which you need to install first. |
if i wait will it be integrated into the next official update? |
That's my current assumption. |
Not sure what exactly you mean. Can you elaborate a bit? Consumption is historical data, power is not. |
The thought is that the unit show nothing, amper nor power consumption, but still records a story only when I turn it off and plug it in the electrical |
The Simple Metering cluster, 0x0702, exposes life-time consumption (Current Summation Delivered attribute, 0x0000), and current power (Instantaneous Demand attribute, 0x0400). The REST API plugin exposes these as The Electrical Measurement cluster, 0x0B04, exposes current power (Active Power attribute, 0x050B). The REST API plugin exposes this as The wired Xiaomi switches I've seen report power through the Analog Input cluster on the lower endpoint, and consumption through the Analog Input cluster on the higher endpoint. The lower endpoint should be exposed as ZHAPower, the higher as ZHAConsumption. Eve needs both consumption and power to show history, so Homebridge Hue will compute any missing value from the other. For devices with a ZHAConsumption resource, Homebridge Hue creates the history based on |
Thanks for the explanation. Also i would like to know where in the app i can adjust the price for kwh. |
@Kristian8606 that was not really a language problem ;) The code just got merged. @ebaauw Very true. I've provided an updated code to handle the analog input clusters and consumption and power values are exposed now. Works like a charm locally. |
Settings | General | Energy Cost |
@SwoopX would you view this problem about Xiaomi lumi.plug.mmeu01 |
Thanks. There's indeed some more work required to expose V and A as well. I'll check it out. |
Updated it. If you want, you can compile my repo to test it. |
Great after work, I'll test it immediately. |
Thanks for the lightning reaction! Now this outlet is working as expected. I'll watch it for bugs and report if any. Once again thank you. |
@Kristian8606 Link to your screenshot comment: #2583 (comment) |
That’s the Eve app for Apple’s HomeKit, see https://www.evehome.com/en/eve-app. Use Homebridge and Homebridge Hue to expose the devices connected to deCONZ to HomeKit, see https://github.com/ebaauw/homebridge-hue. |
Thanks, Erik!
…On Mon, Jul 27, 2020 at 7:25 PM Erik Baauw ***@***.***> wrote:
That’s the Eve app for Apple’s HomeKit, see
https://www.evehome.com/en/eve-app. Use Homebridge and Homebridge Hue to
expose the devices connected to deCONZ to HomeKit, see
https://github.com/ebaauw/homebridge-hue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2583 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDHIHYOLOHHNVYE5EJEGOLR5W2ATANCNFSM4LHM3MOA>
.
|
Hi! There is a bit of a problem with my ZNCZ04LM. Is there any solution to this? |
Exactly the same for me |
same for me. I use deconz/phoscon ConBeeII with Jeedom on Raspberry 4 version 2.07.01 as they are new, I don't know if this was working in previous releases. information for the plugs (all are on same sw version): |
Sadly, it's always been like that. I vaguely recall there were some discussions around it but nobody knew a good approach on how to fix this. |
What is the right way to pair this device using Phoscon? I only get the switch entity, no power consumption measurements at all (paired as light)... (using latest stable firmware 26660700, Version 2.07.01 / 8.12.2020) |
Can someone please explain what is the right way to pair this smart plug using Phoscon? Pairing as light it only provides the power switch, no other sensors (power, consumption, temperature etc. missing https://www.zigbee2mqtt.io/devices/ZNCZ04LM.html#xiaomi-zncz04lm / https://zigbee.blakadder.com/Xiaomi_ZNCZ04LM.html) :-( |
Try unpair and pair again. Sometimes my devices have the same bug. |
some time it need some hours to get all informations |
So it doesn't matter how to pair it or is using the search for lights definitely the right way? |
Yes, it is light from Phoscon view point. |
Actually had the same problem. Unwrapped from box, paired and only the light entity showed up with the rest API. It might be that having it on and having an actual consumer while pairing did the trick. |
@framesetter99 Thanks for that great advice, I will test this at the next opportunity. Sounds quite promising! ✌🏼 |
I tested another two hours (!) and paired several times.
This is the best I could get so far - and it´s just CRAP, still almost useless: Updated summary:
+++ Can anyone who managed to successfully pair and integrate this device with deCONZ please post what it SHOULD offer when working fine? +++ I experience some kind of strong limitations and multiple entities for current consumption as shown. As a reference - this is what I expect (another user with a ZNCZ0**2**LM) not using deCONZ: |
Still no progress. Is it me or - sorry for that kind of formulation - is the deCONZ integration of lumi.plug.mmeu01 just crap? I mean I meanwhile spent 5 hours to get two of those devices to work and it´s still impossible (see #4238 (comment)). It really is horrible. What else can I try? Any ideas (@SwoopX)? |
This did the trick for me. Steps the reproduce:
This is anecdotal evidence, worked for me but I really hope it works for anyone else. |
Ha yes, not stupid, make the device make report with the problematic cluster using it, for deconz detect it better. |
Endpoint 15:
Endpoint 16:
The text was updated successfully, but these errors were encountered: