-
Notifications
You must be signed in to change notification settings - Fork 510
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
New device support request: Xiaomi Mijia Zigbee 3.0 Smart Home Light Sensor #2380
Comments
Can you please also provide some screenshots of the basic and the power configuration cluster after the attributes have been read? I do see we have a new manufacturer code here. |
Thanks. Have you already checked if the sensors are available via REST API? You may check out this fur further guidance #2373 (comment) Just to highlight this upfront, the sensor will not be visible via Phoscon as it is closed source. |
Hi! If I can see it (like I you can see in the screenshoots above) have I managed to include it or not then? Or is that the issue? |
That's fine then. It tells us that the device indeed isn't supported. Just wanted to doucle check since in the past, device integration was requested although the sensors were there. |
When will this be supported |
I'd expect with version .73. Not sure when DE will release it. |
I've tested it today with .73. I can connect the sensor and see it in REST API. If I press the button on the sensor and manually click "read" on the Illuminance measurement Cluster it is updating the Measured Value. Output from docker deconz: Update: |
I can now connect to the sensor but do not see in the connected sensor list. Any ideas?
Regards
…________________________________
From: LukasA83 <notifications@github.com>
Sent: Tuesday, February 18, 2020 8:46:17 AM
To: dresden-elektronik/deconz-rest-plugin <deconz-rest-plugin@noreply.github.com>
Cc: davidclancy <clancy666@hotmail.co.uk>; Comment <comment@noreply.github.com>
Subject: Re: [dresden-elektronik/deconz-rest-plugin] New device support request: Xiaomi Mijia Zigbee 3.0 Smart Home Light Sensor (#2380)
I've tested it today with .73. I can connect the sensor and see it in REST API. If I press the button on the sensor and manually click "read" on the Illuminance measurement Cluster it is updating the Measured Value.
By forcing an update via the button via any interaction in VNC interface, I see no update of the value. Any configuration issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2380?email_source=notifications&email_token=AC5TXC6YKXCFKXYCZC6MTFLRDLSQTA5CNFSM4KLWODV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL7PSHA#issuecomment-587135260>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC5TXCYGPUAWYNCA3F2IQ5TRDLSQTANCNFSM4KLWODVQ>.
|
Phoscon? If yes, this will probably not happen any time soon since Phoscon is closed source and devices need to be integrated seperately. @LukasA83 Thanks for your feedback. It then looks like the code with regard to binding requires some more tweaking. I'll have a look at it. |
Yes this is using Phoscon via Home Assistant. HA seems to see the sensor but as unknown. although it does not show in the Phoscon list. |
@LukasA83 can you explain more what you did? |
Battery is no reported into rest api, always indicates "null":
|
Already included automatic binding and battery status in a new pull request. |
Still can not see it in Phoscon via Home Assistant |
Have you compiled my repo to check it, or...? And by the way, Phoscon is not deconz. I don't expect the device to show up in Phoscon as it is closed source and we cannot implement anything there. |
I can confirm, that device is working fine: { |
Sounds great, then I guess we're done here. |
works in HA now but still not seen in the Deconz interface in Sensors
On 27/02/2020, at 11:48, SwoopX <notifications@github.com<mailto:notifications@github.com>> wrote:
Sounds great, then I guess we're done here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2380?email_source=notifications&email_token=AC5TXC63ROB4D4LQRFB4K7TRE3WSRA5CNFSM4KLWODV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENCGFLY#issuecomment-591684271>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC5TXCYNP6PGRXCQMU7PFP3RE3WSRANCNFSM4KLWODVQ>.
|
This will not happen unless DE integrates it. Phoscon is closed source. |
If it helps I can also confirm that the device works with HA. I can see it as a device (sensor.lightlevel_4) on HA and doesn't show up on deconz integration as expected, which isn't really a problem anyway. Thanks for adding support :) |
I can also confirm this device works with Openhab 2.4.5 and can be accessed via the Deconz REST API. @SwoopX thanks for adding the support! I don't understand why Dresden won't add this into phoscon. Real values are much better than the built in virtual daylight sensor. |
I've been having some issue with the sensor the last two days. I was working for weeks until two days ago where it stopped syncing with HA. Weirdly however looking at the mesh network it still showed up as connected and with last seen status updating frequently. After attempting to pair again (holding down button) it updated in HA once and hasn't since. |
Anyone got this sensor working in deCONZ? I have tried adding my sensor several times now and that went fine but no data is sent. I am running deCONZ 2.05.77
|
@callebridholm yeah I've had mine working just fine with deCONZ in Home Assistant. Only once it dropped off and had to pair it again. Apart from that it's working fine. |
@callebridholm the binding got probably MIA. You can set it manually, use the How to manually bind and enable attribute reporting on the example of the current position for windows covering devices
|
Hi, |
Wake the device by exposing it to a light source and then darken it. |
Exposed to flash light 5 minutes and then in black box 8 hours but still same problems with binding |
That is indeed strange. Have you also tried to reset and re-pair already? |
Yes! Now I tried to via VNC mark it and then choose "Delete selected nodes". The device is then remove but still visible when executing this command in postman: I then restarted deCONZ plugin but then the Light sensor is back. Is it a better way to completely remove a device in deCONZ? |
Just physically reset the device. There should be a button somewhere which has to be held for like 5 - 15 secs. |
Tried that several times without luck. Today I tried it at our summer house with a Conbee 1 and fw 26330500 and it work directly and updates lux values rapidly. So my problems is probably very old firmware at my Conbee stick at home, It has fw 260B0500 :) |
That might be indeed a valid reason ;) But as you can see, it uses to work. |
As OP's original question has been answered, please open a new issue. |
@callebridholm hi, I've tried your newbie instructions and somewhat got things going but nothing ends up showing in Home Assistant or in Node-Red Deconz integration. I seem to fail to follow your "Select windows covering cluster of your device, double click on 0x0008 (current position)." Is this what you mean? In select windows, it's actually the 0000 box I need to click on? If so, I did try to "write" the interval times etc but it would end up in error. Apologies, this interface is very scary for a casual user. Thanks. |
Last months when I added some of these sensors it work perfect automatically and you can now see the sensors in Phoscon UI |
Hmmm. I'll give it another try tomorrow. I have 40 various devices and I only got it to show in the deconz after pairing in phoscon (while it said phoscon couldn't pair). Strange |
I confirm, this works now in Phoscon. Thanks @callebridholm If using from HASSIO addon - in Home Assistant, go to Supervisor > Deconz |
Hi!
Please add support for this device. :)
Completely covered "Mesured value" is "0".
The text was updated successfully, but these errors were encountered: