homebridge-re-yeelight-ble
v0.0.6
Published
Mi Yeelight BLE plugin for homebridge: https://github.com/nfarina/homebridge
Downloads
5
Readme
homebridge-re-yeelight-ble
Yeelight BLE plugin for homebridge(Rewrited)
Thanks for nfarina(the author of homebridge), all other developer and testers.
欢迎加入我们的QQ群 545171648 讨论
QQ Group:545171648
Telegram Group: https://t.me/joinchat/EujYfA-JKSwpRlXURD1t6g
Supported Types
1.BedsideLamp
Installation
- Install HomeBridge, please follow it's README.
If you are using Raspberry Pi, please read Running-HomeBridge-on-a-Raspberry-Pi.
如果你能阅读中文,你可以阅读 homekit非官方安装指南. - Make sure you can see HomeBridge in your iOS devices, if not, please go back to step 1.
- Install packages.
- Install Plugin.
Install packages
sudo apt-get install libbluetooth-dev libudev-dev
Go to your node_modules folder
(You can find it by using bynpm -g root
)npm install noble
sudo apt-get install libcap2-bin
Run following command:
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
- Run following command:
sudo hciconfig hci0 up
Then start homebridge
Wait until you get output.
If you found output like this:
[ReYeelight][BLE]Timer Started
You can be sure that noble and bluetooth has no problem and the plugin is running properly
Configuration
"platforms": [
{
"platform": "ReYeelightBLEPlatform",
"defaultValue": {
"f8:24:41:e9:fa:cf": "Bedside Lamp"
}
}
]
If you can't connect to your device, You can try to use sudo hciconfig hci0 reset
Version Logs
0.0.6
- Add QQ and Telegram group link
0.0.5
- Bug fix
0.0.4
- remove dependencies
0.0.3
- fix rgb
0.0.2
- bug fix
0.0.1
- add support for BedsideLamp.