This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed Official Zigbee SDK2
[App] Xiaomi-mi ZigBee - Main discussion topic (v0.4.1)
This discussion has been closed.
Comments
As mentioned in the readme, as well as in the inclusion information window; the older Xiaomi sensors need to be kept awake during inclusion. Keep pressing the button every 5 seconds until inclusion is successfull.
Some additional notes:
The Aqara human body sensor re-triggers motion alarm every 5 seconds if motion is still present.
Motion alarm cancellation time can be set in the device settings, default at 300 seconds (5 minutes).
The Aqara human body sensor as well as both door/sensors show a battery level indicator as well as an battery alarm icon. Battery reports are not working yet; I kept these icons (capabilities) linked to the devices to prevent re-pairing when we do get the battery reports working...
If there will be too many questions on this, I will remove them and re-add them when battery reporting is working...
Please keep in mind that due to the lack of documentation on Xiaomi's Zigbee implementation, this requires quite some reverse engineering (checking other platform implementations) to get all these devices working...
Thanks! They indeed look quite promising.
@sprut currently has one of these curtain motors, is testing them and is looking into adding a driver for them...
From what I understood, it is quite a nice build quality and noise levels are low...
Xiaomi Smart Home Aqara Human Body Sensor:
The older versions has a pinhole button next to the PIR...
Now it works great with Homey!
It took a few times to get it paired, but after keep pressing the button every 2 seconds (not 5) it worked!
Thanks for this app, great work!
Are the two interchangeable? it's the same model as in comment in the source-code for the device "sens".
Also, let me know if I can send over some logs.
and is therefore not included into the app manifest resulting in an unknown device...
For this device to work, I’m awaiting an required update of the meshdriver from Athom.
Just found this at ali: Xiaomi Mijia aqara Smart door lock ,Digital Touch Screen Keyless Fingerprint+Password. Works on Zigbee. link
Looks quite solid and fingerprint would be perfect. Possible downside, thickness almost 24mm. Not sure if it works with standard European locks.
Anyone possible experiences?
Was hoping that: https://www.banggood.com/New-Arrival-Original-Xiaomi-Mini-Smart-Home-Temperature-and-Humidity-Sensor-White-p-1046061.html?rmmds=myorder&cur_warehouse=CN would work since its the same in the picture when you try to link it in homey.. but looks like it still work in progress.
keep up the good work!
Changelog:
@MarkVanWinden already had the icon prepared
Next update v 0.1.2 will most likely add support for the Temperature / Humidity sensor and Xiaomi Occupancy sensor
Can you check it the switch starts reporting at a closer distance to Homey?
I'm using a 200ms timeout to distinguish between 'Key Pressed 1 time' and 'Key Held' reports... this might be too short to compensate network / distance latency.
Can you check this by changing the triggerCard to the token card and log the output to e.g. SimpleLog?
I also observe some duplicate triggers, which I might need to filter out...
Normally the switch operates from a distance of 12 meters away.
i also changed the cr2032 cell battery to make sure it has enough transmitting power.
UPDATE:
I have changed the card into "A button has been pressed" instead of a scene has been activated "pressed 1x" this made the wireless button work again.
WORKING:
SOMETIMES / NOT WORKING:
Button returning to the scene card with the following options:
1x pressed, 2x pressed 3x pressed or 4x pressed have difficulties to get detected by homey.
The options "Held down" & "Released" did work
when the switch is used within ~5 meters distance of Homey, no latency or duplicate reporting is visible.
When used at a larger distance, I start to see duplicate reports and a delayed response between the press and release reports. Triggering as 'Held down' and 'released' instead of 'pressed 1 time'.
It is possible to further increase the time(out) detection between 'press' and 'release' reports which is distinguishing between 'key held' and 'key pressed 1 time'... but then the action card is still triggered still multiple times due to the duplicate reports...
Let me check how to solve these 2 issues.
Second - I itend to buy som battery driven units of Xiaomi. They can´t do mesh. Is the reach between Homey and PIR, doorsensors from Xiaomi aqara serie good enough? My house is pretty complexed build.
BTW, I'm not a big fan of gearbest; last delivery took 4 months.... I prefer Aliexpress + Banggood
I tested it on the 2nd floor (homey on the ground floor) and it still worked fine!
Think i will order some more of these or the Aqara version, they are nice small and cheap!
Hope the next version of the app will give battery status for them working to.
Today I have ordered a bundle of Zigbee MI devices. Under which a curtain rail and motor for testing.
Since you seem quite busy to me, if you ever find the time to implement the curtain motors I'll be happy to do some testing
Yes, the curtain motor is on the list to be added. @sprut also has one and is looking into creating a driver for it.
Main challenge is that the ZigBee communication protocol as implemented by Xiaomi is not documented.
So part of the work is looking to the communication of these devices with Wireshark and a ZigBee sniffer USB stick..