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

feat(effects-controller): add support for simple effects controller with preconfigured buttons #40

Merged
merged 7 commits into from
Feb 3, 2025

Conversation

Yoronex
Copy link
Member

@Yoronex Yoronex commented Feb 3, 2025

Description

This PR adds support for the simpler effects controller in the backoffice. Basically, this PR implements a new LighstPredefinedEffect entity, which stores a preconfigured button on the controller. This button change change colors, apply effects, turn on/off lights switches, turn on/off the strobe, etc. With this, the user can configure a "board" with buttons that do different things.

Related issues/external references

Fixes #33.

Types of changes

  • New feature (non-breaking change which adds functionality)

@Yoronex Yoronex merged commit febbec7 into develop Feb 3, 2025
2 checks passed
@Yoronex Yoronex deleted the feat/effects-controller branch February 3, 2025 18:37
Yoronex added a commit that referenced this pull request Feb 5, 2025
…ith preconfigured buttons (#40)

* chore(lights): make pattern enum string-based

* chore(lights): rename predefined effect to track effect

* feat(effects-controller): add endpoints for effect controller buttons

* fix(effects-controller): small issues and mistakes

* feat(lights-controller): add reset button

* feat(lights-effects): allow changing colors mid-effect

* fix(lights-effects): deadlock when passing undefined as color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new interface to Backoffice for predefined effects.
1 participant