Skip to content

Allow up to 12 slots per day for heating zones - #21

Merged
citoki merged 1 commit into
mainfrom
feat/12-slots-zones
Dec 1, 2026
Merged

citoki merged 1 commit into
mainfrom
feat/12-slots-zones

Conversation

@citoki

@citoki citoki commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Fixes the card side of #18.

The VRC 720 documentation allows up to 12 time slots per day for heating zones, although the myVAILLANT app only offers 3. R91g confirmed the limits on a BASS3 via eBUS (b555 a3): 12 for heating, 3 for hot water and circulation. Before this change the card capped every program at 3, so a zone with 5 slots could not be read over MQTT (the slot count was rejected) or edited.

Changes

  • ProgramSpec.maxSlots replaces the global MAX_SLOTS = 3: zones Z1–Z3 → 12, HWC and CC → 3
  • Used in validation (too_many_slots), slot-count parsing, the add-slot suggestion, the "n left" note and the MQTT adapter (reads slot sensors …0 … …11 for zones; only the first count are needed, so configs with 3 read messages keep working for days with ≤ 3 slots)
  • Tests for both limits
  • Docs: README, index, usage, ebusd and ebusd-config (how to add read messages …3 … …11 for MQTT)

Not included

The max_slots field that arotherm_genia_ebusd now returns from read_time_program is not used. The limits are fixed per program.

Tests

  • npm run typecheck, npm test (all passing), npm run test:e2e (all checks passed)

The VRC 720 documentation allows up to 12 time slots per day for heating
zones, even though the myVAILLANT app only offers 3. Hot water and
circulation stay at 3 (confirmed on BASS3 via b555 a3 in #18).

Replace the global MAX_SLOTS = 3 with a per-program maxSlots on
ProgramSpec and use it in validation, slot-count parsing, the add-slot
suggestion, the slot list and the MQTT adapter. Update docs.
@citoki
citoki merged commit ee15171 into main Dec 1, 2026
6 checks passed
@citoki
citoki deleted the feat/12-slots-zones branch December 1, 2026 18:24
This was referenced Dec 1, 2026
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.

1 participant