Russell Morris
Russell Morris
> Can you share the code you are using for both tuyapi and tinytuya? Sure, NP! Here is what I'm doing, 1. Python, tinytuya (dps results OK, but switch turns...
OK, now this is really screwy 😜. Pulling my hair out, and I can't afford that! Let me explain what I tried, 1. Using WireShark, I captured one of the...
Sure, will do! But one question - my (~ 18k) loops run as below ... so even NodeJS is tearing down every time? ``` #!/bin/bash while : do echo "$(date)...
You may be on to it! I ran 50 loops, persistence = True, and it stayed up. But then (to test), set it to False, Very quickly, ``` 1: Sun...
OK, 5k runs, no issue - switch still on. That's it, thanks! I have to ask though ... why? 🤣. Appreciate it!
> That would mean that the connection stays open slightly longer. Why would that help? Agreed! And was thinking the same thing ... 😆. Wondering if it gives the Tuya...
Arrgh! OK, thought it was all good - then moved the switch to the "freezer" LOL. Actually, outdoor lights. Hmmm - still have persistence on, and it's switching off again....
OK, I see the difference (moved to different code, vs. the test I was running) => seems even when calling the Python code (that accesses `d.status()`), a delay is needed...
Yep, wondering here as well! I'm using Ubuntu 20.10 (OS). I set my code up to only add the delay for v3.1 devices. So far, all working OK. Thanks!
Hi, Just curious - have you been able to duplicate this? No biggie! Thanks!