Skip to content

Add Nuos Split heat pump state (hpState) - #212

Open
yvesjans wants to merge 1 commit into
fustom:mainfrom
yvesjans:feat/nuos-hp-state
Open

yvesjans wants to merge 1 commit into
fustom:mainfrom
yvesjans:feat/nuos-hp-state

Conversation

@yvesjans

Copy link
Copy Markdown

Add Nuos Split heat pump state (hpState)

slpPlantData already returns hpState, but the library has no enum or getter for it. This adds both, so the HA integration can show whether a Nuos Split heat pump is heating.

Mapping

Taken from the official Ariston NET web app (/Scripts/R2/app.bundle.min.js, enum eSlpHpState):

hpState Name
0 LOCKOUT
1 IDLE
2 HEATING
3 ANTILEGIONELLA
4 ANTIFREEZE

The web app also shows its anti-legionella icon when hpState == 3.

Real-device evidence:

  • VELIS NuosSplit Model 16: hpState=1 while the unit was idle at 57 °C with a 62 °C target.
  • Same unit, polled every 2 min: switched from GREEN to GREEN_PLUS, then to FAST (heat pump + element). hpState went from 1 to 2 at the first poll after the switch to GREEN_PLUS (opMode 6), and stayed 2 in FAST (opMode 2). Confirmed that the unit was heating. hpState does not show the element on its own.

Changes

  • NuosSplitHpState enum in const.py.
  • AristonNuosSplitDevice.hp_state_value, hp_state_text and hp_state_texts. They follow the same shape as water_heater_plant_mode_*: an unknown or missing value returns None and writes a debug log.
  • tests/test_nuos_hp_state.py.

Map slpPlantData hpState with the official web app enum eSlpHpState:
Lockout=0, Idle=1, Heating=2, AntilegionellaOn=3, AntifreezeOn=4.
Expose hp_state_value, hp_state_text and hp_state_texts on the device.
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