volker76 / tuya_mqtt.net

MQTT Client for local Tuya devices
https://github.com/volker76/tuya_mqtt.net/wiki
Apache License 2.0
3 stars 0 forks source link

Cannot connect to Tuya devices #22

Open fisart opened 3 months ago

fisart commented 3 months ago

I am not able to connect to my local Tuya devices. I am able to control them via the Tuya IoT website and via Google assistant and also with the Smart Life app.

I get the following error message in the logfile when I test the connection

7/12/2024 12:45:57 PM INFO MQTT establish reconnection 7/12/2024 12:45:57 PM INFO MQTT client connected to 192.168.0.112:1912 7/12/2024 7:09:37 PM INFO Test connection to Tuya API successful. 7/12/2024 8:03:05 PM WARN Error testing 84.170.234.50 System.Exception One or more errors occurred. (Connection timeout) at tuya_mqtt.net.Services.TuyaCommunicatorService.TestConnectLocal0A(TuyaDeviceInformation device) in /src/Services/TuyaCommunicatorService.cs:line 249 at tuya_mqtt.net.Services.TuyaCommunicatorService.TestConnect(TuyaDeviceInformation device) in /src/Services/TuyaCommunicatorService.cs:line 175 at tuya_mqtt.net.Pages.TuyaDevices.TestTuyaDevice() in /src/Pages/TuyaDevices.razor:line 408 It shouldn't make a difference but for completeness I am using the WesternAmerica Datacenter since some of my devices are in Florida

BestEx (IP-Symcon)

volker76 commented 3 months ago

let me have a check - could be TUYA may have chnanged anything in their API.

fisart commented 3 months ago

I am happy to support your efforts in any way I can

fisart commented 3 months ago

Dont know if this helps but here are the LED`s I have installed and I have problems with PXL_20240717_075132516 PXL_20240717_075126827 MP