Skip to content
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

Tuya Devices Protocol Question - UDP Multicast/Broadcast #493

Closed
rlarranaga opened this issue Jul 1, 2021 · 1 comment
Closed

Tuya Devices Protocol Question - UDP Multicast/Broadcast #493

rlarranaga opened this issue Jul 1, 2021 · 1 comment

Comments

@rlarranaga
Copy link

Hello,
i have a number of Tuya devices connected to my network, mostly light bulbs. i control them using the tuya-mqtt project on openHAB.
While capturing traffic on my network i noticed the devices send UDP Multicast.Broadcast packets every couple of seconds.

Does anyone know if there is a way to stop this behavior? Broadcast and multicast is usually transmitted in the lowest Wifi rates, so it is not great to have these devices broadcasting continuously. Blocking the traffic would not prevent the device from trying to send the broadcast and occupy the air resource either.

I read on General Discussion #5 the following:

"Connections & Broadcasts
When the device is not connected, it sends out UDP broadcast packets to the network every 3-6 seconds."

What does it mean that the broadcasts are sent when the device is not connected? I would have though the devices are connected to tuya-mqtt since i can control them. Any chance i can get some specifics on what kind of connection the devices needs to stop sending UDP packets?

as mentioned, my goal is mostly preventing the devices to send so many udp packets as opposed to block the packets.

Thanks!

@rlarranaga
Copy link
Author

Moved to "Discussion" as it seems more appropiate. This is a general question about the protocol, and not a specific issue with the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant