uzlonewolf

Results 283 comments of uzlonewolf

I still intend on finishing it, but have been super-busy lately and had put it aside temporarily as it sounded like everyone who would have used it had already done...

Yep, I saw the local key thing ~2 weeks ago https://github.com/jasonacox/tinytuya/discussions/341 . Have you seen any symbols that are not in that list? I haven't noticed the device id changing...

Nah, I don't think that will be necessary, this is a duplicate of #323, just upgrade TinyTuya to v1.12.3 or use the workaround in https://github.com/jasonacox/tinytuya/issues/323#issuecomment-1503794505 and it should work. If...

> DEBUG:GET: URL=https://openapi.tuyaeu.com/v1.0/iot-01/associated-users/devices?size=50 Basically, Tuya has recently disabled access to this "associated-users" API endpoint. It's not just your account, no one can use it anymore. You're going to need to...

Hmm, those all blow up much later in the process, you should't be encountering errors in `_gettoken()`. What does this result in: ```python import tinytuya c = tinytuya.Cloud(initial_token=True) c.token =...

Yes, it should automatically pull them from tinytuya.json (same as the wizard) when not provided. You can also pass them in explicitly if needed: ```python import tinytuya c = tinytuya.Cloud(apiRegion="eu",...

Hmm, it should work then. If you open tinytuya.json in a text editor, is there any whitespace or funny characters inside the quotes?

@jasonacox it looks like https://github.com/jasonacox/tinytuya/blob/master/tinytuya/Cloud.py#L266 should be updated to handle the cases where `_tuyaplatform()` returned `None` or an `error_json()` (via `response_dict`). I'll see if I can do something about that...

Yep, that would do it. Fix that and you should be good to go. I'll add some sanity checking of the passed values tomorrow while I'm in there.

The .Cloud() functions do not retry failed requests except for a single retry after getting a 'token invalid' (auth token expired) response. The `requests` library is used for the actual...