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

Daikin D2C #11

Open
dmd79 opened this issue Oct 19, 2024 · 11 comments
Open

Daikin D2C #11

dmd79 opened this issue Oct 19, 2024 · 11 comments
Labels
enhancement New feature or request

Comments

@dmd79
Copy link

dmd79 commented Oct 19, 2024

Hello all...
I'm trying to use esphome opentherm on my Daikin D2C boiler
I can see many parameter and randomly turn on and off boiler, but seems something is missing
With original Daikin thermostat I can see on boiler display the room temperature, but when using esp32 the boiler display show ---
Seems the original thermostat send to the boiler the room temperature
If you have some idea about this, any test I can do please tell me
Thank

Edit
I have to use t_room as input sensor
but still can't properly regulate boiler modulation
The modulation is like 0% or 100% and the CH water temperature ore not the one I set (manually with number entity on home assistant or esp web page, I'm not using pid because want to investigate. Even with pid the modulation is like 0% or 100%)

Edit 2
I can't change dhw from esp, looking at boiler display still be at 54 degrees (the value set by original thermostat) and can't turn off

Looking at the log seems that CH_SETPOINT and DHW_SETPOINT are sent and received correctly, but the issue persist
logs_ot_logs (1).txt

@dmd79
Copy link
Author

dmd79 commented Oct 22, 2024

Today I have properly controlled t_set and boiler temperature was right.. set to 45°, then to 60° and modulation rise up... Set to 30° and modulation fall down near to 0%. Then turn off boiler central heating and turn on again... Boiler never turn on again... My OT version is 4 according to opentherm_version_device sensor

@olegtarasov
Copy link
Owner

Hi @dmd79! Unfortunately, every boiler is different and all I can do is just look at the logs and see if any errors are reported. Obviously, you've already done that. I have a really basic Buderus boiler which supports the bare minimum of OpenTherm protocol, so I can't even comment on how most of the sensors and controls should normally be working.

As for your boiler not turning central heating back on — did you try to power down the boiler, disconnect the OpenTherm bridge and run the boiler without the thermostat? On my boiler I need to short OpenTherm terminals in order to signal that thermostat is not present.

@dmd79
Copy link
Author

dmd79 commented Oct 22, 2024

Hi and thank for the answer...
I have understand the pid issue.. I was using an external home assistant temperature sensor and even show correct value on esp web page it was for some reason bad for pid. Now I'm using an adc input with a potentiometer and pid work as it should.. The only issues remain the DHW control but it's a minor issue

just to be clear.. when boiler is turn off by t_set=0 or shut down by CH_ENABLE switch it stay forced off for some minute.. I think it's the normal behavior

@FreeBear-nc
Copy link

With some boilers, the controller (master) needs to announce the OT version that it implements using ID124 if I remember my notes correctly. Failure to announce OT version could be the reason @dmd79 is having problems.

@olegtarasov
Copy link
Owner

@FreeBear-nc, thank you! Will implement this message in the develop branch and test it out.

@olegtarasov
Copy link
Owner

@dmd79
Copy link
Author

dmd79 commented Oct 25, 2024

With some boilers, the controller (master) needs to announce the OT version that it implements using ID124 if I remember my notes correctly. Failure to announce OT version could be the reason @dmd79 is having problems.

Thank for your help. Looking here seems the right I'd
https://github.com/ihormelnyk/opentherm_library/blob/master/src/OpenTherm.h#L144

@olegtarasov
Copy link
Owner

olegtarasov commented Nov 4, 2024

@dmd79 I've added an ability to specify master OpenTherm version in develop branch. You can reference it as follows:

external_components:
  source: github://olegtarasov/esphome-opentherm@develop
  refresh: 0s

You can specify OpenTherm version as a float at hub level:

opentherm:
  in_pin: IN_PIN
  out_pin: OUT_PIN
  opentherm_version: 2.2   # I don't know what version do you need, my boiler doesn't support this message :)

Please let me know if it works.

@dmd79
Copy link
Author

dmd79 commented Nov 19, 2024

Hello, I've got the log with otgw
d2c.log
in this log I have power on boiler and then set dhw on Daikin thermostat to 52 50 48 46 44 42 49 38 36 35 degree
If I'm not wrong my thermostat is writing dhw setpoint to ID 162

-> WriteData 162 34 0
-> WriteData 162 32 0
-> WriteData 162 30 0
-> WriteData 162 2E 0
-> WriteData 162 2C 0
-> WriteData 162 2A 0
-> WriteData 162 28 0
-> WriteData 162 26 0
-> WriteData 162 24 0
-> WriteData 162 23 0

the f8.8 value of 52 50 48 46 .... should be 34 32 30 2E.....

@dmd79
Copy link
Author

dmd79 commented Nov 20, 2024

Ok I'm right. The ID is 162 and the easy fix is this, but it can't be done for other of course
dmd79@ce7724d
would be fine if you can implement the possibility to change the ID on esphome or add a secondary dhw setpoint with selectable ID

@olegtarasov
Copy link
Owner

Hi @dmd79! I will look into adding an ability to override message id in a day or two.

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

3 participants