tadasdanielius / daikin_altherma

Daikin Altherma custom component for home assistant
MIT License
71 stars 5 forks source link

First look #7

Closed Spitfire69 closed 2 years ago

Spitfire69 commented 2 years ago

Great integration! 👍

I just added it and it seems to work very well. However I noticed that the indoor temperature at some times had a lot of decimals ie 17,799998 (or something similar).

It would also be nice if you could add a climate integration so a standard HA thermostat card could be used to set and read the temperature.

Thanks and keep up the good work!

tadasdanielius commented 2 years ago

I will look into indoor temperature rounding.

Regarding climate integration, the problem is that heat pump does not have desired temperature setting. You can control fixed leaving water temperature which normally is higher than what you want to have in the room (or colder if you are cooling), or you can set the reference temperature based on outside temperature. That makes it tricky to simply use climate integration. But here is a simple workaround to use generic thermostat

Put this into your configuration.yaml:

climate:
  - platform: generic_thermostat
    name: My Heater
    unique_id: daikin_climate_control
    target_sensor: sensor.indoor_temperature
    min_temp: 18
    max_temp: 26
    heater: switch.climate_control
    target_temp: 20
    cold_tolerance: 0.3
    hot_tolerance: 0.3
    ac_mode: false
    initial_hvac_mode: "heat"
    min_cycle_duration:
      seconds: 5

target_sensor and heater can be any temperature and switch sensor, not necessarily daikin's. I will probably add it to documentation

Spitfire69 commented 2 years ago

Thank you, great to know, at the moment I use the altherma residential integration in parallell where there is a climate component so the standard thermostat card works at least when you use Room Temperature and the heatpump itself to regulate the temperature.

I will test with your suggestion to see if I get a similar functionality since the residential integration is quite slow in responsivness and I would rather leave it.