homebridge-miioisaplatformpluginforhomebridgewhichletsyouswitchXiaomiPowerPlugsonandoffusingHomekitappsandSiri.
Note:thispluginworksforme,buti'mnotmotivatedtomaintainit'scompatibilitywithotherdevicesorfirmwareversionsthati'mnotusing.Ifyouhaveproblems,pleasesendsomepullrequests!Openinganissueisn'tenough.I'mnot"upgrading"mydevicestoincompatiblefirmwareversionsjusttodebugissuesforyou.
Itseemsveryreliablenow,andshouldcoexisthappilywithotherXiaomihomeautomationecosystemplugins.Eventuallyitwouldbenicetosupportsomeotherdevicetypes,ifpeoplewhohavethosedeviceswanttodopullrequests,ordonatehardware,it'dsurelybewelcomed.Youdon'tneedtoconfigureanything,justinstalltheplatformpluginwithnpminstall-ghomebridge-miio.devicesonthesamesubnetasyourhomebridgeserverwillbediscoveredatlaunchandeveryhalfhourafterthat,andsupporteddeviceswillbepolledforchangesoccasionallytokeepthingsresponsive.
Here'sanexamplehomebridgeconfigfile,youcouldusetotweakthedefaultsettings.Numbersarepresentedinseconds.IfyouchoosetodisablepollChangesyoumayseesomeinconsistencyifyoualsocontrolyourmiIOdevicesviatheMiHomeapp(includingviaMiHomeapptimers).
NotethatcurrentlyonlytheWiFiplugsaresupported,notthegateway-basedonesoperatingoverZigbee,thoughthisislikelytochangeinthefuture.
{"bridge":{"name":"TestBridge","username":"CC:22:3D:E3:CE:33","port":51826,"pin":"031-45-154"},"description":"TestBridge","accessories":[],"platforms":[{"platform":"XiaomiMiio","name":"XiaomiMiio","pollChanges":true,"pollInterval":15,"searchInterval":1800}]}
评论