Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New humidifier & Add activateZoneClean #133

wants to merge 3 commits into
base: master


None yet
4 participants
Copy link

commented Mar 27, 2018

1. Added new humidifier model.

'zhimi.humidifier.ca1': Humidifier,

2. Added activateZoneClean in vacuum.js

Takes in an array of zones.

Zones example:

Single zone example:

Each zone contains an array of 5 values. top-left-x, top-left-y, bottom-right-x, bottom-right-y, number of clean times.

Maps are always 51200 x 51200. The charger/starting location is always the centre; so 25600, 25600

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.

@Chao-Man Chao-Man force-pushed the Chao-Man:master branch from 039f5ce to d6a7df3 Mar 27, 2018

@Chao-Man Chao-Man changed the title Add new humidifier zhimi.humidifier.ca1 New humidifier & Add activateZoneClean Mar 27, 2018


This comment has been minimized.

Copy link

commented Jun 17, 2018

Any updates with this?


This comment has been minimized.

Copy link

commented Jun 20, 2018

also very interested in the zone clean implatation

@kusmierz kusmierz referenced this pull request Jun 27, 2018


Vacuum zone cleaning #119

@jghaanstra jghaanstra referenced this pull request Jul 22, 2018


Zone cleaning #44


johnou approved these changes Nov 18, 2018


This comment has been minimized.

Copy link

commented Nov 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.