tuyaha icon indicating copy to clipboard operation
tuyaha copied to clipboard

Add Treatlife as to biz type / app list

Open genebean opened this issue 3 years ago • 2 comments

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.

genebean avatar Apr 29 '21 01:04 genebean

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.

PaulAnnekov avatar Jun 07 '21 15:06 PaulAnnekov

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

polski-g avatar Jul 21 '21 22:07 polski-g