A python library to view maps from Tuya robot vacuums
Project description
tuya-vacuum
tuya-vacuum is a python library to view maps from Tuya robot vacuums.
Installation
Use the package manager pip to install tuya-vacuum.
pip install tuya-vacuum
Usage
from tuya_vacuum import TuyaVacuum
# Create a new TuyaVacuum instance
vacuum = TuyaVacuum(
origin="https://openapi.tuyaus.com",
client_id="<Client ID>",
client_secret="<Client Secret>",
device_id="<Device ID>"
)
# Parse the map data
vacuum_map = vacuum.fetch_realtime_map()
# Save the map as an image
image = vacuum_map.to_image()
image.save("output.png")
Compatability List
This is a list of all currently tested devices. Create a new issue to add your device.
| Device | Support |
|---|---|
| Lefant M1 |
Special Thanks
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 tuya_vacuum-0.1.5.tar.gz.
File metadata
- Download URL: tuya_vacuum-0.1.5.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29cdf248d811efa0f660de55824ede55216a91f196e6c8b5894798dd65773b5e
|
|
| MD5 |
89770eaf858121e4798077782e403578
|
|
| BLAKE2b-256 |
862e96a76d04d0c33145d729ac5efba72c366953ae401fba1dec3ac63753fbcf
|
Provenance
The following attestation bundles were made for tuya_vacuum-0.1.5.tar.gz:
Publisher:
publish.yml on jaidenlabelle/tuya-vacuum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tuya_vacuum-0.1.5.tar.gz -
Subject digest:
29cdf248d811efa0f660de55824ede55216a91f196e6c8b5894798dd65773b5e - Sigstore transparency entry: 150359340
- Sigstore integration time:
-
Permalink:
jaidenlabelle/tuya-vacuum@9c7453894578eb5b348cc752e31449d2631bda03 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/jaidenlabelle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9c7453894578eb5b348cc752e31449d2631bda03 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tuya_vacuum-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tuya_vacuum-0.1.5-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db09082ac2f8339708da65984d53b31c8f2f1acf0ec9499d598ca31925f990a2
|
|
| MD5 |
72629226ac5892b48deb43a716887280
|
|
| BLAKE2b-256 |
078340869e6f9dbc100451dd5b4533aeb30ef25ad98c5230f6777f8d0faec2d0
|
Provenance
The following attestation bundles were made for tuya_vacuum-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on jaidenlabelle/tuya-vacuum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tuya_vacuum-0.1.5-py3-none-any.whl -
Subject digest:
db09082ac2f8339708da65984d53b31c8f2f1acf0ec9499d598ca31925f990a2 - Sigstore transparency entry: 150359342
- Sigstore integration time:
-
Permalink:
jaidenlabelle/tuya-vacuum@9c7453894578eb5b348cc752e31449d2631bda03 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/jaidenlabelle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9c7453894578eb5b348cc752e31449d2631bda03 -
Trigger Event:
push
-
Statement type: