A Python library that implements a Tuya API endpoint that was specially designed for Home Assistant
Project description
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
/homeassistantAPI
- 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.
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 tuyaha-0.0.11.tar.gz.
File metadata
- Download URL: tuyaha-0.0.11.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc05ac12a4053a3d3af4c3112112f030b345f30d6b6f7d0bd267aa08e5b0996
|
|
| MD5 |
61dd3d66d883dfee5cc0534a996ef9c7
|
|
| BLAKE2b-256 |
14f0e03e9138d9c03a2bf9e0b92677b6e04308dea0f32de20f893b6f9042c59c
|
File details
Details for the file tuyaha-0.0.11-py3-none-any.whl.
File metadata
- Download URL: tuyaha-0.0.11-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79993e6501f60225a1312938240608f3c3d443fd7bef09290b916d70c327693d
|
|
| MD5 |
46c0a23489d5fc4e6638d0dce49c5010
|
|
| BLAKE2b-256 |
f383727a7accead6875492493e58b1f11715746301b1e8b1667ce2c0d00f4c29
|