本帖最后由 阿古斯 于 2017-12-8 09:26 编辑
基于DEBIAN系统!西数原厂系统别尝试! apt-get update 安装Nodejs: apt-get install -y nodejs apt-get install -y build-essential
安装avahi: apt-get install libavahi-compat-libdnssd-dev npm install -g --unsafe-perm homebridge
安装homebridge-aqara: npm install -g homebridge-aqara
配置config.json: /root/.hombridge/config.json
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", #username随意填写 "port": 51826, "pin": "031-45-154" }, "platforms": [ { "platform": "AqaraPlatform", "sid": ["6409802da3ca"], #这里是你的网关MAC地址 "password": ["1234567890123456"] #这里是你的网关局域网密码 } 运行程序: homebridge 然后在苹果IOS上输入PIN码配对
|