Skip to main content

tuyaha

Cloned from the abandoned package tuyapy v0.1.3. This package implements a Tuya API endpoint that was specially designed for Home Assistant.

This clone contains several critical fixes. Check commits.

FAQ

How to check whether the API this library using can control your device?

  • Copy this script to your PC with Python installed or to https://repl.it/
  • Set/update config inside and run it
  • Check if your devices are listed
    • If they are and description matches real device (e.g. lamp is lamp, not switch) - device is supported
    • If they are not or description doesn't match real device - don't open an issue. Ask Tuya support to support your device in their /homeassistant API
  • Remove the updated script, so your credentials won't leak

My device is not listed in Tuya API response or contains incomplete state, what should I do?

Write an email to tuyasmart@tuya.com and mention the tuyapy library and https://px1.tuya{}.com API endpoint. Usually they ignore incoming emails, but perhaps, if they get a lot of emails, they will start fixing the API.

Metadata

Release files for tuyaha 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tuyaha 0.0.11
File Size Uploaded Provenance Actions
tuyaha-0.0.11.tar.gz 11.5 kB Without provenance Details for tuyaha-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tuyaha 0.0.11
File Interpreter ABI Platform Actions
tuyaha-0.0.11-py3-none-any.whl Python 3 none any Details for tuyaha-0.0.11-py3-none-any.whl

Total release size: 25.1 kB

Release files / tuyaha-0.0.11.tar.gz

Download URL tuyaha-0.0.11.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dfc05ac12a4053a3d3af4c3112112f030b345f30d6b6f7d0bd267aa08e5b0996
BLAKE2b-256 checksum
How to use checksums
14f0e03e9138d9c03a2bf9e0b92677b6e04308dea0f32de20f893b6f9042c59c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / tuyaha-0.0.11-py3-none-any.whl

Download URL tuyaha-0.0.11-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79993e6501f60225a1312938240608f3c3d443fd7bef09290b916d70c327693d
BLAKE2b-256 checksum
How to use checksums
f383727a7accead6875492493e58b1f11715746301b1e8b1667ce2c0d00f4c29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for tuyaha 0.0.11

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page