Skip to content

v1.7.0

Choose a tag to compare

@simonarnell simonarnell released this 31 Aug 10:09
· 5 commits to main since this release

Added

  • ScheduleSlot.CUSTOM (4) and ScheduleSlot.STANDBY (5), and a runtime ScheduleSlot object (previously a type-only union 0 | 1 | 2 | 3) mirroring the existing Mode/Profile pattern. Reverse-engineered from a live unit: clicking through a weekly schedule cell's states while reading back the underlying register showed the cycle is None→Home→Away→Boost→Custom→Standby, six states in total — Automatic is never offered as a schedule slot. STANDBY was confirmed to power the unit off for that hour: enabling the weekly schedule with a Standby slot active caused the unit's ON_OFF register to flip to POWER_OFF within seconds.

Fixed

  • ValloxClient.getWeeklySchedule() collapsed any schedule register value other than 1/2/3 (Home/Away/Boost) into 0 (None) — including 4 (Custom) and 5 (Standby), which it would have silently misreported as an empty slot. Now returns the real value. Callers that treat a schedule slot as a direct index into a fixed 0–3-sized lookup (e.g. an icon/label array sized for the old 4-value range) should size it for 0–5 instead.

Full changelog: https://github.com/simonarnell/vallox.js/blob/main/CHANGELOG.md#170---2026-08-31