npm i -g homebridge-homekit-controller
homekit [network interface]
{
"service": {
"id": "device id",
"name": "device name",
"address": "device ip",
"port": device-port
},
"pairingData": {
"AccessoryPairingID": "xxx",
"AccessoryLTPK": "xxx",
"iOSDevicePairingID": "xxx",
"iOSDeviceLTSK": "xxx",
"iOSDeviceLTPK": "xxx"
},
"accessories": {
"accessories": [...]
}
}
{
"platforms": [
{
"platform": "HomeKitController",
"services": [
{
"id": "device id",
"name": "device name",
"address": "device ip",
"port": "device port",
"pairingData": {
"AccessoryPairingID": "xxx",
"AccessoryLTPK": "xxx",
"iOSDevicePairingID": "xxx",
"iOSDeviceLTSK": "xxx",
"iOSDeviceLTPK": "xxx"
},
"accessories": [
{
"aid": "characteristic aid",
"iid": "characteristic iid",
"type" : "service type (eg. 00000082-0000-1000-8000-0026BB765291)",
"name": "Humidity Sensor 1"
}
]
}
]
}
]
}
请发表评论