clach04 / python-tuya

Python interface to ESP8266MOD WiFi smart devices from Shenzhen Xenon. NOTE I'm not using any devices with this library so I can't test :-(
MIT License
239 stars 54 forks source link

.status() occasionally restarts device #37

Closed glentakahashi closed 6 years ago

glentakahashi commented 6 years ago

I'm seeing some very strange behavior where calling .status() on a wifi socket causes the socket to reset itself (turn off and then on immediately). It doesn't happen every time .status is called, but I can very very regularly see this happen. I've done some digging but haven't been able to diagnose why it's happening yet.

Any ideas as to what's causing this and how to fix it?

clach04 commented 6 years ago

This is sounds like #29 I've not seen this with my devices. It also sounds like https://github.com/codetheweb/tuyapi/issues/84 which is the Node implementation I'll post comments there.

glentakahashi commented 6 years ago

Okay I'll close out in track in the other issues