Help with ebus binding

  • Platform information:
    • Hardware: Raspberry Pi 3B
    • OS: openhabian
    • openHAB version: 4.1.1
  • Issue of the topic:

Complete beginner here! I am sucessfully monitoring my Vaillant boiler’s ebus using ebusd an a RPi and now I’d like to try doing the same with openHAB. I have just installed it for the first time on another RPi and installed the ebus binding. However ebus does not appear in openhab> bundle:list.

According to https://v2.openhab.org/addons/bindings/ebus1/ I need to edit services/ebus.cfg but I can’t find that anywhere.

Clearly my understanding is missing something. Can anyone help please?

Mike

That’s a v1.x style binding and is not supported past OH 2.5.

When running OH 4, make sure you are very careful to use the version of the docs that correspond to the version of OH you are actually running. There is a warning at the top of the docs:

It would seem in the nearly seven years since OH 2.0 has come out no one has volunteered to implement an ebus add-on and submit it to the openHAB project. However, all is not lost. There appears to be a community implemented binding on the Marketplace. You’
ll find it by going to Add-on Store → Scroll down to Community Marketplace → Show More and you will find eBus in the list.

Unfortunately the usage instructions are lacking. I assume it uses the same as the 3.x version which you can find here

In the community forum you can find extra information here

If you need to define your own configuration files, the information is here

Thank you both for your prompt and helpful replies, and apologies for not paying more attention to the warnings.

Onwards and upwards!

Mike

OK I have installed the latest ebus binding and added three Things: my boiler, controller and a bridge.

Now for the really dumb question. What do I need to do to monitor data on the bus? For example, how can I read a parameter called RoomTemp?

Once I understand how to do this I should be OK!

Mike

Be sure to review the Getting Started Tutoirial and the Concepts section of the docs. There you will learn that Things have Channels, Channels link to Item, and Items are used everywhere else in OH.

Great, thank you.

Mike

OK I’m getting there very slowly.

I have created an item and linked it to a boiler parameter. The Channel is configured to poll every 10 seconds. The Item value is showing NULL. Does that mean that openhab is not communicating with the bus?

Mike

could be any number of things. What do the logs say?

Good point. This is all I could find:

openhabian@openhabian:~ $ ls /var/log/openhab
audit.log        openhab.log       openhab.log.3.gz  openhab.log.6.gz
events.log       openhab.log.1.gz  openhab.log.4.gz  Readme.txt
events.log.1.gz  openhab.log.2.gz  openhab.log.5.gz

Everything is empty apart from the openhab.log files. Is that where I should be looking?

Mike

OK I found this in openhab.log after deleting and recreating the link:

