speleolontra / daikin_residential_altherma

Home Assistant Integration specific for BRP069A78 Heat Pump Model, via Daikin App Onecta. Users have good experience also for BRP069A62 and BRP069A61 (but not tested directly).
GNU General Public License v3.0
98 stars 14 forks source link

Add support for "holiday mode" #184

Open fernwerker opened 1 year ago

fernwerker commented 1 year ago

I'd like to set a global holiday mode via home assistant to my entire house, so also to the Altherma. So far I only find a configuration variable to see, if holiday mode is active, but no way to switch it on.

Additionally I didn't find any documentation about the interface, used to access Altherma and if this even provides this setpoint.

Any help would be appreciated.

jwillemsen commented 1 year ago

Holiday mode is the preset mode AWAY with HA, see https://www.home-assistant.io/integrations/climate/#service-climateset_preset_mode. The altherma has a holidayMode set point, which you can enable, but it does have start/end date. Maybe just switch the Altherma off?

            "holidayMode": {
              "settable": true,
              "requiresReboot": false,
              "ref": "#holidayMode",
              "value": {
                "enabled": false,
                "startDate": "2017-01-01",
                "endDate": "2017-01-01"
              }
            },
fernwerker commented 1 year ago

But the integration does not add a "climate.set_preset_mode" to my Altherma entity.

Additionally, I know that the Altherma has a holiday mode, but how do I trigger this via the integration? Setting a date would be totally acceptable.

Switiching of in Winter is not an option, as holiday mode holds the temperature at a minimum.

jwillemsen commented 1 year ago

Setting holiday more (away preset), is currently not supported, something to add when I have spare time, very likely this can be combined with ecoMode (see https://github.com/speleolontra/daikin_residential_altherma/issues/160)

jwillemsen commented 1 year ago

This does work for the non altherma daikin devices, looks there are some code differences between the two integrations, I have made some local changes, will try to test that next week, when it works I will add that and release a new version

jwillemsen commented 1 year ago

At the moment the Altherma is put in holiday mode this is in the json data

            "holidayMode": {
              "settable": true,
              "requiresReboot": false,
              "ref": "#holidayMode",
              "value": {
                "enabled": true,
                "startDate": "2023-10-30",
                "endDate": "2023-11-06"
              }
            },
jwillemsen commented 1 year ago

See https://github.com/speleolontra/daikin_residential_altherma/pull/185 for a branch that has support to read the holidayMode from the Altherma, setting it is a little bit more complex as some checks are causing a problem

fernwerker commented 11 months ago

Thanks for the response. Checking it is interesting, but the more helpful feature is actually "setting" it so this can be based by the overall vacation settings that are triggered in home assistant. Looking forward to any progress on this.