Functionalities for Ijai vacuum map parsing
Project description
Vacuum map parser - Ijai
Map data parser that can be used to parse maps generated by Ijai vacuums (based on map data parser for Viomi by Piotr Machowski).
Installation
Not currently applicable
pip install vacuum-map-parser-ijai
This package is not yet published on PyPI, so you need to install it manually.
Install the latest development version from GitHub
pip install git+https://github.com/Tarh-76/Python-package-vacuum-map-parser-ijai.git@develop
Usage
from vacuum_map_parser_base.config.color import ColorsPalette
from vacuum_map_parser_base.config.drawable import Drawable
from vacuum_map_parser_base.config.image_config import ImageConfig
from vacuum_map_parser_base.config.size import Sizes
from vacuum_map_parser_base.config.text import Text
from vacuum_map_parser_ijai.map_data_parser import IjaiMapDataParser
palette: ColorsPalette = ColorsPalette()
sizes: Sizes = Sizes()
drawables: list[Drawable] = [Drawable.PATH, Drawable.CHARGER]
image_config: ImageConfig = ImageConfig()
texts: list[Text] = []
raw_map: bytes = b''
parser = IjaiMapDataParser(palette, sizes, drawables, image_config, texts)
unpacked_map = parser.unpack_map(raw_map,
wifi_sn='******SD**********',
owner_id='**********',
device_id='**********',
model='ijai.vacuum.***',
device_mac='**:**:**:**:**:**')
parsed_map = parser.parse(unpacked_map)
Supported vacuums:
- ijai.vacuum.* (at least v1, v2, v3, v10, v13, v18, v19)
- xiaomi.vacuum.c103
- xiaomi.vacuum.c104
- xiaomi.vacuum.b106eu If you got another vacuum to work, please tell us
Special thanks
The code of this library was initially created by @halfbakery as a part of Xiaomi Cloud Map Extractor.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vacuum_map_parser_ijai-0.0.0.tar.gz.
File metadata
- Download URL: vacuum_map_parser_ijai-0.0.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
895c719ef3e3dc9b4bc29e5451d70c7e050402cc226f3a7521bab98871f77f8a
|
|
| MD5 |
03e4500069fc47ca56c6f9a5b223ee0d
|
|
| BLAKE2b-256 |
708cd89902dbff2347bff66e4bf372e525485caba85e329547b68462c2b12d30
|
File details
Details for the file vacuum_map_parser_ijai-0.0.0-py3-none-any.whl.
File metadata
- Download URL: vacuum_map_parser_ijai-0.0.0-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64f9063fc3037be6cd8ab05a78e2a9aad4bc8fd8d8faea19d6f3a9f8f12e7440
|
|
| MD5 |
89922518156811ad482d6804020ccca8
|
|
| BLAKE2b-256 |
4a38ec0cdeb8376a49bd8077abb0fd5af57a2b0fb20e36a0f70a1ad1762dceea
|