vvmichielvv

Results 3 comments of vvmichielvv

Hi! I get the following debug: ``` DEBUG:_recv_all(): no data? b'' DEBUG:_recv_all(): no data? b'' DEBUG:Error decoding received data - read retry 0/5 Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/tinytuya/core.py",...

Simplifying my code: self.tuya_device = tinytuya.OutletDevice(_devId, _ip, _key) self.tuya_device.set_version(_version) self.tuya_device.set_socketPersistent(True) self.tuya_device.set_socketTimeout(60) payload = self.tuya_device.generate_payload(tinytuya.DP_QUERY) self.tuya_device.send(payload) while(True): data = self.tuya_device.receive() if str(data) != "" and str(data) != "None": # do something...

I figured this one out myself. The default template for each container using the vpn network contains one or more port item(s), ie WebUI. Because the networkinterface in my setup...