-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dimmer Switch loosing conection with Local Tuya integration #299
Comments
Can you test the master version and see if there's any improvements Install Master Version
Go HACS -> Local Tuya -> On top right corner click on the ⋮ and choose redownload and select master And restart HA then re-add your device Ensure that the connection is stable between Home Assistant and the device it self you could ping to the device for sometime to test it, the cloud will works as long the device reach the internet unlike local need to have stability connection for both device and home assistant with the routers. |
I have the same issue with two Feit dimmer switches. Logger: custom_components.localtuya.coordinator
|
They were working fine with the original loca tuya. |
If reinstallation of LocalTuya I did was correct (as I mentioned above), then the issues continues. This issue occurs with dimmers, IR transmitters, and some smart plugs. |
HACS has a bug sometimes that If you select master it's actually reject and revert to old version, either way I'll push new update soon if the bug remains keep in mind that with new changes the devices needs to reboot "from the power" then it should at least be stabilized and reconnect better. |
Just confirming I'm also having the same issue with 3 if 9 of my tuya devices. All available in the app, but 3 not available in the integration. Integration doesn't see any new devices to add, also rebooting the dimmer switch doesn't help me |
Some more strange data points to this issue. I found that the two mentioned devices intermittently reconnect and drop out again. And while they work flawlessly in the Tuya Smart app, they are the only two devices that produce a "Network Error" when I perform a "Check Device Network" in the Tuya app (click on the device, then the "edit" button in the top right corner, then "Check Device Network". |
Does the losing connection behavior still occurs in 2024.7.0 update? I'm kinda sure this isn't and not sure if it fixable since it more like network issue then integration issue |
Yes, no change. I agree that it is a strange issue but, again, it was working flawlessly for months in the original Local Tuya integration. |
Same issue remains in 2024.7.0. The devices disconnect and reconnect from time to time. |
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
The issue is still present. |
The problem persists. Is @xZetsubou trying any solution for this? |
same here |
Yeah super odd behavior. It's the same switches too, only 2 of my I don't work, but it's always the same 2. All 8 work fine in the tuya app though. I've power cycled the switches, nothing helps. |
Can you give more scenarios how is the issues starts to show up if there is something triggering it, Also enable the debug for both integration and devices that disconnect, then post FULL logs it may give us an insight of what causing this issue! |
So I deleted the device from local tuya and tuya app. Readded to tuya app, killed app and blocked tuya via DNS. Trying to add it again with localtuya gives "Connection to device succeeded but no datapoints could be found. Please try set-up again. If problem persists, create a new issue (including debug logs)." |
It's been many cases where people said that blocking devices DNS will make the devices goes into zombie state. Upstream quote:
More:
|
Unblocking DNS didn't help either |
LocalTuya Version
2024.6.0
Home Assistant Version
2024.7.1
Environment
What happened?
I'm starting to use Local Tuya integration and I've already identified at least 2 devices that disconnect for no apparent reason (1 dimmer switch and 1 IR remote control). Even disconnected from Local Tuya, they work normally in the Tuya Cloud integration. To get the devices working again (at least for a while) I need to unplug them and plug them to the power.
Steps to reproduce.
the problem occurs randomly
Relevant log output
No response
Diagnostics information.
localtuya-c66281edf107979133eaa22f6a3217d8-IR escri-173b10c3457ca32d08831de53cd0f4f7.json
localtuya-c66281edf107979133eaa22f6a3217d8-D2moes-92d372c4595d286a2010608913313466.json
The text was updated successfully, but these errors were encountered: