tuyaha
tuyaha copied to clipboard
Add Treatlife as to biz type / app list
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.
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.
treat_life nor treatlife are not valid. Tested with your debug_discovery.py script.