homebridge-valetudo-xiaomi-vacuumisaHomebridgepluginwhichyoucanusetocontrolyourXiaomiRoborockvacuumthathasValetudoinstalled.
Installationnpm-ginstallhomebridge-valetudo-xiaomi-vacuum
ConfigurationAnentryinconfig.jsonisneeded.
Example:
{"accessory":"ValetudoXiaomiVacuum","name":"<Accessoryname,e.g.Vacuum>","ip":"<Vacuum'sipaddress>"}Optionally,youcanenableswitchesforcontrollingspeedmodesofthedevicebyaddingthepower-controldictionarywithdefault-speedandhigh-speedkeys(bothmandatoryinthatcase),wherethespeedpresetmaybeoneof:quiet,balanced,turbo,andmax.
Foramopping-capablevacuum(i.e.Gen2-S50/S55),amopmodebuttoncanbealsoenabledusingthemop-enabledoptionthatisatrue/falsevalue.Youcanskipthatoptionaltogether-falsewillbethedefault.
Example:
{"accessory":"ValetudoXiaomiVacuum","name":"Mo","ip":"192.00.486.259","power-control":{"default-speed":"quiet","high-speed":"turbo","mop-enabled":true}}ValetudoREIfrunningyourvacuumusingValetudoRE,legacy-modeneedstobesettotrue.
Example:
{"accessory":"ValetudoXiaomiVacuum","name":"<Accessoryname,e.g.Vacuum>","ip":"<Vacuum'sipaddress>","legacy-mode":true}CompatibilityTestedonRoborockS50withfirmwarev001748andValetudo0.6.1.
VacuummapinHomeappIplayedalittlewithanideaofsettingupaHomeKitcamerathatgrabsthegeneratedVacuumimageandstreamsitasavideo.Theideaissuecontainsmoredetails.
评论