You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/broadcast-relay.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,10 @@ def send_broadcast():
167
167
"""
168
168
Send broadcasts to query for newer v3.5 devices
169
169
"""
170
-
returnsend_discovery_request()
170
+
our_broadcasts=send_discovery_request()
171
+
ifnotour_broadcasts:
172
+
our_broadcasts= {}
173
+
returnour_broadcasts
171
174
172
175
if__name__=='__main__':
173
176
disc='Listens for broadcast packets from Tuya devices and sends them via unicast to App clients. Useful to make the app work on broadcast-blocking WiFi networks.'
0 commit comments