Repository navigation
Allow up to 12 slots per day for heating zones - #21
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.maxSlotsreplaces the globalMAX_SLOTS = 3: zones Z1–Z3 → 12, HWC and CC → 3too_many_slots), slot-count parsing, the add-slot suggestion, the "n left" note and the MQTT adapter (reads slot sensors…0……11for zones; only the firstcountare needed, so configs with 3 read messages keep working for days with ≤ 3 slots)…3……11for MQTT)Not included
The
max_slotsfield thatarotherm_genia_ebusdnow returns fromread_time_programis not used. The limits are fixed per program.Tests
npm run typecheck,npm test(all passing),npm run test:e2e(all checks passed)