|
大神们,为什么我的homebridge 不能用极客协议的模式了,homekit添加配件后,只有空净 万能摇控器,没有yeelight的配件???????
现在我的情况是,sonoff接入Homeassistant
yeelight 用的homebridge 用的极客协议模式
万能摇控器+空气净化器用的homebridge 用的获取taken模式。。。。
配置文件代码如下,已验证,没有报错,没加入万能摇控器之前,yeelight灯和空净都运行正常,加入万能摇控后,,yeelight 就不在homekit里显示配件了。
{
"bridge": {
"name": "Homebridge",
"username": "B8:27:EB:19:93:77",
"port": 51826,
"pin": "123-45-678"
},
"platforms": [
{
"platform": "MiAirPurifierPlatform",
"deviceCfgs": [
{
"type": "AirPurifier2",
"ip": "192.168.3.9",
"token": "ab75acc7e60181cd01fe018f936468f6",
"airPurifierDisable": false,
"airPurifierName": "AirPurifier",
"silentModeSwitchDisable": false,
"silentModeSwitchName": "AirPurifier Silent Mode Switch",
"temperatureDisable": false,
"temperatureName": "Temperature",
"humidityDisable": false,
"humidityName": "Humidity",
"buzzerSwitchDisable": true,
"buzzerSwitchName": "AirPurifier Buzzer Switch",
"ledBulbDisable": true,
"ledBulbName": "AirPurifier LED Switch",
"airQualityDisable": false,
"airQualityName": "AirQuality"
}
]
}, {
"platform": "ChuangmiIRPlatform",
"hidelearn": false,
"learnconfig":{
"ip": "192.168.31.xx",
"token": "xxxxxxx"
},
"deviceCfgs": [{
"type": "Switch",
"ip": "192.168.31.xx",
"token": "xxxxxxx",
"Name": "IR Switch",
"data": {
"on" : "xxxxxxx",
"off": "xxxxxxx"
}
},{
"type": "Projector",
"ip": "192.168.31.xx",
"token": "xxxxxxxx",
"Name": "IR Projector",
"interval": 1,
"data": {
"on" : "xxxxxxxxxxxxx",
"off": "xxxxxxxxxxxxx"
}
},{
"type": "Light",
"ip": "192.168.31.xx",
"token": "xxx",
"Name": "IR LightBulb",
"data": {
"100" : "xxxx",
"75" : "xxxxx",
"50" : "xxxxx",
"25" : "xxxxx",
"off" : "xxxx"
}
},{
"type": "AirConditioner",
"ip": "192.168.31.xx",
"token": "xxx",
"Name": "IR AC",
"DefaultTemperature": 25,
"MinTemperature": 16,
"MaxTemperature": 30,
"data": {
"Cool":{
"30" : "xxx",
"25" : "xxx",
"20" : "xxx",
"16" : "xxx"
},
"Heat":{
"30" : "xxx",
"25" : "xxx",
"20" : "xxx",
"16" : "xxx"
},
"Auto":{
"30" : "xxx",
"25" : "xxx",
"20" : "xxx",
"16" : "xxx"
},
"off" : "xxxx"
}
}]
}
]
}
请问问题出在哪里,,难道yeelight 也要走taken方式,,,这样homeassistant 就不能控制了。。。
|
|