PlugincanaccessAqaraGatewayinordertoaddit'sluxsensortoHomekitviahomebridge.Workswithgatewaywhichidentifyitselfaslumi.gateway.aqhm01(Chinaversion)andlumi.gateway.aqhm02(EUversion).
Codeuses"lite"versionofmiioby@aholstenson.Ihadtomodifysomepartsofthatlibraryinordertoaccessgateway,soI'veremovedunusedparts.
Configexample:
"accessories":[{"name":"AqaraHub","accessory":"AqaraHubLux","ip":"192.168.0.XXX","token":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","interval":60,"unitFactor":0.1}]Inordertoobtainthetoken,pleasefollow@Maxmudjoninstructiondescribedhere(exceptmethod2).
Thanksesgieforunitfactoridea!
评论