This repository has been archived by the owner on Oct 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a72990e
commit 5c47ce4
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,17 +6,17 @@ 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? | ||
### How to check whether the API this library using can control your device? | ||
|
||
- Copy [this script](https://github.com/PaulAnnekov/tuyaha/blob/master/tools/debug_discovery.py) 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 - open an issue and provide the output | ||
- If they are not - don't open an issue. Ask [Tuya support](mailto:[email protected]) to support your device in their | ||
- 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](mailto:[email protected]) 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? | ||
### My device is not listed in Tuya API response or contains incomplete state, what should I do? | ||
|
||
Write an email to [email protected] 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. |