Skip to content

Using JSON API right after UDP Realtime protocol doesn't work #3589

@kryptan

Description

@kryptan

What happened?

If you call JSON API right after using UDP realtime protocol then led strip gets stuck on the color set by the last UDP packet. Neither does it return to normal mode after a timeout nor does the JSON API call works. Subsequent JSON API calls do work though.

To Reproduce Bug

  1. Send UDP realtime packet to WLED. e.g. DNRGB.
  2. Wait 100 ms.
  3. Call json/state with "on": false.

Example Rust code: https://github.com/kryptan/wled-bug/blob/master/src/main.rs

Expected Behavior

JSON call should have an immediate effect or returning to normal mode after a timeout should work.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.14.0 (build 2310130)

Which microcontroller/board are you seeing the problem on?

ESP8266, ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixed in sourceThis issue is unsolved in the latest release but fixed in masterwaiting for feedbackaddition information needed to better understand the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions