mirror of
https://github.com/Luzifer/mimap.git
synced 2024-10-18 04:34:20 +00:00
Standalone image generator for Xiaomi Mi Vacuum roboter
f8199e1c92
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210124154548-22da62e12c0c to 0.1.0. - [Release notes](https://github.com/golang/sys/releases) - [Commits](https://github.com/golang/sys/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.gitignore | ||
build_map.py | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md | ||
requirements.txt | ||
upload.sh |
Luzifer / mimap
mimap
is a small web application to receive map updates from a script running on opened Xiaomi Mi Vacuum robots decoupled from the Xiaomi cloud. The image generator is derived from the dustcloud image generator patched to resemble the map images used inside the Mi Home application.
Usage
- Start the
luzifer/mimap:latest
image with exposed port and an attached volume:docker run --rm -ti -v /tmp/mimap:/data -p 3000:3000 luzifer/mimap:latest
- Adjust the
upload.sh
script to upload the files to themimap
instance - Put the modified
upload.sh
script onto the vacuum - Execute the script with
bash upload.sh
- The map should be generated by the
mimap
instance and be available at http://localhost:3000/map.png