Skip to content

Preset engine — time-based and manual preset evaluation #2

Description

@luke-kearney

Description

Evaluate and apply presets (time-based and manual) across server, firmware, and web UI.

Tasks

  • Server: Evaluate conditions_json on each config fetch to determine active preset
  • Server: Return active_preset in per-node config response
  • Firmware: Apply preset overrides (dim brightness, group swaps) in AnimationEngine
  • Web UI: Toggle presets manually, show active state

Files

  • server/Services/ConfigExportService.cs (include active preset)
  • firmare: src/engine/AnimationEngine.cpp (apply overrides)
  • ui/js/components/preset-editor.js (manual toggle)

Labels

area:server, area:firmware, area:webui, type:enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:firmwareESP32 firmware — C++, FreeRTOS, Arduinoarea:server.NET companion server — API, EF, SQLitearea:webuiVanilla JS frontend — Vite, componentstype:enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions