|
发表于 2017-7-11 22:23:49
|
显示全部楼层
射频的在有限面积跨越多个房间是可以的,也就是R RMPro基本一套房子一个就够了;但是红外信号是不能穿越墙壁的,因此,一般客厅、卧室等需要各放一个,具体的配置请参考,下面的示范脚本:
{
"bridge":{
"name":"Homebridge",
"username":"CD:22:3D:E3:CE:30",
"port":51826,
"pin":"031-45-156"
},
"description":"Homebridge",
"accessories":[
],
"platforms":[
{
"platform":"BroadlinkRM",
"name":"Broadlink RM",
"accessories":[
{
"name":"Auto-off Switch",
"type":"switch",
"host":"192.168.1.5",
"disableAutomaticOff": false,
"onDuration": 5,
"data":{
"on":"2600500000012...",
"off":"2600500000012..."
}
},
{
"name":"TV On/Off",
"type":"switch",
"host":"192.168.1.8",
"data":{
"on":"2600500000012...",
"off":"2600500000012..."
}
},
]
}
]
} |
|