New binding Resol VBUS

How is it that the Codeworkx binding isn’t in the OpenHab addons list? Did someone tested with it? Is it stable?
Is there a compiled version of it we can download somewhere?
I’m using a network adapter (Resol VBUS LAN).

I tried it, but unfortunately was unable to get it working.
The vBus Converter thing sits with status “INITIALIZING” & the Resol Controller “UNINITIALIZED - BRIDGE_UNINITIALIZED”

If you manage to get it working, please let me know how.

Hello @Mitch77,

Could you give any updates on the message above, where you ever able to spent more time on it? Thanks for your update!

I’m stuck with the same same INITIALIZING status for know. So I guess it’s not your installation. It didn’t log anything also. I have to investigate further. Let me know if you find something.

Sorry guys for my late response. I stopped working on the 1.x version and started to work on a new 2.x version. But soon stopped due to time and little experience with the new ESH framework. Feel free to take whatever I did to start something new or rework what has been done. Sorry.

I made some changes and got it working on my installation: https://github.com/codeworkx/openhab2-addons/pull/1
Here is the .jar: http://www.mailbase.be/org.openhab.binding.resol_2.0.0.201708241721.jar

@Laurens, you legend.
Works for me now too!

Great, thanks for the feedback!

Hi folks,

my Resol LAN Interface was successfully connected to my Cosmo Multi controller and I could read the values in my OH1 Setup. Since two weeks I made an update from OH1 to OH2.
It seems that the new inofficially Resol OH2 binding from codeworkx only supports values as described in the README file btw. the devices as mentioned.
When I look in the jar Folder there are all the Xml device specs missing. Also the XML structure has changed, right?

Instead of fields now channels are used, so what has to be done to get other devices connected?

You can add unknown devices like I did here: https://github.com/codeworkx/openhab2-addons/commit/7475dc9471e3d6347cb80b82eff4fc31b8c75d12

Hi Laurens,

you mean I only have to add a case for each device and sensor in the resolhandler.java?

case "00_0010__10_0100_000_2_0"
Where do I get the strings for the cases Should I have a look in the old jar Binding from OH1?

May I have to compile it with Eclipse btw. with the openHAB IDE as described in the Docs?

Hi @Laurens,

Is it possible to change the logging level? It’s logging every second & making my openhab.log huge, which makes troubleshooting other problems difficult.

Also, I can’t seem to get the pump speed to work, it shows the correct info in the logging:

 Name: Drehzahl Relais 1, Raw: 30.0, Text: 30% 

but in the log there is an error:

Exception while formatting value '30.0' of item Resol_Speed with format '%.1f %': {}
java.util.UnknownFormatConversionException: Conversion = '%'

Changing the item to a string type makes the log error go away, but the Item just has content of “Err”

Any ideas?

Regards,
Josh

As can be seen in other topics, you have to escape it:

%.1f %%

See for example: Beginner question - show dimmer percent in sitemap?

Hi @martinvw,

Thanks for that, was just using

Default item=Resol_Speed

didn’t realise I needed to specify a label, now working with

Text item=Resol_Speed label="HWS Pump Speed [%.1f %%]"

It still won’t display on the Paper UI Control page, but I don’t ue that too much, so not a huge problem.

Then that label is most likely misconfigured inside the binding.

I am quite new to openhab 2 and have a “virgin” setup. Now I’d like to give the resol binding a try, as I have two Resol DeltaSol® MX in my system, but from this thread I don’t really understand what I have to do to install and configure it. Can you give me a further pointer?

(I have some background in Linux and Java, but am a newbie in terms of OH2 - and 1.)

@ramack
Hi, I am also very new in this and trying to get to grips with Openhab …
To apply the the binding you just need to copy it to the openhab share addons directory and it should pull it in.

I have a different issue with the Resol binding listed further up in the trail (org.openhab.binding.resol_2.0.0.201708241721.jar).
It looks like my controller BX Plus is not referenced in the resolhandler.java as mentioned by @Howdy
I have been trying to get my head around Eclipse, editing and re-compiling to include my controller but failing miserably (although IT background i have no idea about programming). I tried to get the Eclipse environment setup but I am getting lost in trying to add that Resol binding and exporting it as a JAR file.
Would somebody be so kind and help me getting through the steps or, as a Christmas present, do it for me :smiley: (just the first 4 sensors and relays would do)

This is what I am seeing in the log files for the controller (interestingly the last line “lastupdate” is working)

    2017-12-21 01:29:40.571 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_000_2_0, Name: Temperatur Sensor 1, Raw: 10.3, Text: 10.3 °C

2017-12-21 01:29:40.574 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_000_2_0 with name Temperatur Sensor 1 and value 10.3 °C

2017-12-21 01:29:40.576 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_002_2_0, Name: Temperatur Sensor 2, Raw: 18.0, Text: 18.0 °C

2017-12-21 01:29:40.578 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_002_2_0 with name Temperatur Sensor 2 and value 18.0 °C

2017-12-21 01:29:40.580 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_004_2_0, Name: Temperatur Sensor 3, Raw: 47.300000000000004, Text: 47.3 °C

2017-12-21 01:29:40.581 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_004_2_0 with name Temperatur Sensor 3 and value 47.3 °C

2017-12-21 01:29:40.584 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_006_2_0, Name: Temperatur Sensor 4, Raw: 888.8000000000001, Text: 888.8 °C

2017-12-21 01:29:40.585 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_006_2_0 with name Temperatur Sensor 4 and value 888.8 °C
2017-12-21 01:29:40.571 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_000_2_0, Name: Temperatur Sensor 1, Raw: 10.3, Text: 10.3 °C

2017-12-21 01:29:40.574 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_000_2_0 with name Temperatur Sensor 1 and value 10.3 °C

2017-12-21 01:29:40.576 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_002_2_0, Name: Temperatur Sensor 2, Raw: 18.0, Text: 18.0 °C

2017-12-21 01:29:40.578 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_002_2_0 with name Temperatur Sensor 2 and value 18.0 °C

2017-12-21 01:29:40.580 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_004_2_0, Name: Temperatur Sensor 3, Raw: 47.300000000000004, Text: 47.3 °C

2017-12-21 01:29:40.581 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_004_2_0 with name Temperatur Sensor 3 and value 47.3 °C

2017-12-21 01:29:40.584 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_006_2_0, Name: Temperatur Sensor 4, Raw: 888.8000000000001, Text: 888.8 °C

2017-12-21 01:29:40.585 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_006_2_0 with name Temperatur Sensor 4 and value 888.8 °C


2017-12-21 01:29:40.642 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_040_1_0, Name: Relais 1, Raw: 0.0, Text: 0%

2017-12-21 01:29:40.644 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_040_1_0 with name Relais 1 and value 0%

2017-12-21 01:29:40.646 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_041_1_0, Name: Relais 2, Raw: 0.0, Text: 0%

2017-12-21 01:29:40.648 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_041_1_0 with name Relais 2 and value 0%

2017-12-21 01:29:40.650 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_042_1_0, Name: Relais 3, Raw: 0.0, Text: 0%

2017-12-21 01:29:40.651 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_042_1_0 with name Relais 3 and value 0%

2017-12-21 01:29:40.653 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_043_1_0, Name: Relais 4, Raw: 0.0, Text: 0%

2017-12-21 01:29:40.655 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_043_1_0 with name Relais 4 and value 0%

2017-12-21 01:29:40.657 [INFO ] [nding.resol.internal.IPBridgeHandler] - Id: 00_0010_7112_10_0100_044_1_0, Name: Relais 5, Raw: 0.0, Text: 0%

2017-12-21 01:29:40.658 [WARN ] [b.binding.resol.handler.resolHandler] - No channel available for ID 00_0010_7112_10_0100_044_1_0 with name Relais 5 and value 0%

Another question, why is that binding not included as the other ones are?

Thanks in advance for any help or suggestions!

Thanks for the basic procedure. But where do I get the latest jar file from? Or where is the source code of the latest development? (I tried to search in this thread, but this strange forum SW here mask the Ctrl-F of the browser and I do not see how to search with the classic browser serach function.)

@ramack
Hi, i don’t think there is any later JAR file for this.
The source code should be at https://github.com/codeworkx/openhab2-addons/tree/75fac8013d01c17ffb4118d5aca65cd49393a460 unless I am mistaken.
Let me know if you manage to modify it to your needs and I might be able to follow your steps to do the same for mine.

Thanks

Hi,

just a small status update: I have it up and running, but as my controller is not supported I cannot configure anything. The resol-vbus-java library used by the binding was recently updated to support the new VSF (VBus Specification File) mechanism, with this I hope it is possible to support all controllers out of the box and use proper localization - at least English, French and German should be possible. I will look into this in the next days.
@Laurens do you think it is feasible to go for a generic implementation? - The way you added support for a new controller seems much effort to cover “all” Resol controller, isn’t it?

Regards,
Rapha