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 Supported

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.2.tar.gz (20.0 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.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tuya_vacuum-0.1.2.tar.gz
  • Upload date:
  • Size: 20.0 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.2.tar.gz
Algorithm Hash digest
SHA256 c921137badd88ec8ffb0e45789c76e575180a9bcb7542655acfc267130e9feb1
MD5 acc0cb122b469bd47974cf5f36766b37
BLAKE2b-256 6f172c12fb9c538d6ec29a480ce60e2b0f2a5e8b2d7f3423532d0aa20cd83f71

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuya_vacuum-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: tuya_vacuum-0.1.2-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

Hashes for tuya_vacuum-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ffc2a4bef990828acb74ad3eeb191649bbaca67ad181ff449074f56ec6cca6e
MD5 b51e1c017066d4fc5f02d2379a551441
BLAKE2b-256 d18104a8b35811a8d093f3f4b790dd05988d05a4457cddeb4dd7a64af1001909

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuya_vacuum-0.1.2-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