Homebridge plugin


#62

If you install the plugin by “npm install -g homebridge-yeelight”, you don’t have to create that json config file manually, just run “homebridge”, it will work.


#63

But the problem is I can’t run Homebridge now.
So confused.
Which nodeJS version do you recommend


#64

I’m using node 4.2.6 and it works fine.
Did your homebridge fail due to the same error?


#65

Yes still can’t start HOMEBRIDGE
I’ll try node 4.2.6


#66

Any one here can tell me how can i use it with ha-bridge?

i have install it on PI but i do not find a why to do it.

Big Thanks!

MP


#67

@weiwei Since Mi Desk Lamp works with IFTTT, wonder is it possible to make it compatible with HomeKit plugin as well?


#68

Both IFTTT & Echo integration uses cloud-to-cloud solution, while Homebridge uses LAN-based protocol which means the device itself should support some sort of local protocol. As I explained before, Mi Desk Lamp doesn’t open it’s lan interface due to some policy and product strategy.
We also feel very regretful that we can’t provide an absolutely unified solution for all WiFi lights we made.


#69

Thanks for the explanation and sorry to hear this. can only hope Xiaomi change their strategy one day. Nice product, thought.


#70

Thanks! We will try our best to provide best user experiences, any feedback and advices are warmly welcome.


#71

你好。英文我实在看不懂,其实是不是一定要树莓派才能搭建homebridge,windows不行?如果可以我该如何操作,小米路由器之前支持homekit,现在不行了。但是我希望可以将我的yeelight led(white)接入到ios10的homekit,谢谢!


#72

homebride应该是可以跑在windows上的,参考下面这个文章:
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-Windows
装上以后,再安装yeelight插件就好了。

之前说要树莓派,主要是你可以放到家里,一直跑着,如果你有闲置的win机器,那么效果是一样的。


#73

请问,哥们您安装2插件yeelight 和 aqara是怎么写的config.json呢?


#74

怎么申请加入呢?


#75

样机还没做出来,再等等


#76

请教下weiwei,如果用了yeelight和aqara两个一起。是不是config.json设置就用两个{}来设置就行了?


#77

哥们你的问题解决了么,我也遇到同样问题。


#78

参考这个的写法,一个bridge,然后platform
{
“bridge”: {
“name”: “YeeBridge”,
“username”: “18:00:27:40:BC:1B”,
“port”: 51825,
“pin”: “031-45-154”
},

"platforms": [
    {
        "platform" : "yeelight",
        "name" : "yeelight"
    },
    {
       绿米的写到这里
    }
]

}


#79

希望发布更多的设备支持homekit 就是因为这个功能买了好多灯具


#80

Yeelight的设备除了米家台灯都是支持的,你可以去 https://www.yeelight.com/ 看看。
米家台灯我们节后努力一下,看是否能挤出一些资源来支持一下。


#81

可以了,谢谢。