New binding - Rego 6xx based heat pumps

up and running again, phew! Have taken another backup and tested it this time!

Hi @crnjan I notice that with the new binding there are a lot less attributes I can select. eg, previously I had the threshold values such as I had the threshold values such as;

Heating return target
Min heating return
Min heating return
ā€¦

Can I still get access to these? Or have they been removed now the binding is more ā€˜formalā€™ ?

Hi @sx3 I also have a Gria HS. I would say OH is actually much more flexible than HS - even though we have spent a lot of $$$$ on the HS ;-(

I find the HS quite difficult to do more than the basic stuff, and the tools really havenā€™t moved on a lot. With all the IoT and home automation stuff going on it really is getting left behind. Thatā€™s why I investigated OH - and Iā€™ve not looked back. Once you get your KNX to talk ā€˜internetā€™ there wonā€™t be any turning back :wink: I even have my Amazon Alexa switching my KNX lights on and offā€¦

Take a look at the KNX binding and the support in this thread [SOLVED] KNX Binding: no confirmation reply received

@crnjan Scrub that - just remembered i click the ā€˜show moreā€™ button on the Things page, then i get all the attributes :wink:

:ok_hand: Glad you managed to solve it!

So @crnjan now things are stable Iā€™ve ventured into using an ESP-07 instead of my RPi. Got the ESP-07 linked to my wifi ok with a static IP. Used a serial terminal app and a few AT commands. Tried to point to it from Openhab but canā€™t see it yet. It just says ā€˜unknownā€™ in the things configā€¦ Iā€™m assuming now I have lo load some more code onto the ESP-07? I.e., it wonā€™t just act as a wifi bridge yet?

Hi!

You have to flash it, Iā€™m using my own version. I finally integrated the whole thing into the heat pump and is running without any problems.

If you are going to use my code from above link, please note that depending on which UART you are using, you might need to comment out the line:

Serial.swap();

if you want to use UART0. And also, please note that with ESP module, you now need to use the tcpip rego thing and not the serial anymore ;).

Let me know if you have any questions or comments.

Thx, thought it was something like that, will grab your version and give it tryā€¦will let you know how it goes

Flashing all done, but still getting ā€˜unknownā€™ in the ā€˜thingsā€™ - I have used the TCPIP rego thingā€¦ anything i can test to see if the flash has gone ok? I can see the device on my wifi ok.

Made a bit more progress @crnjan I setup a new item in the ā€˜Rego IP Thingā€™ Iā€™m now getting ā€˜Offlineā€™ instead of ā€˜Unknownā€™ - so that means at least Openhab is seeing my ESP-07 !

When i look at the status of the IP Thing I haveā€¦

OFFLINE - COMMUNICATION_ERROR Read timed out

And in the logsā€¦

2017-09-14 17:00:24.356 [DEBUG] [tpump.handler.Rego6xxHeatPumpHandler] - Reading Rego device version...
2017-09-14 17:00:24.359 [DEBUG] [p.internal.protocol.IpRegoConnection] - Connecting to '192.168.85.23', port = 9265.
2017-09-14 17:00:24.442 [DEBUG] [p.internal.protocol.IpRegoConnection] - Connected to '192.168.85.23', port = 9265.
2017-09-14 17:00:24.525 [DEBUG] [tpump.handler.Rego6xxHeatPumpHandler] - Sending 817F00000000000000
2017-09-14 17:00:24.896 [DEBUG] [tpump.handler.Rego6xxHeatPumpHandler] - Response not received, read 0 bytes => [0, 0, 0, 0, 0]

At least itā€™s connecting :wink: I think they call that progress :wink:

Durrrā€¦I wish i would read your posts properly! I had forgotten to comment out the Serial.swap()

Now itā€™s working!!!

I also didnā€™t realised i had to setup at least one Item in the IP Rego Thing, or it just remained ā€˜offlineā€™

I think i hit that problem before when i was using serial, should have remembered!

Now just need to make sure all my items are being updated from the IP version not the serial and we are all set - I can bring my RPI back to itā€™s warm home and not in my outside boiler room :wink:

Now hereā€™s an interesting oneā€¦as I try to move from Serial Rego to IP Rego Iā€™m getting some strange errors loggedā€¦eg,

2017-09-14 17:39:14.497 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '24.6' for item 'HeatPump_SensorValues_HeatFluidIn' to handler for channel 'regoheatpump:serialRego6xx:63ad6d20:sensorValues#heatFluidIn', because no thing with the UID 'regoheatpump:serialRego6xx:63ad6d20' could be found.

The serial thing is no longer there (Iā€™ve delete it!) Should this not now be referencing a tcpip thing? Think I may have muddled things up a bit by trying to swap over :wink:

Hi!

First of all - really glad you made it working! :star_struck: - congrats!

Yes, the one in my opinion should be referencing the tcpip thing, but Iā€™m almost certain this is more of an setup/OH2 thing that a binding issue.

Also, the status remains unknown until at least one channel is added. To be honest, not sure if I should thread this as a bug or as a feature - since if there is no channel, there is no need to connect to the HP - hence binding has no clue about the status :slight_smile:

Last but not least - did you try to reset the ESP module to see if it will setup itself again? I.e. removing the power from ESP and plug it in again, as simulating power shortage? The reason Iā€™m asking is the sole reason I went from ESP-01 to ESP-07 - (and also explained somewhere in my first posts above) - if you pull down rx or tx (donā€™t remember exactly) of UART0, it wonā€™t boot properly.

I solved it by deleting all links and items in the karaf console then recreating again - all seems fine now. All those ā€˜delegateā€™ errors have gone away :wink: Yeah!

Iā€™m using an ESP-07 like you now. Have rebooted a few times, and all seems fine.

Iā€™ve finally managed to move my RPI back indoors - iā€™m sure its happy about that now winter is on itā€™s way :wink:

Thanks for all your help on this, itā€™s really going to help me monitor how my heat pump is doing over the winter months!

Been running for a week now, no problems. All seems pretty stable. Next step to make my ā€˜productionā€™ boardā€¦but no rush :wink:

Hello and thank you for a great binding. I have connected my Bosch/Junkers heatpump with Rego637J using Husdata interface connected to a RPI and ser2net to Openhab installation on a VM. Its been working great for few weeks now.
i do have couple of issues.
Sometimes the RPI hangs or something and is not sending the data to Openhab and it shows the last values it got. Should it be like that or should it show NA or something?
Im constantly checking if the communication is online or not to see if i get real values.
Another thing, is it possible to use one value (ie outside temp) on Openhab sitemaps? Im thinking it would be nice to show for example the HP outside temperature sensor on the main page of Openhab.

I have been using this binding with RPi3 + OpenHABian over two months without any problems. Memory stick started cortupting so i switched my installation to a more powerful computer running Debian jessie. Installed openhab through apt-get repos. Everything else works like a charm but i canā€™t find this binding. Itā€™s not listed in PaperUI so I canā€™t install it. Any clues? Something to do with this being new binding in the official openhab2 distro and itā€™s somehow no included in apt repos? Maybe some help from @maintainers?

Running Openhab 2.1.0 and already did fresh install but no help.

Thanks in advance!
/Miika

Hi Miika,

Iā€™ve had a look and the binding was added at the start of August, since 2.1.0 was release at the end of June, it wonā€™t have the binding included. If you want to install the binding, it would be best to switch to the snapshot repository.

Hope this helps,
Ben

1 Like

Thanks for the fast response @Benjy.
Iā€™d like to stay in the stable branch because it has everything else I need. Canā€™t wait for a new build so I allready downloaded latest jar from openhab.jfrog.io and it seems to work fine. :slight_smile:

Cheers
/Miika

Excellent, it was going to be my next suggestion, but we canā€™t always guarantee compatibility between an old run-time and a new binding!

Glad youā€™ve got it working anyhow!