uzlonewolf
uzlonewolf
Can you enable debug logging (`tinytuya.set_debug(True)`) and post the log when it does this?
It looks like you are sending a command but not getting a response. What command are you sending, and how are you listening for updates?
Okay, I see what's going on. I agree, a receive-only call that does not send anything should not raise an error if nothing is received. I'll try to get this...
Hi @yokoyama-flogics ! It is the device which sends UDP broadcasts, TinyTuya only passively listens for them. Looking at the code it would seem I broke find_device() at some point...
Re-reading it I see my last post wasn't very clear. Both `python -m tinytuya scan` and `Device(address='Auto')` work the same way: TinyTuya passively listens for a UDP broadcast from the...
Hmm, looking at this a bit more, I'm actually not seeing a problem anywhere. I tested with the 3 v3.1 devices I have and all 3 of them are working...
Have you tried using the IRRemoteControlDevice in Contrib? https://github.com/jasonacox/tinytuya/blob/master/examples/Contrib/IRRemoteControlDevice-example.py ```python head = '010fbb00000000000f001900320064032c0313044c041a03450433046502fa0401035e02e1047e' key1 = '002$000CA900' ir.send_key( head, key1 ) ```
Actually, remove a leading zero from key1 and try it again (so, `key1 = '02$000CA900'`). Depending on what DPS set the device uses the key1 from the debug logs could...
Unfortunately there is no way to reboot a device, either from the cloud or via the local API. I've spent many hours combing through the official documentation and have even...
There's no need for a heartbeat in this case. As long as you're sending something at least every ~20 seconds or so it's not needed, it's only used to keep...