Inbound triggers & rule engine #32
Labels
No labels
area/ai
area/backend
area/frontend
area/infra
area/scheduler
area/wled
good-first-issue
priority/high
priority/low
priority/medium
type/bug
type/chore
type/ci-cd
type/docs
type/feature
type/qa
v1.0.0
v1.1.0
v1.2.0
v2.0.0
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rbrooks/Iris-WLED#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Introduce an inbound-event abstraction and a small rule engine so external signals can drive the lights: an inbound webhook, a sports team's game/win, a CI build failing, an AQI threshold, a Twitch go-live, etc.
Why it's valuable
Iris has outbound webhooks only. Adding inbound triggers is a force multiplier — one abstraction unlocks a whole class of "react to X" features (weather, sports, home automation) instead of hard-coding each. This is the shared substrate the weather-reactive and astronomical/aurora features can plug into.
Why it's a v2 bet
It introduces a new "event source" concept alongside the calendar and a rule/priority model for reconciling triggered states with the scheduled scheme — that's an architecture decision, not just a feature. Worth a design note before implementation.
Sketch
when <source/condition> then <scheme/modifier> for <duration>, priority <n>, reconciled against the scheduled scheme (temporary override with auto-revert, reusing quick-push semantics).Acceptance criteria
Design note
Land the abstraction so weather-reactive schemes and aurora alerts become event sources rather than bespoke integrations.
Proposed enhancement (brainstorm follow-up).