Community
OpenEnergyMonitor

Community

Hack my Heat Pump and publish data onto emoncms


(bart.ellast) #21

Hpsu compact is a different controller (rotex, not daikin) that like many German brands use can bus.
However since you have the HT unit you are a bit out of luck.
The HT units belong to the vrf commercial units and can not be read with the standard daikin installer tools.

All LT units can be read with the KNX modules or proprietary installer hardware.(or workaround).

I have no experience with the vrf hardware to read the units so can not help with that. Sorry.


(Aideen McConville) #22

Hi, I too am very interested in this thread. What are the chances of connecting serially to a Daikin Altherma LT split system (circa, 2013) Indoor unit - Software ID3862, EEPROM AS1705393-01. £200 for the manufacturer’s cable seems excessive (possibly includes an extra box-of-tricks).

Grateful for any info.

Thanks,
Aideen


(SubOrbit) #23

It turns out, I can read and even modify some basic parameters of the HT unit with the RTD-W interface (http://www.realtime-controls.co.uk/index.php/site/multi-language-download/rtd_w_daikin_control_interface).
The interface offers modbus connectivity, so I am going to try that and report back the findings when I get the interface.

The list of modbus registers is on page 9 and 10 in http://www.realtime-controls.co.uk/rtd/EN%20RTD-W%20Installation%20Instructions%2020670-1.07.pdf

How do you guys measure the flow amount and calculate COP? Or do you get this data from the controller as well?


(bart.ellast) #24

@SubOrbit
An altherma ht unit has no flow sensor. Only a switch that’s of no use.
Newer series (CA) have a flow sensor that can be read.

I forgot about the rtd module. Nice to see it supports the HT unit.

@aideen

What is the indoor unit type? Only units from BB generation up can connect to the proprietary interface.
If you have a ekhbx0??BA type you are out of luck. And i don’t think the rtd module will support it either.


(Pete W) #25

Hi, I have a Bosch Greenstore heat pump and have had good success in getting a feed from it. Take a look at the OpenHab forum post here

I’m connecting to the Rego unit inside the pump - pretty common across many heat pumps. It’s basically just a serial feed, so I see no reason why you can’t modify to capture in emoncms.


(Michael B) #26

Hello there…

I have two Daikin HT beauties, which work fine but I reeeeely want to get my fingers in there. They run in leaving water mode and heat both my underfloor and hot water tank (non-Daikin) .

Mostly, I want the ability to adjust flow temperature (and maybe to turn one of the heat pumps on and off) all based on outside temp, wind speed (still too many drafts…) and HW demand. Some of this I can do with built in options, but its all a bit inflexible and sub-optimal at the moment.

Ideally, I’d hack directly into the 2-wire interface between the indoor unit and the little display/remote box, using something based on an Arduino but I can’t find anyone who’s done this. Would love to get my scope out and see what that looks like, but that’s gonna take me a lot of messing about, plus I only dare look at it in the summer months(!)

Any tips…? Is the RTD-W board priced sensibly…? How did you get a hold of one…?

Michael


(SubOrbit) #27

Hello Michael,

I got the RTD-W interface working. Just connect it to a 2-wire interface on your indoor unit (in parallel to your existing Daikin controller/thermostat).
I have connected an esp8266 with a RS485 interface to it and I can monitor/modify the available parameters via MQTT. The thing has been working perfectly for a little less than a year now, but mainly I just use it to turn the HP on/off or to change the thermostat value and to grab data about leaving/return water temp, DHW temp etc… which I then store in a local emoncms install. I’m not doing any hardcore automation (yet) :slightly_smiling_face:

I bought the RTD-W interface from some guy on ebay. Local Daikin resellers also have them, but they are quite pricey - around 300EUR/piece if I remember correctly.


(Michael B) #28

Thanks Sub, that’s good info.

I have registered a search into Ebay for an RTD-W (there’s a few RTD-10’s and 20’s, but no W’s at the mo).

My other choices are to solder a couple of wires into the existing controllers and use relays from my Arduino to toggle the temp up and down (which is a truly awful hack, but very cheap), or to fit a couple of the Daikin demand PCBs which seem to allow volt-free control of 2 or 3 temp set-points (which is a really dull hack since that’s probably the way you are supposed to do it).

I will probably continue to assimilate info for a bit here, can’t change anything at the mo anyway, since we will be very c-c-cold if I mess up…

Hopefully a cheap RTD will arrive just in time for spring… : )

M


(relghuar) #29

Hello bart.ellast,
could you please share some details of your hack for the Daikin proprietary interface?
I’m currently trying to hack my FTXB-C unit - according to all the documentation it should not be possible, but it does have the S403 connector, so I got a KRP980B1 to convert it to the S21 which should be connectable to the OnlineController devices (only which one of the 4 or 5 available I have no idea). Here are the photos of the adapter board:


