AdapterRequests icon indicating copy to clipboard operation
AdapterRequests copied to clipboard

Waterkotte Heatpump

Open wendy2702 opened this issue 7 years ago • 118 comments

Adapter to read/write Values to Waterkotte Heatpump with control device „Resümat“.

HW is available for testing and i can provide a JS Script which is currently reading the values.

wendy2702 avatar May 07 '18 19:05 wendy2702

I also have a waterkotte, but tcp connected

volkerrichert avatar Oct 24 '18 15:10 volkerrichert

Guess it's a newer Version which not uses Resümat anymore, am i'm right?

wendy2702 avatar Oct 24 '18 17:10 wendy2702

I never heard the word resümat :-) I'm running an ecoTouch

volkerrichert avatar Oct 26 '18 10:10 volkerrichert

IT's from 2010 +-

volkerrichert avatar Oct 26 '18 10:10 volkerrichert

Please Check this https://www.protherm-leipzig.de/download/595744BedResuemat.pdf

Our heatpump is from 2005.

wendy2702 avatar Oct 26 '18 11:10 wendy2702

ok, THX.

I'm not sure if both (serial & TCP) should be in one adapter. The differences between them must be checked before, i think.

volkerrichert avatar Oct 29 '18 16:10 volkerrichert

A Waterkotte EcoTouch will be installed later this year in my house. The WWPR2 controller ist included. Is there a way to connect it with iobroker? I ordered the Modbus TCP module, so modbus will be a solution. But a Adapter wich is using die Waterkotte "API" over TCP will be very nice!

mifricke avatar Aug 14 '19 09:08 mifricke

currently no adapter available but it can be made easily f the API is well documented. Anyone a link to the documentation ? Is there maybe a demo site ?

DutchmanNL avatar Aug 16 '19 21:08 DutchmanNL

Unfortunately, there is no simulator. From the end of October I could perhaps make my controller temporarily available online to a trustworthy developer for testing. We'll then have to see how this will be implemented technically.

There is a binding for openhab, maybe you can pull out the necessary information:

https://github.com/openhab/openhab1-addons/tree/master/bundles/binding/org.openhab.binding.ecotouch/src/main/java/org/openhab/binding/ecotouch

I'm not a big programmer, but I'm willing to help as soon as my Eco Touch is installed. Once we manage to read data, that would be great. Writing is nice from my point of view, but doesn't have to be in the first step.

mifricke avatar Aug 17 '19 06:08 mifricke

According to this link

https://www.loxforum.com/forum/german/software-konfiguration-programm-und-visualisierung/4806-modbus-tcp-mit-waterkotte?p=57091#post57091

it doesn't seem that complicated. A list of possible registers can be added if necessary.

mifricke avatar Aug 17 '19 06:08 mifricke

looks like it can be reach just by http get ?

https://homematic-forum.de/forum/viewtopic.php?f=26&t=42261

DutchmanNL avatar Aug 17 '19 11:08 DutchmanNL

Yeah, that seems to work. The only "difficulty" is probably the login with the token. Due to the lack of different heat pump types, it would be best to simply enter the registers in the configuration. These could then simply all be queried.

Here is a part of the Modbus documentary. It contains Modbus addresses and the internal registers for the HTTP request.

Kommunikationsdaten ModBus RS485 Waterkotte Wärmepumpe.pdf

mifricke avatar Aug 17 '19 12:08 mifricke

I started implementing a JS before vacation to read data (write maybe later) from my heat pump via HTTP, like the openhab implementation does but multiple data with a single request. Reading works fine but i have to handle the unknown items somehow.

If there is a real advantage I'll convert it into an adapter, but i didn't see the need.

volkerrichert avatar Aug 17 '19 14:08 volkerrichert

A Javascript is surely sufficient, although an adapter is of course somewhat nicer. Especially since it is available on NPM and can be used by everyone immediately.

But basically I agree with you.

Would you like to publish your script on Github? I'm not the big programmer now, but someone can contribute something.

mifricke avatar Aug 17 '19 14:08 mifricke

Would you like to publish your script on Github? I'm not the big programmer now, but someone can contribute something.

would be cool to see the script porting it to an adapter wold be quite easy

DutchmanNL avatar Aug 17 '19 16:08 DutchmanNL

Sure, I will. But atm i just add all the data points and try to query more that 1 at a time. I started 2 days before holiday. so it's like a PreAlpha V0.0.0 :-)

But i add a emtpy repos to handle it. https://github.com/volkerrichert/ioBroker.ecotouch

volkerrichert avatar Aug 19 '19 08:08 volkerrichert

and add the plain script

volkerrichert avatar Aug 19 '19 08:08 volkerrichert

Danke! Das sieht ja alles sehr vielversprechend aus! Ich überlege, ob ich mir trotzdem das Modbus Modul einbauen lasse... Andererseits ist es nie wieder so günstig wie jetzt... ;-)

mifricke avatar Aug 19 '19 08:08 mifricke

na, viel ist das ja noch nicht. Und "write" ginge ja auch.

volkerrichert avatar Aug 19 '19 10:08 volkerrichert

Ja, aber ich glaube fest an Dich und Deine Motivation! ;-)

mifricke avatar Aug 19 '19 10:08 mifricke

So was aber auch.

volkerrichert avatar Aug 19 '19 16:08 volkerrichert

Sieht doch schonmal vielversprechend aus :) Melde dich wen Hilfe benötigt zum adapter Porten.

DutchmanNL avatar Aug 20 '19 06:08 DutchmanNL

Das ist nicht so das Problem. Wäre ja nicht mein erster Adapter. :-) Aber hilfe ist gerne genommen

volkerrichert avatar Aug 21 '19 09:08 volkerrichert

Hallo in die Runde... Ich habe das jetzt mal weiter gemacht.

  • Lesen geht soweit.
  • DEBUG = false -> ließt jede Minute
  • DEBUG = true -> läuft 1x und beendet sich dann

Bei den Werten bin ich mir noch nicht sicher. Alarm steht z.B. bei mir ein Wert von 16384 (0x0400) da müsste man noch mal schauen was wie das mit 0xF0xx aus der doku passt. Auch könnte man die (H-0-A) Werte als Auswahl machen. Aber da ist auch nicht 100%ig klar was 0/1 bedeutet.

Aber immerhin gibt es jetzt Werte

volkerrichert avatar Aug 25 '19 15:08 volkerrichert

Cool! In ca. 6 Wochen bin ich hoffentlich endlich in der Lage zu helfen... wenn auch nur mit dem Testen/Auswerten von Werten...

mifricke avatar Aug 25 '19 16:08 mifricke

alles hilft...

volkerrichert avatar Aug 25 '19 19:08 volkerrichert

kleines issue von heute: Bei den Temperaturen muss ein divisor: 10 rein...

volkerrichert avatar Oct 02 '19 11:10 volkerrichert

Du bist also noch am Ball... Ich muss noch 6 Tage warten, dann kommt der Gerät....

mifricke avatar Oct 02 '19 13:10 mifricke

Waterkotte Ai1 Geo steht in der Garage... Morgen ist Einbautag...

Ich habe hier außerdem das KNX Interface (Falschlieferung, geht zurück) und das zusätzliche Webinterface mit Modbus TCP liegen. Ich konnte von dem beiliegenden USB Stick nochmal die KNX Doku laden. Da ist aber nicht mehr raus zu lesen als aus der hier vorhandenen. Das zusätzliche Webinterface kostet knapp 280 Euro. Ich habe es mir einfach mal gegönnt. Leider gibt es einfach keine vollständige Modbus Doku. Selbst Waterkotte scheint da keine Ahnung zu haben. Der Regler ist ja auch nur zugekauft...

mifricke avatar Oct 07 '19 17:10 mifricke

modbus habe ich noch nie probiert, bin immer über http gegangen. Die kennen ihr eigenes Produkt nicht... NoComment....

volkerrichert avatar Oct 08 '19 14:10 volkerrichert