arjenbos / ha_alpha_home

A custom Home Assistant integration for Alpha Innotec heat pumps.
Apache License 2.0
5 stars 1 forks source link

Feature request: Add set-back and comfort temperatures as input_numbers #24

Open DrBlokmeister opened 1 year ago

DrBlokmeister commented 1 year ago

Every few hours to few days, my temperature setpoint reverts to a default temperature. In the web UI of the control box, it is possible to change this value. It would be nice if this would be included in this integration.

I'm looking around a bit in the controller, and I can find the web UI where I can change the values. The value can be read out from http://CONTROLLER_IP/api/room/list and looking for the "groups" and then "rooms" key. Each room has the following data:

  {'id': 7,
   'appid': '01070002',
   'actualTemperature': 21,
   'isComfortMode': False,
   'desiredTemperature': 19.5,
   'roomstatus': 99,
   'desiredTempDay': 19.5,
   'desiredTempDay2': 18,
   'desiredTempNight': 18,
   'scheduleTempMin': 15,
   'scheduleTempMax': 28,
   'minTemperature': 18,
   'maxTemperature': 28,
   'cooling': False,
   'coolingEnabled': True,
   'imagepath': '/assets/images/room/default.png',
   'name': 'Woonkamer',
   'orderindex': 7,
   'originalName': 'Woonkamer',
   'status': 'problem',
   'groupid': 1,
   'windowPosition': 0}],
 'orderindex': 1}

The comfort temperature in the UI modifies both the desiredTempDay and desiredTemperature. The setback temperature in the UI modifies both the desiredTempDay2 and desiredTempNight.

Please let me know if you require additional information in order to add this.

arjenbos commented 12 months ago

Do you know if the keys desiredTempDay and desiredTempDay2 are used in exactly the same way for everybody?

ChrisMisker commented 12 months ago

Actually, what I do for this: in the Alpha Home app (for your phone/tablet), you can set the Cycle time, ("schakeltijden" in Dutch) (see settings). There, make sure you set the normal temperature (full sun) for the whole day. Normally, the system is set up to go to "comfort temperature" at night, but if you have a heat pump, you don't want this, you want the temperature to be the same always. This way, the temperature never drops back to the comfort temperature, but always stays on the temperature you set (in the app, or what we do: in home assistant by using this great integration!). When the Alpha Innotec support guy was here, this was the first thing he did.. so maybe check that out.

I have no idea where to set this in the control box web UI (perhaps in the advanced part, but I don't have the code for that). Also, I'm not sure if you should change the desiredTemp temperature... because then you'd mess up the way the system works. I think you should change these parameters, once, in the app.. set them to what you want.. and then use this integration to set the temperature to what you want. For me it'd be better to use the app for setting up the system, and the integration for the daily interaction.

Schermafbeelding 2023-11-29 om 10 32 25

DrBlokmeister commented 12 months ago

Thanks for the response Chris! I already have this apparently. I'd need to check if my system indeed switches back and if so, when.