Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: D2CND Gas boiler - heatingDay & heatingNight as presets in addition to Away #113

Open
mihsu81 opened this issue Mar 21, 2024 · 18 comments
Labels
enhancement New feature or request

Comments

@mihsu81
Copy link

mihsu81 commented Mar 21, 2024

Version: v4.0.18

Please add heatingDay & heatingNight as presets for the Room Temperature climate entity in addition to Away, for the D2CND Gas boiler.
Currently the integration sets the Mode to heatingDay (listed as Heat).
The main reason for this is to keep the schedules in the thermostat so other people in the house can set it without depending on HA.

image
daikin_d2cnd.json

Thank you in advance.

@mihsu81 mihsu81 changed the title [Feature Request]: D2CND Gas boiler - heating_day & heating_night as presets instead of Away [Feature Request]: D2CND Gas boiler - heatingDay & heatingNight as presets in addition to Away Mar 21, 2024
@jwillemsen jwillemsen added the enhancement New feature or request label Mar 21, 2024
@jwillemsen
Copy link
Owner

This is not as easy as it sounds, day/night are exposed by daikin as operation mode and not preset mode. Would require special handling in preset mode. It gets even more complex when heatingDay/Night are combined with a daikin preset mode, what to return at that moment?

@jwillemsen
Copy link
Owner

Please attach a debug log so that I can see what exactly is determined now

@jwillemsen
Copy link
Owner

Also attach a json where the device is in heatingDay mode

@mihsu81
Copy link
Author

mihsu81 commented Mar 21, 2024

The same as in issue 114 home-assistant_daikin_onecta_2024-03-21T07-54-46.724Z.log

Can you please remind me how I can get the json file again? This one is an old one from 2022? Sorry 😁

@jwillemsen
Copy link
Owner

Go to the daikin_onecta integration and press the three dots after configure, download diagnostics. The API has changed the data we get back from Daikin, please remove the old diagnostics files from your issues and upload new ones, see #46 for data we don't get back anymore from Daikin

@jwillemsen
Copy link
Owner

heatingDay/heatingNight are not documented as valid values as part of the new API, see https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/supported_features#doc-heading-operation-mode.

@mihsu81
Copy link
Author

mihsu81 commented Mar 21, 2024

All sorted now .. the asusrouter integration was causing an internal server error whenever i was trying to export diagnostics data and I had to remove it.

In heatingNight mode with schedule off.
daikin_onecta-heatingNight-no_schedule.json

In heatingDay mode with schedule off.
daikin_onecta-heatingDay-no_schedule.json

In heatingDay mode with schedule set to Automatic 1.
daikin_onecta-heatingDay-schedule-automatic_1.json

@jwillemsen
Copy link
Owner

jwillemsen commented Mar 21, 2024

Are heatingDay/heatingNight schedule settings? They are not documented as valid values, is this something you manually set? Schedules are not supported through this integration, it assumes that HA is in full control, at the moment you enable a Daikin schedule a lot of values can't be set anymore through the API

I did see the diagnostics error in your log, made a fix for that, will be part of the next release

@mihsu81
Copy link
Author

mihsu81 commented Mar 21, 2024

There are 2 schedules which can be enabled or not and they're saved in the thermostat.
A schedule changes between heatingDay and heatingNight based on what I set in the Onecta app or the local thermostat.
Even if scheduling is not enabled, the operation modes are still named heatingDay and heatingNight and can be changed from Onecta or the thermostat.
Currently the Automatic 1 schedule is enabled for household members who prefer the thermostat for scheduling.
I haven't seen any limitation in my case if the thermostat scheduling is enabled.

@jwillemsen
Copy link
Owner

As these are not documented by Daikin at all I am not sure whether these are generic operation modes that more devices can return or that they are caused by some setting in specifically your device.

@Daikin-Europe, can you maybe give some insights?

@mihsu81
Copy link
Author

mihsu81 commented Mar 21, 2024

Maybe a dropdown list to select the operation mode heatingDay/Night?

P.S. Would it be possible to add a dropdown list to select the current schedule or set it to none (disabling it)?

@jwillemsen
Copy link
Owner

The operation modes which map to the HA hvac mode are fixed by HA, we are not allowed to extend them, see https://developers.home-assistant.io/docs/core/entity/climate/#hvac-modes

Setting a schedule is very likely possible, but not an easy task, need to analyze the data, implement it, test it, at least a day of work and very low on my priority list (just the update to this new API took me a lot of time, more than I really wanted to put into this hobby project)

@mihsu81
Copy link
Author

mihsu81 commented Mar 21, 2024

Understood. Indeed, it is more a nice to have than anything else. Whenever you find the time.

Thanks again for the great work you put into this migration and the integration in general.

It's strange that these operation modes are not supported, because the gateway is:
image

@jwillemsen
Copy link
Owner

Please contact Daikin for anything you miss. The documentation for setting/retrieving the current schedule seems not to be complete, asked Daikin to extend it.

@mihsu81
Copy link
Author

mihsu81 commented Mar 22, 2024

Any guidelines on how I can contact them to add the missing operation modes?
Thanks.

@jwillemsen
Copy link
Owner

See https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/certification

@mihsu81
Copy link
Author

mihsu81 commented Mar 22, 2024

See https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/certification

Thank you. I've emailed them. Hopefully they'll come up with a solution easy to implement.

@jwillemsen
Copy link
Owner

Looks Daikin added the operation modes to their documentation, still not 100% what the best mapping is to HA, a schedule or a preset mode, but both will not be a small/easy change, and very likely not a 100% fit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants