Skip to content

priorities of services #43

Closed
Closed

Description

@pete111

Hi @Aircoookie , maybe I have not read wiki the right way, but what happens when I enable e.g. hyperion realtime, alexa, hue? I mean from prioritization point of view - will these services fight together? e.g. when hyperion changes realtime colors, then from time to time hue will reload remote color and will shows it for a while (flash) and hyperion continues in changing colors. Then alexa will send command to change color and flash again :) Will these services fight together or is there any prioritization implemented in Wled? (e.g. higher/lower priority for specific services)

Activity

  1. Aircoookie commented on Aug 19, 2018

    @Aircoookie
    Member

    Hi, that is a great question!
    There are basically two operation modes in WLED, normal and realtime mode. Realtime mode always has priority and after a timeout you can set in the settings, WLED will return to the last set normal mode.

    Normal mode consists of color and effects basically and can be changed by:

    • Web UI
    • HTTP API
    • Alexa
    • Hue
    • UDP sync of multiple WLED ESPs
    • Button press

    WLED will always display the latest color/effect it received from any of these sources.

    Realtime modes will override the normal color for a few seconds until it restores the previous normal color if no new realtime packet is received in the timeout period. It includes:

    • UDP realtime (WARLS, DRGB, DRGBW)
    • Hyperion UDP
    • E1.31
    • Serial Adalight protocol

    WLED is not designed to receive multiple realtime sources somultaneously, so that is undefined behavior. It would probably crash/reset the ESP because too many packets are arriving at the same time.

    If any normal mode updates are received while realtime is active, they will update the internal state, but NOT update the strip, so there's no flicker. However, the realtime animation may lag while the ESP is busy processing the normal mode request.

    Always happy to help you out :)

    Edit: Specifically with Hue, you don't need to worry, if the sync is active it will only change the WLED color if the hue color changes, not everytime the ESP polls the hue bridge!

  2. pete111 commented on Aug 19, 2018

    @pete111
    Author

    oh, that is awesome clarification Aircoookie! Thank you many times. Again I learned something about Wled behaviour :)

  3. added a commit that references this issue on Apr 8, 2020
  4. added a commit that references this issue on Nov 22, 2020
  5. added a commit that references this issue on Jun 17, 2025
  6. added a commit that references this issue on Aug 18, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions