Skip to content

Fix and add Absolute Controls HVAC JSON profile (port 4998)#2

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

Fix and add Absolute Controls HVAC JSON profile (port 4998)#2
devprbtt wants to merge 2 commits intomainfrom
codex/create-hvac-control-profile-for-json-commands-crfaq3

Conversation

@devprbtt
Copy link
Copy Markdown
Owner

@devprbtt devprbtt commented Feb 2, 2026

Motivation

  • Provide a working HVAC-only profile for Absolute Controls that communicates over TCP using JSON payloads on port 4998 and matches the ENV_HVACCONTROLLER_SOURCE resource expectations.
  • Align action and state variable names/bindings so the HVAC UI/state center integrates correctly and optimistic updates work as expected.
  • Replace the broken/insufficient earlier profile with a clearer, consistent JSON command assembly approach that uses the thermostat address as the id field.

Description

  • Add new profile file absolute/absolute controls_hvac_json.xml declaring an IP control interface on port 4998 and an ENV_HVACCONTROLLER_SOURCE resource.
  • Define HVAC state variables including setpoints (Current_Cool_Point_Setting, Current_Heat_Point_Setting), mode/power/fan state (Current_Mode_State, Current_Power_State, Current_Fan_State), mode booleans, and fan-mode booleans (ThermostatCurrentFanModeIs*).
  • Implement actions for setpoints (SetCoolPointTemperature, SetHeatPointTemperature), mode control (SetHVACModeHeat/Cool/Off), incremental setpoint changes (Increase/Decrease*), and fan speed (SetFanSpeedHigh/Mid/Low/Auto) that assemble JSON commands via parameter_list with ThermostatAddress as the id.
  • Keep optimistic updates for mode/power/fan and set HasReceivedCommand flags so UI/state updates immediately on user actions.

Testing

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

Codex Task

Updated HVAC control interfaces to include TCP protocol and adjusted response time. Added audio and video media support in the internal component.
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