Skip to content

UDP sync unreliable #2112

Closed
Closed

Description

@ThatBigPrint

Describe the bug
First issue,

when I have multiple wled modules one or two of them don't sync properly you then need to resubmit the change then it applies this is intermittent.

second issue,

the wled app finds the uniquely named modules but after you click the tick it only populates a few but if you manually type in IP address it populates as it should ?

To Reproduce
first issue you just need multiple items on one sync id for instance I have 11

second issue again multiple items on same network I have 15 in this instance

Expected behavior
all wled to sync reliably

app to be able to find nodes every time and populate

WLED version

  • Board: [e.g. ESP32 dev]
  • Version [e.g. 0.13.0, beta] although other nodes I'm having the same issue with are on stable old releases
  • Format [e.g. Binary, self-compiled] both

Additional context
Anything else you'd like to say about the problem?

Thank you for your help!

Activity

  1. huggy-d1 commented on Aug 2, 2021

    @huggy-d1
    Contributor

    How many wifi access points do you have? Are all WLED installs connect to the same wifi AP? The sync protocol does not route as far as I know since it's a simple UDP broadcast. WLED simply sends out to whoever is capable of listening, and is listening. The networking configuration determines whether they are capable of listening.

  2. ThatBigPrint commented on Aug 3, 2021

    @ThatBigPrint
    Author

    they are all on the same network they only produce ap if they can't find the known SSID ? so far they are all on the network and not complaining, the issue lies in reliable sync and pulling into the app on both platforms... they initially worked but since I deleted the list and re searched only one or two come back and its always the same one or two

  3. ThatBigPrint commented on Aug 6, 2021

    @ThatBigPrint
    Author

    a bit more info on this... the Host light seems to drop out for whatever reason, and then comes back around it happens on all of the elements whichever is the host I'm even considering making a hidden dummy hoast? anyway use this link to see a video of the issues https://youtu.be/eC7rsYlEwow

    thanks
    chris

  4. blazoncek commented on Aug 23, 2021

    @blazoncek
    Contributor

    WLED Sync uses UDP. That is in itself enough said about reliability on WiFi.
    You can slightly improve the situation by telling WLED to transmit sync message twice. Use Settings page.

  5. ThatBigPrint commented on Aug 26, 2021

    @ThatBigPrint
    Author

    We are experiencing the same issue even with double send turned on, we think it is something to do with maybe the "sync master" crashing and rebooting as it seems to drop off the network for a few seconds.... we are running this on a pico D4 so maybe hardware limitation but as far as I'm aware the d4 is pretty high up there in terms of processing power? and we don't get any dropped frames with large quantities of leds?

  6. stale commented on Apr 16, 2022

    @stale

    Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
    Thank you for using WLED!

  7. added
    stale
    on Apr 16, 2022
  8. added
    keep
    on Apr 16, 2022
  9. removed
    stale
    on Apr 16, 2022
  10. changed the title [-]sync not synchronizing all elements accurately and finding weleds but not adding to list in app[/-] [+]UDP sync unreliable[/+] on Apr 16, 2022
  11. keck9939 commented on Dec 4, 2022

    @keck9939

    The sync feature relies on mDNS and UDP broadcasting. Depending on your networking equipment and topology, these two features may or may not be enabled/blocked. I found with the default settings on my network, that enumerating the WLEDS on the network was unreliable as was syncing and that nodes would periodically drop off the network. After enabling mDNS and making sure UDP broadcasts would get through, everything started to work reliably.

  12. blazoncek commented on Jan 25, 2023

    @blazoncek
    Contributor

    Mitigation added in #2830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugkeep

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions