Vacuum map parser - Xiaomi
Map data parser that can be used to parse maps generated by Xiaomi vacuums (based on map data parser for Ijai by maksp86).
Installation
pip install vacuum-map-parser-xiaomi
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_xiaomi.map_data_parser import XiaomiMapDataParser
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 = XiaomiMapDataParser(palette, sizes, drawables, image_config, texts)
unpacked_map = parser.unpack_map(raw_map,
wifi_sn='******SD**********',
owner_id='**********',
device_id='**********',
model='xiaomi.vacuum.***',
device_mac='**:**:**:**:**:**')
parsed_map = parser.parse(unpacked_map)
Supported vacuums:
- xiaomi.vacuum.e101gb
- xiaomi.vacuum.ov71gl
- xiaomi.vacuum.ov31gl
- xiaomi.vacuum.ov81gl
If you got another vacuum to work, please tell us
Special thanks
The code of this library is based on map data parser for Ijai by @maksp86
Metadata
Release files for vacuum-map-parser-xiaomi 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vacuum_map_parser_xiaomi-0.1.4.tar.gz | 16.8 kB | Without provenance | Details for vacuum_map_parser_xiaomi-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vacuum_map_parser_xiaomi-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for vacuum_map_parser_xiaomi-0.1.4-py3-none-any.whl |
Total release size: 34.9 kB
Release files / vacuum_map_parser_xiaomi-0.1.4.tar.gz
| Download URL | vacuum_map_parser_xiaomi-0.1.4.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a81aeddca0fbe9db9fe35ac6e4871fbf3555575115e161a2fc61ae05ac1bdf4c
|
|
BLAKE2b-256 checksum How to use checksums |
166d786461ea52f0bca7408d1774393c674bd6a8eb5867521e55126d582a9751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.15 Linux/6.17.0-1010-azure
|
Release files / vacuum_map_parser_xiaomi-0.1.4-py3-none-any.whl
| Download URL | vacuum_map_parser_xiaomi-0.1.4-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75fa117b445aa0ca0e1e5d71c5bcf09a3e8119db9f357847fdc09ec0e44bbd92
|
|
BLAKE2b-256 checksum How to use checksums |
b6d7e8a325371e085738e6b5825eab95196ddee631d5a81b10415105c3d21a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.15 Linux/6.17.0-1010-azure
|
Security for vacuum-map-parser-xiaomi 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.