2024-01-14 20:36:39.718 [INFO ] [ng.ebus.internal.handler.EBusHandler] - (Re)Initialize all eBUS pollings for ebus:bai:d756b511bf ...
2024-01-14 20:38:54.043 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_datetime#status
2024-01-14 20:38:54.045 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_datetime#datetime
2024-01-14 20:38:54.047 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_datetime#temp-outside
2024-01-14 20:38:54.049 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-return#temp-return
2024-01-14 20:38:54.051 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-return#status
2024-01-14 20:38:54.053 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_state-gas-valve#state-gas-valve
2024-01-14 20:38:54.055 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02#hwcmode
2024-01-14 20:38:54.057 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02#temp0-max
2024-01-14 20:38:54.058 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02#temp0-target
2024-01-14 20:38:54.060 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02#srv-water-target-max
2024-01-14 20:38:54.061 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02#srv-water-target
2024-01-14 20:38:54.063 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02#-unknown1
2024-01-14 20:38:54.065 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_level-part-load#level-part-load
2024-01-14 20:38:54.066 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-d-flow-ext#temp-d-flow-ext
2024-01-14 20:38:54.068 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-d-flow#temp-d-flow
2024-01-14 20:38:54.069 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-outside#temp-outside
2024-01-14 20:38:54.070 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-outside#status
2024-01-14 20:38:54.072 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_setopdata#temp-d-lead-water
2024-01-14 20:38:54.074 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_setopdata#temp-d-srv-water
2024-01-14 20:38:54.076 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_setopdata#turnoff-water-heating
2024-01-14 20:38:54.078 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_setopdata#turnoffservice-water-heating
2024-01-14 20:38:54.079 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02b#hwcmode
2024-01-14 20:38:54.081 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02b#temp0-max
2024-01-14 20:38:54.082 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02b#temp0-target
2024-01-14 20:38:54.083 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02b#srv-water-target-max
2024-01-14 20:38:54.085 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata_02b#srv-water-target
2024-01-14 20:38:54.086 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_state-thermostat-24V#state-thermostat-24V
2024-01-14 20:38:54.088 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_state-pump-ext#state-circulation-pump
2024-01-14 20:38:54.090 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#temp-lead-water
2024-01-14 20:38:54.091 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#temp-return-lead-water
2024-01-14 20:38:54.093 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#temp-outside
2024-01-14 20:38:54.095 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#temp-srv-water
2024-01-14 20:38:54.096 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#temp-return-srv-water
2024-01-14 20:38:54.097 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#status-lead-heating
2024-01-14 20:38:54.099 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_control_getopdata#status-servicewater-heating
2024-01-14 20:38:54.100 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_state-diverter-valve#state-diverter-valve
2024-01-14 20:38:54.102 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_value-io#value-io
2024-01-14 20:38:54.103 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-cylinder#temp-cylinder
2024-01-14 20:38:54.105 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-cylinder#status
2024-01-14 20:38:54.106 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-flow#temp-flow
2024-01-14 20:38:54.107 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-flow#status
2024-01-14 20:38:54.110 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-outlet#temp-outlet
2024-01-14 20:38:54.111 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-outlet#status
2024-01-14 20:38:54.113 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_mode-summer-winter-switch#mode-summer-winter-switch
2024-01-14 20:38:54.115 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_state-pump#state-pump
2024-01-14 20:38:54.117 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_dhw_state-dhw-demand-ebus#state-dhw-demand-ebus
2024-01-14 20:38:54.119 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_blocktime-boiler#blocktime-boiler
2024-01-14 20:38:54.120 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_modulation-pump#modulation-pump
2024-01-14 20:38:54.122 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-d-cylinder#temp-d-cylinder
2024-01-14 20:38:54.123 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_dhw_state-dhw-demand#state-dhw-demand
2024-01-14 20:38:54.125 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_controller_state-thermostat-RT#state-thermostat-RT
2024-01-14 20:38:54.126 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_flame#flame
2024-01-14 20:38:54.128 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_pressure#pressure
2024-01-14 20:38:54.129 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_pressure#status
2024-01-14 20:38:54.131 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_postrun-pump#postrun-pump
2024-01-14 20:38:54.132 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_temp-d-dhw#temp-d-dhw
2024-01-14 20:38:54.134 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_speed-d-fan#speed-d-fan
2024-01-14 20:38:54.135 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_state-return-regulation#state-return-regulation
2024-01-14 20:38:54.137 [INFO ] [ng.ebus.internal.handler.EBusHandler] - thingUpdated ebus:bai:d756b511bf:bai_boiler_speed-fan#speed-fan
2024-01-14 20:39:09.768 [INFO ] [ng.ebus.internal.handler.EBusHandler] - Register polling for "boiler.temp_return" every 10 sec. (initial delay 6 sec.)

That was followed by lots of errors:

2024-01-14 20:39:09.768 [INFO ] [ng.ebus.internal.handler.EBusHandler] - Registe r polling for “boiler.temp_return” every 10 sec. (initial delay 6 sec.)
2024-01-14 20:40:37.341 [WARN ] [dev.ebus.core.EBusLowLevelController] - eBUS Wa tchdog Timer!
2024-01-14 20:42:35.793 [ERROR] [de.csdev.ebus.core.EBusQueue ] - Send qu eue is full! The eBUS service will reset the queue to ensure proper operation.

events.log shouldn’t be empty. But yes, openhab.log is where you look for errors.

I can’t help with specific eBus errors but these look like like something to do with eBus and/or the config of the eBu binding and/or Thing.

Thanks Rich, I appreciate that it’s difficult to know what’s going on in someone elses’s installation if you’re not familiar with the specifics. Since I last looked at the log it’s been posting this error every few minutes:

2024-01-15 08:25:21.093 [ERROR] [de.csdev.ebus.core.EBusQueue ] - Send queue is full! The eBUS service will reset the queue to ensure proper operation.

Anyway I’ve spent the whole weekend getting this far so it’s time to take a break and I’ll come back to it another day.

Thanks again, Mike.

Just to let you know that I gave up on the ebus binding. As I’m already familiar with the ebusd daemon I used it with the Exec binding to issue commands and now I’m getting results back :grinning: :grinning:.

Of course that has raised more questions which I will post on another thread …

Mike