Closed QHose closed 5 years ago
For the sensors it is easy. Select 'Other' and start the pairing process by pressing the button on the Xiaomi sensor for 4 seconds. It will pair some seconds after that. Do note that in my experience it's a bit hit and miss and you might have to try several times. I've successfully done this with door sensors and temperature sensors.
The Xiaomi lights are WIFI enabled lights, so I don't see how you would connect them to deCONZ (perhaps you found some Zigbee enabled once, but I haven't so far).
I added a couple of Xiaomi door opening sensor. One Aqara, one Mijia version. It worked, but:
Battery status needs up to 1 hour until reported (Xiaomi devices send these reports hourly at least Aqara version).
Whats the modelid of your switch? Not all switches are displayed in the Phoscon App yet.
Added in 16/4/2018, 16:42:52. Still no battery status. How battery will be reported? I have a plugin that "automagically" create battery states, and it worked for Xiaomi battery status.
About the switch, it's the WXKG01LM. With Xiaomi Gateway, I was able to use as a press, long press, double press. How can I use it now?
Should look like this:
About the switch, it's the WXKG01LM. With Xiaomi Gateway, I was able to use as a press, long press, double press. How can I use it now?
Currently only by using the REST-API, later on there will be a switch editor in the Phoscon App where the buttons can be assigned to various actions.
Removing one of them (Aqara version), and readding while keeping connected made the trick (on the Aqara version). After one opening and close, battery was there.
The other one (Mijia version, the round one) still report no battery, version or temperature. Now it's almost two hours, both of them worked correctly with Xiaomi GW. Just refreshed and state looks OK.
Aqara:
Mijia:
GW version:
Thanks, and how do you add the switches? I also like to pair with HomeKit via homebridge hue. A bit nucleaire where to do what for me (the pairing)
There is some big issue with battery status reporting. I added two temperature sensors from Xiaomi (the Mijia version, not the Aqara one with pressure)
I added them yesterday around 7PM. Now after more than 12 hours, still no battery status. How can we fix this issue? I can't drop and readd my sensors when I want a battery report just like that, it can't be trusted! With the official gateway + home assistant, the battery status appears ALWAYS the first time the door sensor change status. After a reboot, a battery or two could be missing... but opening a door, or using a switches, ALWAYS gave me a battery refresh.
But this way, I can't trust at all the battery percentage... It looks like it's refreshing randomly, WHEN it refreshes. The temp sensor doesn't even get a battery status after more than 12 hours.
I think that I am going to return the Raspbee, price is good (comparable to just any gateway) but it doesn't look like it can be trusted for battery status. And for wireless sensors, that's too important to be "random".
For others: You have to add one sensor add at time, press search, reset your sensor with a paperclip (you can turn it, to remove it from the sticker (the plastic with glue), bring it close to the conbee, and wait a couple of secs, then redo for other sensors.
Hi I have also the issue with adding WXKG01LM (mi smart switch or button) to Phoscon app. It is actually connected (I can access it via iobroker) but not visible in the Phoscon GUI. Why or how can I fix it?
Thanks
This switch isn't supported in the Phoscon app yet, since it's almost equal to the newer Xiaomi Aqara version and already supported in the REST-API it will be added to the Phoscon App very soon — including in the new switch editor.
Cool, thanks!
Hi, I`m trying to add the Aqara Water Sensor to the Phoscon App without success. Is says "added", but I can not see it. Can you pls comment if this Sensor is supported or will be in the future ?
The Water sensor is currently not visible in the Phoscon App, only in the via REST-API. With help of further systems like Home Assistant, Homebridge-hue, etc the sensor can be visualized and automated.
I`m running FHEM, can you maybe point me to some more details ? I can see the Sensor there, but only the battery not the "Water value"
Can you provide the output delivered by the REST-API?
It should look like:
{
"config": {
"battery": 100,
"on": true,
"reachable": true,
"temperature": 2700
},
"ep": 1,
"etag": "d777996c63684ab53672acc2108c02ce",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_wleak.aq1",
"name": "Boiler Leak",
"state": {
"lastupdated": "2018-08-14T14:33:55",
"lowbattery": false,
"tampered": false,
"water": false
},
"swversion": "3000-0001",
"type": "ZHAWater",
"uniqueid": "00:15:8d:00:02:33:f2:90-01-0500"
}
Thanks for the example..... The API shows the right value: `{ "config":{ "battery":98, "on":true, "reachable":true, "temperature":2500}, "ep":1, "etag":"8a56513f8b422a256dcdb04e240c9dda", "manufacturername":"LUMI", "modelid":"lumi.sensor_wleak.aq1", "name":"lumi.sensor_wleak.aq1", "state":{"lastupdated":"2018-08-15T09:51:53", "lowbattery":false, "tampered":false, "water":false }, "type":"ZHAWater", "uniqueid":"00:15:8d:00:02:12:f2:9f-01-0500" }
` So looks like I need to work on fhem to get this working. Thank you very much
hello, I hope this is the rigth place:
I try to link the Water sensor from Xiaomi (sensor_wleak.aq1) to zigbee net via deconz Phoscon App or WebApp but nothing, in the gui I see this:
I also used Pstman to search the sensor but I see only the other.
can someone help me?
thanks
Water leak sensors aren't visible in the Phoscon App yet, the issue is on the todo list but will take a few releases.
But in July I had a different version od deCONZ and I was able to saw it and link in Home Assistant.
Now I don't remember what version I had, the actual one is the 2.05.39, so is a problem of actual version?
I also try to see it via Postman (Rest-API) with the following command:
IPconbee:8080/api/TOKEN/sensors
but nothing, I see for example the Xiaomi Temp sensor and the Xiaomi Cube:
},
"5": {
"config": {
"battery": 95,
"on": true,
"reachable": false,
"temperature": 2400
},
"ep": 2,
"etag": "4bad52559b34c1d9a3aeeed36afba702",
"manufacturername": "LUMI",
"mode": 1,
"modelid": "lumi.sensor_cube",
"name": "lumi.sensor_cube",
"state": {
"buttonevent": 7007,
"lastupdated": "2018-10-10T14:39:23"
},
"type": "ZHASwitch",
"uniqueid": "00:15:8d:00:01:03:8d:a4-02-0012"
},
"6": {
"config": {
"battery": 91,
"offset": 0,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "3806fd3f4f9b213cb9356a1c1da99bfc",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_ht",
"name": "Sensore Cameretta",
"state": {
"lastupdated": "2018-10-10T14:19:21",
"temperature": 2294
},
"type": "ZHATemperature",
"uniqueid": "00:15:8d:00:02:0f:f5:fa-01-0402"
but nothing related to the Water sensor.
Any help or suggestion to see it via REST-API?
I'm new of that argument, not expert, is the first time.
thanks.
I fail to add the Xiaomi Aqara Wireless Switch (Double Rocker) - WXKG02LM over here too. I see that it's in the mesh network if I check with deConz Gui but the Phoscon App cannot find them. I'm on deconz-2.05.41-qt5.
I guess we need to collect more model specific data for the various Xiaomi devices and versions. Alone the one button switches are available in three (?) different versions with unique model identifiers and capabilities albeit the switches look identical.
Good place to collect device specific details should be our Wiki, I'll see to create some sub pages for the devices.
Can you please provide the details for WXKG02LM as described here:
https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support
Hi @ebaauw , I can add manually the leak sensor using this config(as example)?
{ "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2700 }, "ep": 1, "etag": "d777996c63684ab53672acc2108c02ce", "manufacturername": "LUMI", "modelid": "lumi.sensor_wleak.aq1", "name": "Boiler Leak", "state": { "lastupdated": "2018-08-14T14:33:55", "lowbattery": false, "tampered": false, "water": false }, "swversion": "3000-0001", "type": "ZHAWater", "uniqueid": "00:15:8d:00:02:33:f2:90-01-0500" }
How can I do it via "Postman"
thanks
I received a new sensor (leak sensor), I'm able to see it via Postman:
"12": {
"config": {
"battery": 100,
"on": true,
"reachable": true,
"temperature": 3000
},
"ep": 1,
"etag": "55affd1df74ffb63edaae0a2d983cb01",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_wleak.aq1",
"name": "lumi.sensor_wleak.aq1",
"state": {
"lastupdated": "2018-10-24T14:09:06",
"lowbattery": false,
"tampered": false,
"water": false
},
"type": "ZHAWater",
"uniqueid": "00:15:8d:00:02:6e:26:33-01-0500"
and also via deCONZ:
Any suggestion?
thanks a lot
hi,
what I found is the most easy solution:
Just use the xiaomi plugin in homebridge, and everything works brilliantly, and less depedencies, and a simplier more robust environment.
homebridge-mi-aqara v0.7.2
config: (make sure you do the uppercasing correctly!!!, see the readme of the plugin)
{
"platform": "MiAqaraPlatform",
"gateways": {
"3434": "kjlkj",
"3434": "456456"
}
}
i run phoscon/deconz in a docker container and can´t add the aqara water leaking sensor. it is supportet in wiki but phoscon can´t find them.
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.
hi all,
I see I can add multiple brands, but xiaomi is not listed in the phoscon app
Also I wondered, sometimes I see people also use the deconz app directly, when to use that versus phoscon?
Setup: new raspberry pi 3b+ with latest deconz
thanks!