Skip to content

Support multiple thermostat IDs in Absolute Controls HVAC JSON profile#3

Open
devprbtt wants to merge 2 commits intomainfrom
codex/create-hvac-control-profile-for-json-commands
Open

Support multiple thermostat IDs in Absolute Controls HVAC JSON profile#3
devprbtt wants to merge 2 commits intomainfrom
codex/create-hvac-control-profile-for-json-commands

Conversation

@devprbtt
Copy link
Copy Markdown
Owner

@devprbtt devprbtt commented Feb 2, 2026

Motivation

  • The previous profile used hard-coded _1 suffixes in state center bindings which prevented UI setpoint feedback for thermostat IDs greater than 1.
  • The goal is to allow multiple thermostat zones to surface setpoints and modes correctly in the Savant HVAC UI by using per-zone bindings.
  • Keep the existing JSON command format and optimistic update behavior so control actions continue to work as before.

Description

  • Updated absolute/absolute controls_hvac_json.xml to remove hard-coded _1 suffixes from state_center_binding values so bindings use the generic names (for example ThermostatCurrentCoolPoint instead of ThermostatCurrentCoolPoint_1).
  • Bumped the profile revision to 1.2 and updated rpm_xml_version to reflect the change and added a notes entry about removing hard-coded zone suffixes.
  • Actions remain ENV_HVACCONTROLLER_SOURCE implementations and continue to accept an action argument ThermostatAddress which is inserted into the JSON id field via the parameter_list for per-thermostat commands.
  • Preserved optimistic updates and HasReceivedCommand behavior for setpoint, mode, power and fan actions so UI/state center updates immediately on user actions.

Testing

  • No automated tests were executed for this profile-only change.

Codex Task

Updated HVAC JSON profile to version 1.1 with protocol changes and added media interfaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant