nymea-energy-plugin-nymea/energyplugin/schedulingstrategies
Patrick Schurig 0797f37c78 feat: ManualStrategy — community tier scheduling with full manual control
- Add ManualSlotConfig type with weekly repeating support and auto-expiry
- Add ManualStrategy (strategyId="manual"): applies user-defined allocations
  exactly; expired slots logged and skipped; inflexible/critical loads always
  applied as safety fallback; decisionReason never empty
- Extend SchedulerSettings with manualSlots persistence section (INI array)
- Extend SchedulerManager with setManualSlot/removeManualSlot/clearManualSlots
  methods; hydrates ManualStrategy from settings on registerStrategy()
- Add JSON-RPC v11 methods: GetManualSlots, SetManualSlot, RemoveManualSlot,
  ClearManualSlots + ManualSlotActivated push notification
- Register ManualStrategy in energypluginnymea.cpp::init() (no feature flag)
- Add 5 unit tests: basicSlot, noConfig_fallback, expiredSlot, repeatingSlot,
  persistence (JSON round-trip)
- Update doc.md section 11

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 06:34:31 +01:00
..
aistrategy.cpp feat: SchedulerManager v1 — build clean 2026-02-23 22:02:01 +01:00
aistrategy.h feat: SchedulerManager v1 — build clean 2026-02-23 22:02:01 +01:00
ischedulingstrategy.h feat: SchedulerManager v1 — build clean 2026-02-23 22:02:01 +01:00
manualstrategy.cpp feat: ManualStrategy — community tier scheduling with full manual control 2026-02-24 06:34:31 +01:00
manualstrategy.h feat: ManualStrategy — community tier scheduling with full manual control 2026-02-24 06:34:31 +01:00
rulebasedstrategy.cpp feat: SchedulerManager v1 — build clean 2026-02-23 22:02:01 +01:00
rulebasedstrategy.h feat: SchedulerManager v1 — build clean 2026-02-23 22:02:01 +01:00