Homebridge plugin


#22

你这效率,太高了,赞你


#23

Thanks again for the quick respone. WeiWei.

New version works great. (now I don’t have to mod code manually).
Can’t wait for 110V version of color to release soon now. :slight_smile:


#24

更新以后,我重新添加,yeelight还是没有设备ID标识,不知道是我自己的问题还是什么问题?


#25

question!
how to turn on dev mode?
Using iOS app


#26

这个只在第一次添加设备的时候有效。只要添加过,设备就会被缓存到文件系统,下次就不会显示。你可以这样试验一下:停掉homebridge服务,然后清理 ~/.homebridge/accessory 和 ~/.homebridge/persistent 下面的文件。


#27

请教下,我用的树莓派,aqara的测试ok, yeelight的怎么都弄不好,不知道哪里需要特殊设置
看您上面的描述,第二步开启设备的开发模式,这个是在哪里打开的了?
另外我的配置文件这样写的 不知道有没有问题,请帮我看看。
{
“bridge”: {
“name”: “YeeBridge”,
“username”: “F0:B4:29:B7:B5:E5”,
“port”: 51825,
“pin”: “031-45-150”
},

"platforms": [
    {
        "platform" : "yeelight",
        "name" : "yeelight"
    }
]

}

其中username是灯的MAC地址。


#28

用Yeelight独立app,去各大应用市场搜索“Yeelight"进行下载安装。然后设置里面有“极客模式”,打开以后就能看到了。


#29

Please search and download “Yeelight” application. We didn’t put that option in MiHome application.


#30

Thanks for your immediately prompt


#31

话说可以直接支持苹果的Home么,毕竟虽然我会一点点编程,但也不是很懂这些操作,更何况更多人是完全不会的。。。如果直接用苹果的HomeKit不是免去广大的用户不断调试的困惑了么。:confounded:

In English, could you guys really develop the yeelight app on the iOS compatible with HomeKit, which will help users avoid a lot of trails and fails.


#32

这一代灯确定无法直接支持Homekit,因为里面没有苹果的加密芯片。正式支持Homekit的灯泡我们正在开发,应该会在近期推出。

Current products can’t support Homekit directly and officially because there is no MFi authentication chip equipped. We are developing Homekit version, so please stay tuned :slight_smile:


#33

Thanks for your fast reply! I gonna try other not-lamp product to relieve my need for apple home supporting devices. Expect to enjoy the new Yeelight product as soon as possible~


#34

如果你的 RPi + Aqara 執行正常,表示 Homebridge 正常。要加入 Yeelight,只要加入第二段即可,第一段的 Bridge 部份應該是不用加的。


#35

weiwei,感谢你增加了灯泡ID显示功能,不过,现在我又发现之前和你提的关于状态同步问题,我现在又没法同步灯状态了,麻烦你看下是不是这个情况,谢谢。


#36

刚刚已经更新,这个问题是上次修复“=》”函数时候带入的,不好意思。请用npm install -g homebridge-yeelight下载最新的插件。


#37

嗯,现在同步正常了,多谢。


#38

Hi, if I type in terminal “sudo systemctl status homebridge.service -l” then this is the response " Nov 11 09:41:17 raspberrypi homebridge[9378]: already in device list!
Nov 11 09:41:20 raspberrypi homebridge[9378]: already in device list!
Nov 11 09:41:23 raspberrypi homebridge[9378]: already in device list!"
Before Installation of the plugin all was ok… Where could be the issue?


#39

Hello

I have my new yeelights being shipped at the moment.
I have already set up my raspberry. I also have a xiaomi gateway coming.
Is it ok if I create a json file like this?

{
“bridge”: {
“name”: “Homebridge”,
“username”: “CC:22:3D:E3:CE:30”,
“port”: 51826,
“pin”: “987-65-432”
},
“platforms”: [
{
“platform”: “AqaraPlatform”,
“sid”: [“6409802da3b3”, “f0b4299a5b2b”, “f0b4299a77dd”],
“password”: [“02i44k56zrgg578b”, “g250s2vtne8q9qhv”, “syu3oasva3uqd5qd”]
}]
}

{
“bridge”: {
“name”: “YeeBridge”,
“username”: “18:00:27:40:BC:1B”,
“port”: 51825,
“pin”: “031-45-154”
},

"platforms": [
    {
        "platform" : "yeelight",
        "name" : "yeelight"
    }
]

}


#40

It’s just some normal logging of the plugin. If that bothers you, you can search “yee.js” and “index.js” installed by this plugin and edited it manually, remove all the “console.log” or “this.log” function call.


#41

I think you only have to install the corresponding plugin (npm install -g homebridge-yeelight) and then restart homebridge service, this configuration file is not mandatory per my understanding. If you met some trouble, then you can post it here and we will take a look.