sjthespian / addon-tuyagateway

An addon for the [TuyaGateway][tuyagateway] application.
MIT License
17 stars 3 forks source link

Failed to connect (exception when opening socket) #12

Open hatemfaheem opened 3 years ago

hatemfaheem commented 3 years ago

I'm running mosquito broker on the home assistant and after installing the add-on I was able to reach gismo UI but it looks like tuya gateway is failing to connect.

2020-12-24 00:54:32,246 DEBUG    (Thread-7) [tuyaface.tuyaclient] (192.169.1.126) connecting
2020-12-24 00:54:32,247 INFO     (Thread-7) [tuyaface] (192.169.1.126) Connecting to 192.169.1.126
2020-12-24 00:54:34,248 WARNING  (Thread-7) [tuyaface] (192.169.1.126) Failed to connect to 192.169.1.126. Retry in 1 seconds
2020-12-24 00:54:34,249 ERROR    (Thread-7) [tuyaface.tuyaclient] (192.169.1.126) exception when opening socket

Tried to play around with the config but everything looks correct. I have also verified that the broker is working using mosquito_pub.