-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Playlist doesn't stop on ir remote FX command #4349
Comments
Please use JSON API and the playlist will be unloaded. The HTTP API behaviour is such by design. // set effect parameters
if (updateVal(req.c_str(), "FX=", &effectIn, 0, strip.getModeCount()-1)) {
if (request != nullptr) unloadPlaylist(); // unload playlist if changing FX using web request
fxModeChanged = true;
} |
Thanks for reply!
|
Use JSON API. |
I understand you. I used {"seg": {"fx": 66}}. It's worked. |
@willmmiles you may need to revisit HTTP API rewrite to see if original behaviour still exists. |
We didn't merge the rewrite , only the null pointer check to fix the crash case. There were still a number of other issues with it I haven't had a chance to address yet. |
What happened?
I have 38 keys IR with default config and playlist.
If the playlist has begun, it does not stop when another effect is called using the remote control.
I try Rainbow key as test, but Rainbow is canceled by the next effect of the playlist after some timeout.
To Reproduce Bug
create at least 1 preset and one playlist.
Select playlist as current effect.
Press ir remote button with next config:
"0xXXXXXX": {
"label": "Fire",
"pos": "6x4",
"cmnt": "Fire 2012",
"cmd": "FX=66&FP=35"
}
Expected Behavior
IR remote button stopped playlist and set selected effect.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0-rc1 (build 2411250)
Which microcontroller/board are you seeing the problem on?
ESP8266, ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: