-
Notifications
You must be signed in to change notification settings - Fork 11
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 and Modbus interface #4
Comments
I know about these two products. Made by 3rd company, sold by Daikin. See also: http://www.realtime-controls.co.uk/index.php/site/product-list/C1/ These are quite old products. RTD-LT/CA was for the very first "CA" generation of Altherma LT. Did not try it. But according to the manual (and according to Daikin representative to whom I talked few years ago), it is not compatible with the second "CB" generation of Altherma LT (I have second generation Altherma LT which has CB in the product name: EHVX08S26CB9W ). I very much doubt it would be compatible with the newest (3rd) generation of Altherma. |
BTW there is another commercial P1P2 <-> Modbus solution by Intesis, but probably only for Daikin cooling units: And of course, P1P2 <-> KNX solution by Zennio, compatible with Altherma 3: |
Today we installed a Altherma 3 H HT W (ETBH16EF9W) and Daikin told me to use the DCOM-LT/IO unit for Modbus access: |
You are right! Thanks for sharing the info, I did not know about it (probably some new product). There is also a "DCOM-LT/MB" unit. Only Modbus, no relays, no analog inputs. Probably cheaper. You can check its capabilities by looking at Modbus registers here: Issue reopened for others to see. EDIT: Yep, 400€ .... |
Thanks for the Info... I will look for the /MB version... I'm searching for a solution to query some values and switch the functions heat/cooling/water on/off. Because i want to disable the water heat function at night when the next days we have more than 8 hours of sun. But cooling should still possible, so i can't use the solarlock input. And on the other side i want only allow cooling when i have solar power or enough power in my battery's. In the past we had a Novelan/Luxtronic device and that o controlled from my linux server with a python script. The same i want to create now with the Altherma. |
hi there, do you know where I purchase the DCOM-LT/MB in the UK please? Thanks |
I have an Daikin Altherma 3 H MT W connected with the DCOM LT/MB Modul. I can set via Modbus the following values: 1 Leaving Water Main Heating Setpoint / 25 .. 55ºC It works quite well. |
MichaelST01 would you mind sharing how you did this over ModBus? I have almost the same setup: A Daikin Altherma 3 H HT W connected with DCOM LT/MB module. But I am only capable of reading some registers and can't find a way to control the operating mode (start/stop) or change water main heating setpoint. Only documentation I found is in the DCOM manual - perhaps you have another reference? |
I did it the following way: In the final version I use a UVR16x2 (www.ta.co.at) with a modbus RTU interface to control it. It also controls the heating circuits of the house (from the puffer). |
Did you find any Modbus Device/Module for the "CB" Generation? |
I have a similar configuration: A Daikin Altherma 3 H HT W connected to a DCOM LT/IO module. I can only read some registers but not write, e.g. to change the operating mode. As a controller, the UVR16x2 connected to the CAN-BC2 including the Modbus board. Would it be possible to get the necessary files (*.dat, *.tdw)? It would help me a lot, thanks in advance. |
No problem, here are the files. At the moment I switch the pool heating manually on with UVR16x2 (when it is on the Daikin changes operating mode, and sets Temperature to 43°C, when it is off it switches operating mode back). But I suppose you have a different hydraulic setup. |
Hello,
Thank you for the files. For me the programming of the communication Uvr16x2 <-> Dcom <-> Daikin is the most important. I will try to implement this in my hydraulic plan in the near future.
Best regards.
Jo
Are you from Germany?
Gesendet: Dienstag, 18. Juli 2023 um 09:06 Uhr
Von: "MichaelST01" ***@***.***>
An: "budulinek/arduino-altherma-controller" ***@***.***>
Cc: "hdm64a" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [budulinek/arduino-altherma-controller] Daikin and Modbus interface (Issue #4)
@hdm64a
No problem, here are the files. At the moment I switch the pool heating manually on with UVR16x2 (when it is on the Daikin changes operating mode, and sets Temperature to 43°C, when it is off it switches operating mode back). But I suppose you have a different hydraulic setup.
TDW Files.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I am from Austria, that's why the comments in the files are in German :-) |
Hello,
I have problems switching the WP on and off via the Modbus. How do you do that or do you know a solution.
Thank you.
Gesendet: Dienstag, 25. Juli 2023 um 12:36 Uhr
Von: "MichaelST01" ***@***.***>
An: "budulinek/arduino-altherma-controller" ***@***.***>
Cc: "hdm64a" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [budulinek/arduino-altherma-controller] Daikin and Modbus interface (Issue #4)
I am from Austria, that's why the comments in the files are in German :-)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
DCOM Configuration Mode.pdf |
Hi i got the DCOM-LT/IO Thanks |
Hi, |
This Home Hub sounds very promising, but getting it seems somewhat difficult. It was introduced the end of last year. Could you share where you bought or got it from? |
Here in germany from our installer, he got it from his Daikin reseller "thiele & fendel". |
I'm from France, I have ALTHERMA2 (CB version as stated above) and I'm ready to order the DCOM-LT-IO to communicate over Modbus from HA. What "limitations" have you encountered with the cheap RTU to TCP gateways ? Discarding TCP payloads => what is the impact in terms of controlling the unit ? What gateway do you recommend if the limitation is an issue ? Thanks. |
If you have troubles with cheap Chinese Modbus RTU -> TCP gateways, you can try my own Modbus RTU ⇒ Modbus TCP/UDP Gateway ;-) Here is a tutorial and a firmware for an Arduino-based gateway. Quite reliable, works in my house for years. For your information: in my gateway, payloads are stored in a buffer, they are not discarded. Of course, if you you bombard the gateway with very frequent requests and you manage to fill the buffer, then the TCP request is discarded :-) Moreover, you can see the utilization of the buffer in the Web UI, you can also see counter for these "gateway overloaded" errors in webUI. |
In my view you have 2 possible ways: Don't order the DCOM-LT-IO, use the HomeHub: https://www.daikin.eu/en_us/products/product.html/EKRHH.html When your heatpump isn't compatibe with the HomeHub, then you need to use the other part and use a gateway to modbus TCP. The problem is the following with the gateways: When you request the content of the registers 1,2,3 and 6 then this request will be send in 2 parts: But for the second request we don't get an answer. A workaround is to query only registers that are together at a time. Or only single registers... |
I would of liked to go for the EKRHH but it is only compatible with the Altherma "3" and I have the Gen 2. On what controls will I be limited since I yet did not go in details and do not know what the impact will be ? What function will work or not work ? Whats crazy is that DAIKIN give the DCOM-LT compatible with the unit. |
Yeah, seems that cheap Chinese Modbus gateways do not have a buffer at all. My Modbus gateway stores 10 requests in a buffer. https://github.com/budulinek/arduino-modbus-rtu-tcp-gateway Feel free to give it a try. I do not have DCOM-LT-IO myself, but I have tested my Modbus gateway extensively. |
@StefanR71 I'm thinkging Unless you where using the DCOM-LT with a Gen 3 and its not fully compatible with the Gen 3..... I received this compatiblity list from Daikin : It mentions not compatible with : Altherma 3 R split (ERGA-E). But for Gen2 it is compatible : ERLQ-C Maybe the conclusion is that : |
Do you mean it's better to use arduino without a commercial modbus gateway ? |
Sure, this is what I mean. I am quite confident in my gateway - it is better than these Chinese commercial gateways. |
@adicorra thanks for the feedback! I am always happy to hear that it works :-)
|
Thanks for your recap. Yes, I can confirm everything is working perefectly. I didn't experience the issues with the other commercial gateways since I didn't test them, but if @StefanR71 tells me exactly what register (on the Altherma) doesn't work because of the multiple parts inside the data packet , then I can test it live and confirm. |
@budulinek, regarding the default IP, can you please confirm because I recall to have changed it and reflashed but didn't seem to take into account (I mean before going in the WebUI). This is important as the gateway will be in the unit casing and don't want to unwire just to change the IP one day. Ideally can we get another IP adress at boot without going through the WebUI ? Did I do this correctly ? In yellow the values I changed (here they are as default of course) |
@adicorra Yes, this is where you change the default IP. You can also see the default static IP on the "Tools" page in web UI. And you can test your default IP by clicking "Load Default Settings". The button will erase your EEPROM (only MAC address is retained) and default settings from advanced_settings.h will be apllied (incl. your default IP) . BTW can I use the picture of your hardware (with the KKSB case) in my my readme? |
Yes you can, with pleasure. |
Update : this morning I had just setup 2 input sensors that worked fine and supplied me with the water temp. I tried to control the cooling today and it takes it (relay 1 goes on) and the remotcon led goes green but the PUMP does not start. I checked the min outside temperature thinking it was reset and the value is correct. I don't know whats going on. Also, if I change the "Room Cooling Setpoint" the value on the remotcon doesn't change. Weird. |
Found the issue ! Before I had the LAN adpater and when I removed it (because its not compatible with a Remotcon + DCOM), my room thermostat switched to "At Unit" in [A.2.1.B] - Once switched back to "In Room" as it should be (thermostat) then all came back as before and HP working now with Climate Entities from HA. |
@budulinek here is a picture of the full kit installed on a DIN rail inside the indoor unit.
You can use it as you wish. |
A lot of errors? Come on...
Most probable cause of these soft errors: Arduino delays in processing the response. Arduino is a single-threaded computer. I have invested a lot of effort in optimizing the code to make it non-blocking (I have even modified some of the core functions in the ethernet library). But I suspect that under certain circumstances (0,5% of cases), Arduino is not fast enough to process the Modbus RTU response. What probably happens:
As I said, Invalid RTU Response and Response Timeout are soft (fully recoverable) errors. Treat them as warnings - no need to worry about them. Watch out for Slave Responded with Error, Gateway Overloaded and Slave Failed to Respond. |
No problem, I was anticipating your answer that it is not an issue since I mentioned not to have errors. I was just curious to understand from where these "dropped communications" could come from and I think you have a given a clear analysis. Your project is so good that it even tracks such "missed paquets". I really appreciate what you have done on optimizing the code. A nice project in the end. Did you consider industrializing it in a complete package ? |
Hi @budulinek How do we disable this if we have hardware flow control ? PS : im facing issues with the arduino not accessible when it starts (I havent identified why yet). |
@StefanR71 Arduino ethernet is just crap, not industrial and not stable. Going with this, industrial and works perfectly ! https://www.pusr.com/products/din-rail-rs485-serial-to-ethernet-converter-usr-dr302.html |
Yes it is working, when you query only single registers or registers that are directly following. But when you query multiple registers like 2, 8, 30 then it isn't working you will receive only the answer for the first register. I was in touch with the support and they told me this is an issue. |
This is not an issue to control the Altherma, |
It is an problem when you query the following registers in one query: Input registers: 29, 30, 34, 36, 37, 39, 40, 41, 42, 43, 44, 48, 51, 52 When i send this directly to the HomeHub via Modbus TCP i'm getting an answer. But when the HomeHub is in RTU mode and i use the USR IOT gateway i'm gettig a timeout, because the gateway don't understand multiple Modbus packets in one TCP packet. So query single registers is a workaround to get this working but the behavior of the gateway isn't correct. |
Ok, but what devices do such multiple requests ? I don’t think HA does this nor the Fibaro app. I will test the commercial one and let you know. The fact that Arduino is some sort of « lego » board is a big issue, not reliable, no electrostatic standards, ETH is not reliable, so many drawbacks. Sometimes you start it and nothing. |
I don't know i have written my onwn monitoring and i was using this to query a Modbus device: https://github.com/favalex/modbus-cli Here i have created a register file:
And then i query: modbus -s 1 -r /haus/heizung/register 192.168.77.82:502 reg* And get all the values in one batch: reg_soll_heizen: 42 0x2a When i'm doing the same with the USR IOT or Waveshare gateway i'm getting only: reg_soll_heizen: 42 0x2a I'm using here for my programs a ESP32 WROOM board, this is running very stable, i have no problems with that device. But how stable a device is, is also depending on the librarys you are using. Some have memory leaks, then it is worth to search for other version and test again... And i think such devices as USR IOT or Waveshare are using Chips like a ESP32 too... So it depends only on the program and librarys you are using if a device is stable or not. |
The Wiznet W5x00 chips are good chips. The Ethernet.h library has some minor flaws, but otherwise works well. I have several Arduino + W5x00 solutions running for years without problems. In my opinion, the problem is a poor design of some Arduino ethernet shield. I am not a HW guy, but I think the issue is linked to how RST pin of the W5x00 chip is triggered: Most W5x00 shields have the W5x00's RST pin hard wired to Arduino's RST. Usually it works well, but sometimes the W5x00 is not reset correctly during (re)start (I blame poor shield design, missing capacitor on the RST pin). As a result, the reset signal (pull down on the RST pin) may come too early, or it is too short to trigger reset of the W5x00 chip. Best W5x00 shields have the W5x00's RST pin hard wired to a dedicated pin (rather than Arduino's RST). I have Nano W5500 shield (unfortunately no longer in production) which has RST on pin 7. This is excellent solution because then I can reset the W5x00 programatically. Once Arduino starts, I pull down pin 7 for a while to reset W5x00 and then I continue calling the Ethernet library. ETH_RESET_PIN can be configured in advanced_settings.h. Check your ethernet shield, maybe you also have RST on a dedicated pin. If you still want to give Arduino the chance, you may try a "bypass" solution:
|
I have some issues connecting my Home Hub with the Altherma 3 R F unit. According to the installers reference guide, there should be a Daikin HomeHub menu entry in the Installer Settings menu. This doesn't show up. I do have a Daikin Home Controls option in the main menu, but that seems unrelated. The Home Hub is unresponsive to Modbus RTU and over TCP it responds with 32k values for all registers. I think the Home Hub didn't pair correctly with the indoor unit. Indoor unit: EHVX08S23EJ6V Unit interface software: V07.04.00 I measured 15-16 volts on the P1P2 wires at the Home Hub, also when disconnected from the Home Hub, so the wiring seems to be in order. Anybody any experience to share, or hints for me to get it working? |
I thik you must call the Daikin service to install the current software. See here in the compatibility: https://www.daikin.de/content/dam/document-library/Installer-reference-guide/heat/accessories/ekrhh/EKRHH_Installer%20reference%20guide_4PEN744838-1C_English.pdf You need the MicronID 0223 and software v7.3.0. |
Ah, I was confusing it with the "Interface Micon ID" which is ID20010E0A in my system, which seemed higher than the long version listed there ("Hydro SW version"). Searching for a bit, it looks like this isn't for me to be able to do (looks like they are directly flashing the board). I'm hoping an installer can perform it, or otherwise i'll just have to get Daikin to do it. |
adicorra where abouts did you pick up the DCOM unit for 320€? |
I have a Daikin Altherma 3 H HT with a Hydro SW version (Micon ID) 20017701 and created a support ticket directly by Daikin to update the firmware so i could use the home hub. A week later, a technician from daikin arrived and updated both the indoor and outdoor units. Now i can connect to the Home Hub and control my heat pump via Modbus TCP. |
Thank you for the update! Did they do it for free or charge you? If they did, what do they charge? |
This was on eBay from a discounted seller (new). But I saw you can find it for 380€ on this website. https://www.maison-energy.com/pompes-a-chaleur-R20/dcom-lt/io-M161430.html |
Yes, this update was free of charge. You should ask for a free firmware update to use the home hub. |
@googie89 Thank you. I've just reached out to Daikin NL today based on this information, and they tell me they can't help me, an an installer needs to do it with tooling from Daikin. Could you supply me with additional information on how to open that support ticket with them? Like, did you call, reference a form, or did you find information somewhere? |
Had another contact with Daikin today, and they informed me procedures in Germany are different from Netherlands, and I'll have to go through the installer. Unfortunately my attempts the last 4 months to find an installer who responds at all, has time and understands what i'm trying to achieve have been futile. Daikin NL escalated my issue now and i'll get an installer appointed soon. Let's see that happening first before i'll believe it... |
Ok, So after two escalations at Daikin and months of back-and-forth between me, an installer and Daikin, finally someone from Daikin showed up and performed the update. Right after that, it all just worked :). They didn't mention anything about a rate or charge, so i'm assuming for now they performed it for free, or i'll be having another discussion with me. |
@budulinek
You mention in your ReadMe
However I found the following two products. Would these solve this problem?
https://www.daikin.eu/en_us/products/RTD-W.html - For use with Altherma 3 HT models I believe
https://www.daikin.eu/en_us/products/RTD-LT-CA.html - For use with Altherma 3 LT models I believe
See this discussion
https://community.openhab.org/t/how-to-integrate-daikin-altherma-lt-heat-pump/16488/
and in particular this post
https://community.openhab.org/t/how-to-integrate-daikin-altherma-lt-heat-pump/16488/17
The text was updated successfully, but these errors were encountered: