PaulAnnekov / tuyaha

Implements the special Tuya Home Assistant API.
Other
141 stars 106 forks source link

Add Treatlife as to biz type / app list #83

Open genebean opened 3 years ago

genebean commented 3 years ago

The Treatlife app for https://www.treatlife.tech that is what the manual says to use for a https://www.amazon.com/gp/product/B08RDT8HQ4 - doing so means this library can't see the device. If I instead register it with the smart life app all is well. Both apps have account creation done at smart321.com so I have to assume this is a parameter somewhere that just needs to be added... or at least I hope it is that simple.

PaulAnnekov commented 3 years ago

You can use this manual https://github.com/PaulAnnekov/tuyaha#how-to-check-whether-the-api-this-library-using-can-control-your-device, but experiment with BIZ_TYPE (https://github.com/PaulAnnekov/tuyaha/blob/master/tools/debug_discovery.py#L10) value. Set it to treat_life, treatlife, tuya, smart_life, jinvoo_smart and try to find values that work with Treatlife app.

polski-g commented 2 years ago

treat_life nor treatlife are not valid. Tested with your debug_discovery.py script.