Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
New humidifier & Add activateZoneClean #133
1. Added new humidifier model.
2. Added activateZoneClean in vacuum.js
Takes in an array of zones.
Single zone example:
Each zone contains an array of 5 values.
Maps are always 51200 x 51200. The charger/starting location is always the centre; so
Tip on creating zones
Despite not having the map data we can make zones by having the mi home app open, drawing a square to surround 25600,25600 (the starting location) it will show the zone we've set. We can find the coordinates of our desired zone through trial and error.
As long as the vacuum is started from the charging dock, it should always result in drawing the same map; and thus same zone coordinates. Although deviations can occur from moving the dock, or moving the vacuum by hand.