-
Notifications
You must be signed in to change notification settings - Fork 518
How do I add the Xiaomi Leak Sensor? #828
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
Comments
The leak sensor is currently only visible in the REST-API. |
Is there a reliable to pair the sensor? I couldn’t find one |
For most Xiaomi sensors, while sensor search is running, you need to press a button until a LED flashes. |
Did you made any progress? I have the same problem, cant pair my new ones and other ppl have the same problem #822 (comment) |
Nope, can't get it to pair. I tried everything I could find |
Note that you need to squeeze the sensor quite hard for pressing the reset "button". It took me some time to figure that out. Even then, Xiaomi devices are notoriously difficult to pair. Try the following:
|
I have the same problem. @ebaauw your solution didn't work. Other sensors from aqara are working fine. |
No node in the GUI? Did you check the sensor’s battery? How many end devices are already connected to the RaspBee/ConBee? What version of deCONZ and what firmware are you using? |
i'm not using the GUI. Only PWA. A few months back i paired this sensor. Last week i deleted it by accident but now i cannot pair it anymore. Battery is OK just to be sure i places a new battery. Raspbee |
I have exactly the same setup. |
You didn't try my solution. |
I have the same problem, the sensor water leak appear in the deCONZ as node 0x6666, but I'm not able to see it in the GUI of PHOSCOM and also I'm not able to find it with Postman application. |
This doesn't look right, 0x1135 is the manufacturer code of dresden elektronik. Did you pair it via Phoscon App and the solution described by @ebaauw ? |
I guess the wrong node descriptor is just a glitch in the deCONZ gui (I need to check how this could happen). To refresh node descriptor or power descriptor manually — since deCONZ 2.05.42 the not so pretty buttons in the node config dropdown can be used to query the descriptors. Note: it best works to press the button and then wake up the device within the next 7 seconds (afterwards most routers including RaspBee/ConBee will drop the message if the end device didn't poll). |
Cool, finally being able to read the power descriptor! And the GUI once again displays the battery symbol after doing so! |
Yep but be aware it's often implemented poorly, I did some tests which I'll put in the Wiki soon. Ikea end-devices for example claim that they are mains powered :) |
Looks like the battery symbol always shows full capacity? |
Could be, the Climax sensors for example always show 66%, I don't really trust the power descriptor as battery state indicator, it might work for some devices, but we need more data to verify. I think the power configuration cluster and IAS Zone state are the most reliable sources for battery state. |
So you mean that with the version 2.05.42 I should be able to view correctly the leak sensor? |
I don't know if anyone here got the same issues but my sensors sometimes detect a leak around the same time and they keep showing as "wet" until I pick them up, put them under water and then dry them up. It takes a couple of weeks for that to happen. I updated to the latest version of ConBee (both adapter and app) to see if that will stop happening. |
Hi @ebaauw, I have had all three added earlier but now I only get one to get connected. When I use Postman to check I can only find that one and not the other ones. I am using the phoscon app and do not have the deCONZ GUI available. Since I have the uniqueId for the other two I tried to POST-request them using Postman but only get an error message: [ My POST request looks like this: ConBee stick: (Edit: upgrade the stick to the above version but still not success) Do you have any suggestions? |
I have the same problem - can't add Xiaomi Leak Sensor. I already have 2 of them paired while ago (3rd went crazy reporting false leaks). The only relevant message that shows up in deconz logs during pairing process is: |
I tried your steps suggestion but i fail, i'm not able |
I'm have exact same problem trying to pair my water sensor 20:52:26:882 [3.1] get IAS Zone type for 0x00158d0002349a7c |
@theGurk, you can only add CLIP sensors through the API. If the sensor was previously connected, you might be able to restore the resource by changing the deleted status in the database, if it’s still there. Be sure to shutdown deCONZ and make a backup. @box99h if the sensors show in the GUI, you’re almost there. Just search for new devices in Phoscon, and re-read the Basic cluster from the GUI, while pressing/squeezing the sensor to wake it. @bloody2k , @eryckm , if the sensor is giving false reports, best check the battery. These devices behave funny under low battery. @ALL, it’s really tricky to get these paired, and without the deCONZ GUI you’re flying blind. The REST API will only create the resource, when: If you see the IAS zone message, you know the sensor has joined the network, but not whether the data has been read. Without the GUI there’s no way to force reading the data, so your only hope is to reset the sensor and try again, hoping this time it remains awake and keeps polling its parent while the REST API tries to get the data. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I can't add this sensor in the Phoscon App.
The text was updated successfully, but these errors were encountered: