-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Control over serial port #1
Comments
Maybe http://es.intpre.daikineurope.com/binaries/Configurator_v2_3_0_tcm705-334155.zip can give some hints... Edit: original comment deleted. |
I've had a quick look already but gave up as Configurator do not work with Altherma. |
This Daikin Configurator is for AC units only and definitely not compatible with the Altherma |
The configurator should be compatible with Altherma, but not yet in the release mentioned by @miguelangel-nubla . IOM configurator 4PEN328530-1G.pdf |
Good info! Unfortunately the HPSU / ECH2O internal unit uses a Rotex/Kromschröder controller in a unique combination with the Daikin A1P board. That is different to all other Althermas, where the configurator can be used. Nevertheless some reverse engineering might be usefull. |
@stosoorok , download the new Daikin Residential Controller app. I can control it over there (Altherma 3 R F) |
Does not work with HPSU / 3 R ECH2O! |
I'm now following another track: on the secondary board that holds the user interface of my Altherma 3 there are two RJ11 port that are connected to two CAN transceivers. The Esp32 has a CAN controller. So it would just require an extra CAN transceiver (eg TJA1050) to connect to it. I know that the CAN bus is directly accessible on Rotex (https://github.com/Spanni26/pyHPSU) . Can Daikin ALTHERMA users confirm if they have these RJ11 ports also on their machine? Does anyone have a clue why there are 2 can buses? |
Hi @raomin , today I was taking down the front panel, because of my Smart Grid system. I can confirm those two RJ11 connectors, thinking from the beginning about what they are for. Once the M5Stick come, I will definitely use it for automation of my photovoltaics excess power - I need to switch off the heating to make it work. Thanks, keep on the good work! |
A new possible breakthrough to follow...: #40 |
Congratulations @raomin to a very nice project! I am able to control my Daikin Altherma, through the P1P2 port. Here is my project, build on the excellent work done by Arnold-n: https://github.com/budulinek/Daikin-P1P2---UDP-Gateway It is a simple P1P2 <-> Ethernet UDP gateway. No fancy GUI, no MQTT (too small RAM on Arduino). Only HEX data via UDP. But it works and it is reliable. Very briefly about P1P2 port: it is not a CAN bus. Actually, P1P2 is Daikin's implementation of the "Home Bus System (HBS)". It is used to communicate between the heat pump and the main controller (user interface). I believe that P1P2 port is the best (and probably the only) way to both monitor and control Daikin Altherma:
Of course, there are also problems and obstacles when it comes to the P1P2 port:
MAX22088 looks very promissing (see https://www.maximintegrated.com/en/products/interface/transceivers/MAX22088.html for specs, sample circuits and brief summary of the Home Bus). I would like to try the MAX22088 chip, but the problem is that I do not have the skills to build the PCB. I do not have the soldering skills (MAX22088 is too small for hand soldering). I do not know how to design a circuit. So this post is actually a call for help - is anyone interested in the P1P2 port? I did my bit with reverse engineering the protocol and Arduino programing, but I need help with the hardware design and testing:
P.S. Few notes regarding the X10A port:
But I am quite sceptical about the possibility of using X10A for controlling the heat pump during normal operation. |
Thanks to both @raomin and @budulinek for your great work! |
Hi Arnold, Design a PCB. Build one prototype (by hand or using a PCBA service - even though it may be a bit expensive to do that with a single prototype). Test the prototype. Order a larger batch of PCBs from a PCBA service to get a reasonable price. Distribute PCBs among ourselves. Sell excess PCBs on https://www.tindie.com/. |
Hi @budulinek, thanks for your interest. I'm well aware of P1P2 protocol and the nice work by @Arnold-n on it (I also got one of his pcb to connect to it). I do believe a canbus-like port is good for controlling a heatpump and chaining controllers, that's make complete sense. Still, I was a frustrated that it would take so much to interact with an heat pump while connecting on a serial port is so simple. You know that the Daikin Configurator (not supported in late Altherma if I understood well) set registries values through X10A, and if you look at #40 you'll see that the X10A port is also used by the communication of the main board with the dual zone, so I still believe this serial port has more capabilities than you suggest. Let's hope that we'll find out soon how to exploit them. |
@raomin Yes, I saw #40 .I looked at the logs, But they do not look familiar to me from what I saw on port P1P2. I wish you luck on X10A, I was just bit afraid that we are duplicating our efforts. Figuring out the timings and finding out when it is save to write to the port? Arnold already did that for P1P2 port. Changing settings on Altherma and monitoring the port? Sounds familiar to me... @Arnold-n Maybe this could help you with prototyping MAX22088: https://www.aliexpress.com/item/4001054495151.html Still bit expensive, but I am ready to support you. |
Thanks for your support, @budulinek, but I think I can reflow solder the MAX22088 even though it is 0.5mm pin distance and would like to try that first. Unfortunately the MAX22088 does not do any HBS<->serial conversion, so an ATmega and P1P2Serial library (or similar) is still needed. The MAX functionality is really very similar to the MM1192 except that it provides some termination circuitry and more importantly a bus-based 5V 70mA power supply - as a result there is no need for a separate 5V DC/DC convertor to power the P1P2-side from the Si8621. Cost-wise the components of the overall solution will be the same (MAX replacing the DC/DC convertor); and just a bit smaller and perhaps more reliable. Supply of XL1192S so far is good, I just got a new set of them. |
I did a little bit of googling and came across a patent for the HBS <-> RS232 converter: The patent protection already expired, so it is free for us to use. What do you think @Arnold-n ? Isn't it too complex? There is a circuit diagram in the patent application, but I could not find specifications for resistors and capacitors used in the circuit. |
In my opinion it is too complex: it uses many components instead of an Arduino (which could be a Arduino nano if size matters). Also, the possibility to detect bus collisions (and interrupt transmission) is lost. For converting P1P2 to (but not from) serial there is a working solution including component values: M-NET-Sniffer. |
This thread is nice! |
Thanks for the support but at the moment not needed: the first PCBs for a stand-alone bus-powered P1P2-MAX22088-Atmega-ESP-wifi/mqtt prototype have been ordered, and a breadboard version is running here. In a couple of weeks I hope to have this working. It will fit nicely in a small enclosure. Is that what you meant with native? |
Ah great news @Arnold-n thank you for progressing this. I'm really looking forward to trying this out as soon as it's available. |
Hi @martindell, the first PCB is running here succesfully (picture and details). The (renewed, to be released) ATmega code is working great even at 8MHz; I am now cleaning up and improving the bridging code to MQTT on the ESP. |
Great work @raomin! Been using ESPAltherma for 2 months now and drawing beautiful graphs with HomeAsssistant. |
according to the latest findings, is there a way to set the LWT (leaving water temperature) via ESPAltherma? |
@FMode where can I find the new firmware and how do I update this? |
You can register (for free) as Daikin partner |
Thanks for the download. Where can you register? I tried to register on the Daikin business portal, but Daikin rejected my registration. |
I registered some years ago with my company's email from work .... |
I am also very interested in this. The heating curve was changing too much during the day. Now I’ve set it as static, and change it (if needed) once a day. If I could automate this it would be great!! |
You can try setting averaging time in your Altherma unit. Quote from the manual:
|
Hello, Tried some other newer Altherma's to read and write some adresses of their "eeprom" with success. |
I have a new 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. |
Thanks @MichaelST01. That modules acts as a gateway P1P2 <-> Modbus. |
Hey there, I did a bit of digging and I found that the two CAN bus connectors seems to be used for the RoCon CAN bus system |
This issue is to discuss possible information and implementation on the control of registry values through the daikin protocol I.
The text was updated successfully, but these errors were encountered: