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

The "Random Cycle" does not support more than one device #146

Open
Teraskull opened this issue Dec 5, 2021 · 0 comments
Open

The "Random Cycle" does not support more than one device #146

Teraskull opened this issue Dec 5, 2021 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@Teraskull
Copy link
Collaborator

The Random Cycle timer has to be completely reimplemented, because it was relying on the all_devices config.

Now that every device can have different effect_random_cycle settings , for example:
device_0 :

"interval": 10

device_1 :

"interval": 15

The timer can't track multiple devices and different intervals.

@Teraskull Teraskull added the bug Something isn't working label Dec 5, 2021
Teraskull added a commit that referenced this issue Dec 5, 2021
Teraskull added a commit that referenced this issue May 12, 2022
Currently these backend features should work:
* Toggle Random Cycle for one, multiple, or all devices.
(Each device gets a different effect)
* Dynamically change interval and effects while Random Cycle is running.
* Resume timer after changing effect back to Random Cycle.
* Only one Random Cycle timer is running per device.
(Selecting it multiple times by clicking/API skips the current effect)
* Timer pauses when any other effect is selected.

What does not work:
* Random Cycle does not run on server restart if it was the last effect.
@Teraskull Teraskull added this to To do in Version 2.3 May 12, 2022
@Teraskull Teraskull moved this from To do to In progress in Version 2.3 May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Version 2.3
In progress
Development

No branches or pull requests

1 participant