本帖最后由 飘舞凌乱 于 2018-1-24 22:11 编辑
博联黑豆接入HB,将电视的开、关机的数据配置到config.json,正常启动,但在HomeKit中,电视机的显示状态与实际相反,在HK中显示的是打状态,实际电视是关闭的;如果将HK中的电视状态改为关闭,则电视机的实际状态为打开。用Siri进行调试,也要反着来,告诉Siri,关闭电视机,则打开电视,很是奇怪,不知道是哪里配置错了,请各位大神帮忙,谢谢。config.json的配置如下:
{
"name": "客厅电视",
"host": "192.168.2.244",
"type": "switch",
"data": {
"on": "26008c0096911534134515341510161014111510151015341534153415101510160f15101510160f153515101510151015101510151015341510153415351435153415341534150005f695911336133713361510151013121510131213361336133714111312131213121312131215341312131213121510131213121336131214361336132613361337123713000d05000000000000000000000000",
"off": "26008c0096911534134515341510161014111510151015341534153415101510160f15101510160f153515101510151015101510151015341510153415351435153415341534150005f695911336133713361510151013121510131213361336133714111312131213121312131215341312131213121510131213121336131214361336132613361337123713000d05000000000000000000000000"
}
},
|