0%

体验homebrige

体验homebridge

打开终端 ctrl alt t

安装git

1
sudo apt install git

安装node

1
git clone <https://github.com/nodejs/node.git>

安装homebridge

1
sudo npm install -g --unsafe-perm homebridge

来自 <https://github.com/nfarina/homebridge>

使用homebridge

1
homebridge

安装yeelight插件

1
npm install -g homebridge-yeelight

来自 <http://forum.yeelight.com/t/homebridge-plugin/83/61>

运行yeelight

1
homebridge -P ~/.homebridge/yeelight/

来自 <http://forum.yeelight.com/t/homebridge-plugin/83>