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
Great work Ted!
Thanks !
Dear all,
Over the past weeks and months I have been developing the Xiaomi Mi Zigbee app, with a lot of support of @kasteleman, @sprut and the Athom team and a lot of positive feedback from the community...
Due to the limitations of the current ZigBee implementation, the lack of documentation of Xiaomi and the "creative" implementation of the ZigBee protocol, it was a bumpy road which consumed a lot of personal time.
As appreciation for this effort, I received quite some donations and in the spirit of the community development, I've re-invested these donations into buying additional Xiaomi Zigbee modules to further extend the device support of the Xiaomi Zigbee app; where in quite some cases I do not personally use these devices (either due to not fitting our wall boxes or other home automation devices already in place)..
In some cases, I have borrowed several devices from community members, but with the continuous development of the ZigBee core of Homey, I would not be able to provide support for these devices / update and test the driver / app when something in the ZigBee core changes...
In this topic, but also on the app's GitHub issue section, a lot of calls are being made to add support for the remaining Xiaomi ZigBee devices; the Curtain Controller, the smart Lock, the gas and smoke detector... and possible the camera gateway... and I guess many more new devices (like the Aqara wireless switch with Gyro) will follow.
In order to have access to these devices myself, to add support and maintain the app, this would mean an investment of around 470 euro... which is too much from private perspective...
Therefore I would like to call for support of the community to enable adding support for these additional devices by making a paypal contribution.
Based on the feedback received, I would like to set the following sequential goals:
- Add support for the Aqara Curtain Controller (incl. small tracks): 147 euro
- Add support for both the Xiaomi Mijia smoke and gas detector: 50 euro
- Add support for the Aqara smart door lock set: 230 euro
- Investigate if Aqara cam gateway can be used directly with Homey (Zigbee based): 28 euro
Please note that, despite asking for a community contribution, this still remains a personal project in my spare time (next to a full time job) and is depending on also Athom to further implement the ZigBee clusters (already known issue for adding support of the smoke, gas and water leakage detectors)... Trying to add support for these new devices might uncover more issues visible. For these reasons, I will not be able to provide a clear timeline / commitment when support will become available.In the opening post of this topic, and in this topic, I will track the status of these donation / goals.
I explored the option to use Patreon for this (like @swttt uses for homeda.sh), but Patreon depends on monthly contributions and does not support fixed targets.
If for e.g. private reasons, I will not be able to complete or abandon these goals, I will gladly forward these devices to another developer able to continue this app...
Thanks, Ted
aqara cam money sent
Keep up the good work, the Xiaomi devices work great with Homey and your app
Please keep working on the app.
Thanks for all your hard work!
What an overwhelming amount of reactions / donation!
Greatly appreciated, also the kind messages that we accompanying them...
I planned to provide an update today at the end of the day (after 24 hours), but considering the amount of donations already received, I decided to provide an intermediate update.
Basically, the funding for 3 out of the 4 goals has been achieved within a day.
Below table shows the updated state, including contributors making this possible:
1. Add support for the Aqara Curtain Controller (incl. small tracks): 147 euro
funding available, to be ordered
contributors: @Homey_lampje, @EDV, Jahn, @mehta, @Martin_vd_Aart, @phil_s, @eternity, @Aaron, @brtw, @2Be
2. Add support for both the Xiaomi Mijia smoke and gas detector: 50 euro
funding available, to be ordered
contributors: @Homey_lampje, @mehta
3. Add support for the Aqara smart door lock set: 230 229 euro
4. Investigate if Aqara cam gateway can be used directly with Homey (Zigbee based): 28 euro
funding available, to be ordered
contributors: @djesko
Only 1 goal remaining: the Aqara smart door lock set (ZigBee version)
All other devices / materials will be ordered this evening
Just set up an Aqara Wireless Switch - is there any way to have a held state on it (i.e. if button held down dim until it's released?)
though I (personally) would not dare putting that Aqara smart doorlock on my front door just yet.
I would however use this one on the shed or something and with zigbee you could tell homey to unlock the shed before you go out to get your bike (so cool) price-wise its also a bit cheaper ~52 euro it seems
Please note I'm assuming the lock wirelessly unlocks, it's also possible that the zigbee connection only sends a status to the controller.. i just could not find any details on the actual functionality (yet)
-=edit=-
Nevermind, It sounds like its status only, here is some more info for the people that are interested:
Donation done. Would be for the curtain controller but since that is already full, just add me to the Aqara smart door lock.
I already have one on the way for a nice price:
https://nl.aliexpress.com/item/Originele-xiaomi-Mijia-aqara-Smart-deurslot-digitale-Touchscreen-Keyless-Vingerafdruk-Wachtwoord-werk-om-mi-thuis-app/32847345883.html?spm=a2g0s.9042311.0.0.zl04QF
Below table shows the updated state, including contributors making this app development possible:
1. Add support for the Aqara Curtain Controller (incl. small tracks): 147 euro ordered today
contributors: @Homey_lampje, @EDV, Jahn, @mehta, @Martin_vd_Aart, @phil_s, @eternity, @Aaron, @brtw, @2Be
2. Add support for both the Xiaomi Mijia smoke and gas detector: 50 euro ordered today
contributors: @Homey_lampje, @mehta
3. Add support for the Aqara smart door lock set: 183 euro, 103 euro remaining
contributors: @ruudvb, Jan
4. Investigate if Aqara cam gateway can be used directly with Homey (Zigbee based): 28 euro ordered today
contributors: @djesko
Only 1 goal remaining: the Aqara smart door lock set (ZigBee version)
I will need to check if this is possible to add from driver side...
some devices like the Aqara Wireless Remote Switch Single / Double will activate it's inclusion mode when holding the keep (with risk of removal)
Currently not. I'm not even sure if this setting is supported on the Xiaomi gateway's itself...
Anyone who can check this answer?
Have been searching for this one on Ali, but as typically on Ali.... a lot of conflicting statements
It should be this one, but I haven't ordered it myself.
One more question - I think I saw above that you can't set the motion alarm off time on the Human Body Sensor lower than 60s?
Is there a workaround for having something happen quicker?
I am hoping to replace the zwave one I am using for a light in a passthrough area which comes on and goes off after 30s based on Motion Alarm on and Off...
I would not count on it that we are able to fix this (soon)...
Related question, can you tell me how the motion alarm actually works... So, motion turns on motion alarm, if nothing else happens then 60s later motion alarm goes off
However, if motion is then detected again and then detected again after 30 seconds, will the motion alarm be on for 90seconds? Or will it still turn off after 60s and need motion after that time to restart?
I was previously using my Xiaomi temperature/humidity sensors connected directly to a Xiaomi GW and it had very specific updates, such as 0.03c and as often as every 5 seconds if there were major differences in temp/humidity. Now when I have them connected directly to Homey 99% of my updates are at 0.5c. For humidity it only updates if the value has changed more than 4%.
I did a comparison (same day and time frame) between my XiaomiGW+sensors setup and the Homey one, with outdoor sensors on both, and the Xiaomi GW stored 20 values within 18 hours, while Homey only stored 6 values.
Is this an issue with this app or with Homey itself?
I was wondering:
- Is this just how the xiaomi app works?
- Is this because of a bad zigbee mesh network quality?
- Does it only reports/register when a certain change in degrees is meassured?
- The below dots is hue temperature sensor
- The above dots are 3 xiamoi aqara sensors
Below table shows the updated state, including contributors making this app development possible:
1. Add support for the Aqara Curtain Controller (incl. small tracks): 147 euro ordered
contributors: @Homey_lampje, @EDV, Jahn, @mehta, @Martin_vd_Aart, @phil_s, @eternity, @Aaron, @brtw, @2Be
2. Add support for both the Xiaomi Mijia smoke and gas detector: 50 euro ordered
contributors: @Homey_lampje, @mehta
3. Add support for the Aqara smart door lock set: 183 euro, will be ordered on Monday
contributors: @ruudvb, Jan, @sprut
4. Investigate if Aqara cam gateway can be used directly with Homey (Zigbee based): 28 euro ordered
contributors: @djesko
Even the following stretched goals have been achieved:
5. Add support for the Aqara wireless switch with Gyroscope: 13 euro, ordered today
contributors: Toon
6. Investigate if the Aqara Lock core (as pointed out by @techniman) can be used in directly with Homey (Zigbee based / in combination with BLE): 55 euro (including shipping), will be ordered today
contributors: @anjo
All goals have been achieved! Thank you all who contributed!
@rasssta @Brend Current Homey ZigBee implementation has a number of limitations, that currently block to update the attribute reporting parameters...
I will check if, based on the communication between the Xiaomi gateway and the sensor itself, it is possible to optimize the reporting frequency (use the default frequency and threshold)...
I have not discovered this option... also not on the Xiaomi Gateway / app...