Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tuya_vacuum-0.1.8.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tuya_vacuum-0.1.8-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file tuya_vacuum-0.1.8.tar.gz.

File metadata

  • Download URL: tuya_vacuum-0.1.8.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tuya_vacuum-0.1.8.tar.gz
Algorithm Hash digest
SHA256 27c51ed9081ef701ef093c4c739192b67e89402b8aa2b59a874ec6c0ddd73353
MD5 f897645e4bc1911d21c73a72f6c14ae0
BLAKE2b-256 7af80f7ed0579e0b50a413b6c01f0c783a7e79f9771b75f3f0eed3715b178adb

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuya_vacuum-0.1.8.tar.gz:

Publisher: publish.yml on jaidenlabelle/tuya-vacuum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tuya_vacuum-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: tuya_vacuum-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tuya_vacuum-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a30171a10490b77383c7ba0f3a7a3ba847ca69c6d114118f23a06b25e1978850
MD5 bb8717b9b7d87e3aad4a15dc5892ba7b
BLAKE2b-256 4211f39dcb26aa0685261b7ed731a691a7f4ad3f0c5a300f2651d1d428bee6f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuya_vacuum-0.1.8-py3-none-any.whl:

Publisher: publish.yml on jaidenlabelle/tuya-vacuum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page