Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling text stops scrolling after relais switch off #4228

Closed
1 task done
robertvb83 opened this issue Oct 26, 2024 · 5 comments
Closed
1 task done

Scrolling text stops scrolling after relais switch off #4228

robertvb83 opened this issue Oct 26, 2024 · 5 comments
Labels
bug confirmed The bug is reproducable and confirmed fixed in source This issue is unsolved in the latest release but fixed in master

Comments

@robertvb83
Copy link

robertvb83 commented Oct 26, 2024

What happened?

I have a matrix panel with eight 16x16 panels arranged 4x2

Relais is set to i/o pin 5

I use a poti to control brightness as well as a switch set to an on/off preset.

I setup
a background segment 0-64 , 0-32 (total panel)
A top segment 0-64 , 0-16 with long scrolling text overlay
A bottom segment 0-64 , 16-32 with #DDMM

Everything works fine if this preset is started (also if started at boot)

However if poti is turned to off so that relais cuts power to leds or if the switch is set to off, the text will freeze and no longer scrolls when lights turn back on

To Reproduce Bug

See above

Expected Behavior

Text should be scrolling through power cycles of the relais

Install Method

Self-Compiled

What version of WLED?

WLED 0.15-b6

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@robertvb83 robertvb83 added the bug label Oct 26, 2024
@blazoncek
Copy link
Collaborator

Please use b6 and report back.

@blazoncek blazoncek added the confirmed The bug is reproducable and confirmed label Oct 26, 2024
@blazoncek
Copy link
Collaborator

It will resume scrolling after a while.

@robertvb83
Copy link
Author

I self-compiled version as of today. The issue still persists

@blazoncek
Copy link
Collaborator

Can you confirm that changing led.cpp function toggleOnOff()to this:

void toggleOnOff()
{
  if (bri == 0)
  {
    bri = briLast;
    strip.restartRuntime();
  } else
  {
    briLast = bri;
    bri = 0;
  }
  stateChanged = true;
}

fixes the issue?

@robertvb83
Copy link
Author

It fixes the issue for on/off via switch!
On/off via poti still results in text freeze... Does that make sense?

blazoncek added a commit that referenced this issue Oct 26, 2024
- increase WLED_MAX_BUSSES for C3 (fixes #4215)
- fix for #4228
- fix for very long running effect (strip.now, strip.timebase)
- C++ API change to allow `seg.setColor().setOpacity()`
@blazoncek blazoncek added the fixed in source This issue is unsolved in the latest release but fixed in master label Oct 26, 2024
softhack007 added a commit to MoonModules/WLED that referenced this issue Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed The bug is reproducable and confirmed fixed in source This issue is unsolved in the latest release but fixed in master
Projects
None yet
Development

No branches or pull requests

2 participants