I’ve done some reverse engineering on the converter and now I’m able to turn the unit on/off and also check if it’s running through an additional 4-pin JEM-A connector.
I have also found out the pinout of S21, should be “+5V, TX, RX, +12V, GND” (pin 1 is on the top marked by arrow).
Unfortunately I don’t have much idea what the RX and TX are… according to the transistor/optocoupler chain they’re definitely some sort of full-duplex bidirectional asynchronous connection with 5V pull-ups, which would hint at a normal TTL-level UART.
Tracing both pins to S403 (should be pins 2&3) and further on the main board seems to lead them to the UART1 port of the control MCU…
So far so good, looks like it should be a serial port. However there is no activity on it from the unit’s side no matter what I do, and whatever I try sending there is no response.
Have you also dealt with the S21 port in your hack? Was it really an UART? What were the parameters (baud,parity,stop bits,…)? Did you build the RS232 converter yourself, or is it a commercially available unit?
I’m thinking of getting one of the OnlineController devices and try to analyze its communication, or at least see what it’s trying to send if it does not work with my unit… or maybe taking the main board out completely, power it on the test bench and have some real fun with oscilloscope. But it would be nice to have some starting info before that :wink:
Thanks a lot for your answer!


(CJ) #30

Hi Bart,
In my search for a way to record data from my Daikin Altherma LT heat pump, I came across this post. Could you share the node-red flow you used with me? And the way you connected to the p1p2 port?

Kind regards,
CJ


(CJ) #31

For anyone interested. It is possible to extract data from a Daikin LT heatpump using the online controller( BRP069A61). It can be communcated with using websocket. I was able to determine how to extract tank/indoor/outdoor temperatuur and some other values(rounded to whole degrees). However, process values like flow, inbound and outbound AWT temperature seem to bu unavailable.
If you need more info, contact me.


(Georgi Iliev) #32

On which LT version did you read data,because mine is a 2009 model.Can it be read by the BRP069A61?


(CJ) #33

It is an EHBX08CB3V. I don’t know what other HP models it is compatible with.


(Georgi Iliev) #34

Your inside box is newer and has a x5m conector witch is for dc connection. Mine doesn’t have it .Like @aideen said only newer models from BB series can be read.


(Tarmo R) #35

Hi,
giving some additional information here - some of the commands I got with Wireshark decoding the tcpdump and listening the BRP069A62 websocket traffic.
Indeed, the websocket is the only option there and sending JSON strings.
As for my case, as the Daikin Altherma is in LWT control mode (not Room Temperature), there are no commands seen to monitor/control LWT configuration. So for my case, I only get to play with my Domestic Hot Water values. Below are some commands I harvested out from the websocket traffic. This is not a final list, there was a lot about as well about DWH schedule etc, yet not being the main interest I omitted it.

{"m2m:rqp":{"op":2,"to":"/[0]/MNAE/1/Sensor/TankTemperature/la","fr":"/TarmoTest","rqi":"xijub"}}	
{"m2m:rqp":{"op":2,"to":"/[0]/MNAE/1/Operation/TargetTemperature/la","fr":"/TarmoTest","rqi":"yssyq"}}
{"m2m:rqp":{"op":2,"to":"/[0]/MNAE/1/Operation/Power/la","fr":"/TarmoTest","rqi":"umufn"}}
{"m2m:rqp":{"op":2,"to":"/[0]/MNAE/1/Operation/OperationMode/la","fr":"/TarmoTest","rqi":"nygjn"}}
{"m2m:rqp":{"op":2,"to":"/[0]/MNAE/1/Operation/TargetTemperature/la","fr":"/TarmoTest","rqi":"yssyq"}}
{"m2m:rqp":{"op":2,"to":"/[0]/MNAE/1/Operation/Powerful/la","fr":"/S3006ad02-d2f5-4cae-9b17-9be43d6f6408","rqi":"bswjp"}}

How to play with it - google for “websocket client”, connect to ws://192.168.2.4/mca (or any other IP your Daikin LAN device is running). Note the /mca in the end

If you are interested in the Python code connceting and gathering some parameter value, let me know.

Br
Tarmo


(Luis Lamich) #36

Hello Tarmo,

I have a BRP069A61 connected to an indoor unit EHVX08S23D6V.
I contacted Daikin and they told me that the communication protocol of the Gateway is DIII-Net (proprietary).
The only thing I have managed to do with the module is to connect it to the Daikin Controller APP, but this is not very useful and provides very little information.
I have unsuccessfully tried the “man in the middle” method with the APP + tPacketCapture. But I have no idea how it works.
I am very interested in your discoveries, and the rest of the parameters that can be obtained or modified.
If you have more information on how to contact the BRP069A61 / 62 I will thank you very much.
I can not understand how the protocol syntax that you comment works, could you give me an example?
Thank you very much in advance!

Luis


(dam) #37

If you are interested in the Python code connceting and gathering some parameter value, let me know.

Can it be possible to share your python code ? and a little explanation of each ws query you use ?

Thanks for your work !

Damien


(Edouard Regis) #38

Hello,

I have a BRP069A62 connected to a Altherma LT EHVX16S26CB9W (LWT control too). Thanks to your explanation I can connect to the websocket of the altherma, but then how get sensors values ?

I want to monitor all temperatures (outdoor, leaving and returning temp, DHW) and electric power consomption.

Thanks,
Ed


(Egyras) #39

Hi guys, how defrost energy is caculated ?
For generated energy I use 4200(J/kg K) x 1000(kg/L) x Flow(L/min) / 60000 (m3/s)/(L/min) x DeltaTemp
In defrost it will have negative Delta temperature and real defrost begins a several seconds sooner if I check heats pump stats.
I did some decoding of Panasonic Aquarea H series heat pump and can get all data via CN-CNT connector.


(dam) #40

I’m able to do some calls in python right now (to get the water temp.) but i still need a explanation of what can do each ws described above.

Thanks in advance,

Dam’