v16.0 - sync across multiple controllers / segments losing colour

Đang mở
#5,705 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@softhack007 đang làm issue này rồi.

Từ ngày 27/10/2026.

  • #5706 của @Garold86 — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
embedded-iot

Hướng nghiên cứu

Start by reading the UDP sync receive path in wled00/udp.cpp, especially the per-segment sync loop. Check how incoming colour is applied to the main segment versus effect and palette on other segments. Done means changing the sender's primary colour updates every receiver segment in the described setup; verify with two WLED instances and multiple segments.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
What happened?

When two or more WLED instances are synced over the network and a segment uses the Solid effect, changing the primary colour on the sender does not update the color on the receiving instances. The receivers stay on their old colour. Effects, palette, speed and intensity all sync correctly — only colour fails to sync. It's most obvious with Solid because the colour is the whole output. I have more than one segment configured, and the segments other than the main segment never get the new colour.

To Reproduce Bug
  1. Set up two WLED instances on the same network with Sync send/receive enabled (same sync group), "Segment options" sync left OFF (default).
  2. On both, create 2+ segments and select them all, set effect to Solid.
  3. On the sender, change the primary color.
  4. The sender updates all segments; the receiver's non-main segments keep the old colour.
Expected Behavior

The new colour should persist across all segments, in the same way effect / intensity etc. do.

Install Method

Binary from WLED.me

What version of WLED?

WLED 16.0.0

Which microcontroller/board are you seeing the problem on?

ESP32 with ethernet

Relevant log/trace output

Anything else?

Not hardware-specific — it's in the UDP sync receive path in wled00/udp.cpp. The incoming color is only applied to the main segment, while the per-segment sync loop applies effect/palette but not color. I have a fix and will open a PR.

Code of Conduct
  • I agree to follow this project's Code of Conduct
Ngôn ngữ chính
C++
Star
18.8k
Fork
4.4k
Merge trung bình
3 ngày 5 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wled/WLED

Tất cả issue của wled/WLED

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.