-
Notifications
You must be signed in to change notification settings - Fork 591
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
After upgrading to 3.2.0 release, two out of nine Tuya devices (all power metering plugs) became 'unavailable' #284
Comments
Hi, I have the same problem, in my case I have the problem with all Tuya devices. |
Hi, |
Do you have the devices on same VLAN as Home Assistant? Are you using them in the regular tuya integration or from anywhere else? We depend on discovery messages now and they are not broadcasted if someone is connected to the device. |
My Nooie smart plugs are in a separate (V)LAN and I have them all in config, like this
|
You will need to forward UDP broadcasts for port 6666 and 6667 from the other VLAN to Home Assistant for it to work now. |
To much trouble, I can live with older version for now. |
Your choice of course, but you lose a lot of good updates. The "passive device support" (which is what you got hit by here) is probably one of the best ones. I've mentioned before that I could write a script that listens for these broadcasts and let's you forward them to another host. So you would basically put in on a computer on the same VLAN as your plugs and point it toward your Home Assistant IP. Let me known if that would be interesting. |
My IoT VLAN it is only for them no other computers there so until I can do something from firewall it will not help in my case. Thanks anyway. |
In that case no, it won't help. You would need some kind of computer on that network. |
all my devices are on same lan (no VLAN at all) and I’m using them just in the localtuya integration (no regular tuya integration) |
I would be very interrested in that since Unifi USG don't offer UDP broadcast forwarding out of the box. |
Hi, in my case I have a separated VLAN, I have one VLAN for all IoT devices. I have opened all ports and protocols from HASSIO server to TUYA devices. |
I will provide a "fix" which adds a re-connect like loop again just like before. It will be more simple, but should work in case discovery is not working or traffic is not forwarded. Should be ready by the end of the day. |
Please try #288. |
Hi @postlund, P.S. In addition, for the working ones I can see "mode: 0" in my logs. I wonder if these are coincidence or not |
3.22 made my day!! All my tuya devices are working now!!! |
Unfortunately the new version brought a small problem.
My two Teckin SP22 smartplugs have become 'unavailable'.
The other seven smartplugs I own (six Bakibo TP22Y and a Gosund doubleplug SP211) continue to work very well.
I activated the 'debug' function inside the 'logs' (the two Teckin SP22 have 192.168.178.46 and 192.168.178.47 IP address) and I can see something strange.
In fact, compared to the other devices, I can see in the 'logs' that a word is reported incorrectly:
'ablilty' instead of 'ability'.
I don't know if that's the problem.
Reinstalling version 3.1.0 will make the devices work properly again
My system is:
Thank you for your support
The text was updated successfully, but these errors were encountered: