Open mrmadhu opened 7 years ago
Do you mean other Wi-Fi devices? This plugin only works with the ZigBee gateway.
yes other devices like smart plug
i could get the gateway detected and devices like human sensor and door contact sensor detected in homebridge and its able to show the status of each devices but without other devices added there wont be much automation available
Madhu
On Sat, Oct 22, 2016 at 10:42 AM, snOOrz notifications@github.com wrote:
Do you mean other Wi-Fi devices? This plugin only works with the ZigBee gateway.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snOOrz/homebridge-aqara/issues/6#issuecomment-255508222, or mute the thread https://github.com/notifications/unsubscribe-auth/AVyylf3TCK7Wwtl28bnhjXIpwpDyth0Xks5q2ZtUgaJpZM4KdI5v .
Hi
I cant get it to see any devices or gateway... What firmware version are you on? Im on 1.3.0_124.0140
Regards Jan
May I ask for some suggestion about the Xiaomi Wifi smart plug? Which plugin should I use to make it available in homekit?
@intelliarm Use zigbee plugin, and add it into the gateway.
@superkam sorry, but I was asking about the WIFI version of the smart plug, not the zigbee version. The wifi version can work without the xiaomi gateway. Any idea how I can make the wifi smart plug into the homekit app?
@intelliarm did you find anything? i would like to do that as well.
@astrojetson8 I did some research on that, here are some findings.
Despite the fact that the wifi version of the smart plug looks the same as the zigbee version. They are designed by two different companies. zigbee version by Lumi or aqara, wifi version by Chuangmi. So I don't expect this aqara plugin will support the wifi version in the future.
The other finding is that Xiaomi Router(only HD version) actually supports adding the wifi version plug to homekit by installing a "plugin" to the router itself. In this case, the Xiaomi Router acts as the homekit bridge (running hap-nodejs, like what we're doing with Raspberry Pi). This page shows how to make Xiaomi Router be the bridge: http://bbs.xiaomi.cn/t-13154902 (sorry, but only in Chinese)
On that page, I downloaded the plugin (.mpk format, https://pan.baidu.com/s/1i5hpoLv), then tried with 7-zip to unpack it with luck. There you may find the plugin is actually a package including hap-nodejs, configuration files for xiaomi devices and some cryptography libraries.
I was trying to port that Xiaomi Router plugin to a homebridge plugin, but seems the cryptography lib(written in c++) is compiled with node 0.9.x (really old version), and some of the nodejs APIs have changed a lot in newer versions (and homebridge indeed requires newer version of nodejs to run properly). So I end up in rewriting part of the crypto lib using the new nodejs API and could not finish it in my limited spare time yet.
Hope the above may help you if you want to dig into it. Maybe buying the zigbee version is a lot easier than doing all that above... \o-o/
or maybe we should open a new issue specifically for this...
@intelliarm thanks for the very detailed update. i have 6 of wifi version of xiaomi plugs. i don't have home gateway or xiaomi router.
hopefully, someone else can write a new plugin in near future. given that it's almost half price compared to zigbee version, i would have thought it would be lot popular.
maybe we could request this as a future feature?
thanks again for getting back to me!!
@intelliarm check this out: https://github.com/Bluebie/homebridge-miio/
i'm able to discover Human Sensor and door contact switch, but not the other devices like smart mini plug or wireless switch for building rules and automation, is there any way to add these devices as well. thx in advance for any help