[eBUS 2.0] New binding - Release Candidate 7b

Hi there,

till 2 days I try to get data from my Vaillant ecoTec with VRC470. but not with success :frowning:

I got an ebus 2.1 adapter from FHEM-Forum which is sending data over WLan and it still works with FHEM, but now I wanna try OH2.

Therefore I’ve downloaded Alpha 15 of ebus 2.0 Binding and put it in my Addon-Folder of OH2.
After that I could see the ebus-bridge and configured it with the IP-Address and port of ebus-adapter.

The Status of Bridge is ONLINE, but without receibing any data.

I opened console of OH2 and smarthome:ebus devices will only show
FF null null

Do I have to config anything more?

Hello @Allodo,

could you provide more information on your setup. Witch adapter, WLAN ? Can you see messages on the openhab console?

Well I got this adapter and it works well with my hardware.

Sorry but I’m a really newbie on OH2.

When I’m at home I could post what smarthome.ebus devices shows or what do you need?

After a quick check I think this is not a normal Ethernet adapter. It looks a bit smarter. So this binding is maybe not compatible. But I had no time yet to check the details.

On this Post (ChrisPe) it seems to be that he has the same ebus-adapter and it works, so I think this is only an problem with my configuration

Here some results:

I’m not sure if @ChrisPe uses an Adapter with an embedded ESP. You added the vrc by Hand? Or has the binding discovered this thing?

Hi,
In my case using the FHEM WLAN adaptor let the things being discovered perfectly…
@Allodo, What happens when you connect to the ip and port with an advanced terminal, like RealTerm ?
@csowada, by the way, I saw you started to implement udp on Github, did you progress on this ? I’m still looking for a way to reconnect to the network port once disconnected, and using Wifi this is not that unusual.

Since the connection is refused, it’s possible the TCP port is still used by another connection, maybe ebusd ?

@ChrisPe, possibly, I was just looking into this. Now I see the Esera device can be configured to be a server or a client. Which operating mode should I select to work with the binding ?

@csowada
I’m not sure what you mean. I inserted the Jar-File to Addons an then I see the ebus-bridge on Binding. In there are a lot of Things which I can choose e.g. Vaillant VRC430/470 and so on.

Anything else I could post to solve my problem?
Well I got an VRC470 and no VRC430, but how could I say that to the Thing?

Here is a part of my log-Files:

2018-05-04 16:18:06.416 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.state_diverter_valve" every 60 sec. (initil delay 5 sec.)
2018-05-04 16:18:06.421 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.value_io" every 60 sec. (initil delay 7 sec.)
2018-05-04 16:18:06.424 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_cylinder" every 60 sec. (initil delay 15 sec.)
2018-05-04 16:18:06.427 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_cylinder" every 60 sec. (initil delay 2 sec.)
2018-05-04 16:18:06.430 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_flow" every 60 sec. (initil delay 2 sec.)
2018-05-04 16:18:06.433 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_flow" every 60 sec. (initil delay 8 sec.)
2018-05-04 16:18:06.437 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_outlet" every 60 sec. (initil delay 14 sec.)
2018-05-04 16:18:06.451 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_outlet" every 60 sec. (initil delay 21 sec.)
2018-05-04 16:18:06.454 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.mode_summer_winter_switch" every 60 sec. (initil delay 24 sec.)
2018-05-04 16:18:06.457 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.state_pump" every 60 sec. (initil delay 24 sec.)
2018-05-04 16:18:06.460 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "dhw.state_dhw_demand_ebus" every 60 sec. (initil delay 3 sec.)
2018-05-04 16:18:06.463 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.blocktime_boiler" every 60 sec. (initil delay 25 sec.)
2018-05-04 16:18:06.466 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.modulation_pump" every 60 sec. (initil delay 12 sec.)
2018-05-04 16:18:06.470 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_d_cylinder" every 60 sec. (initil delay 10 sec.)
2018-05-04 16:18:06.473 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "dhw.state_dhw_demand" every 60 sec. (initil delay 29 sec.)
2018-05-04 16:18:06.476 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "controller.state_thermostat_RT" every 60 sec. (initil delay 5 sec.)
2018-05-04 16:18:06.479 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.pressure" every 60 sec. (initil delay 21 sec.)
2018-05-04 16:18:06.482 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.pressure" every 60 sec. (initil delay 23 sec.)
2018-05-04 16:18:06.485 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.postrun_pump" every 60 sec. (initil delay 19 sec.)
2018-05-04 16:18:06.488 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.temp_d_dhw" every 60 sec. (initil delay 28 sec.)
2018-05-04 16:18:06.491 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.speed_d_fan" every 60 sec. (initil delay 20 sec.)
2018-05-04 16:18:06.494 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.state_return_regulation" every 60 sec. (initil delay 13 sec.)
2018-05-04 16:18:06.498 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Register polling for "boiler.speed_fan" every 60 sec. (initil delay 13 sec.)
2018-05-04 16:18:08.429 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-cylinder#status" with "FF 04 B5 09 03 0D 17 00 8F" ...
2018-05-04 16:18:08.432 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-flow#temp-flow" with "FF 04 B5 09 03 0D 18 00 61" ...
2018-05-04 16:18:09.424 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-return#status" with "FF 04 B5 09 03 0D 98 00 6A" ...
2018-05-04 16:18:09.462 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_dhw_state-dhw-demand-ebus#state-dhw-demand-ebus" with "FF 04 B5 09 03 0D 47 04 71" ...
2018-05-04 16:18:11.301 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_level-part-load#level-part-load" with "FF 04 B5 09 03 0D 07 04 B9" ...
2018-05-04 16:18:11.418 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_state-diverter-valve#state-diverter-valve" with "FF 04 B5 09 03 0D 54 00 71" ...
2018-05-04 16:18:11.477 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_controller_state-thermostat-RT#state-thermostat-RT" with "FF 04 B5 09 03 0D 2A 00 9A" ...
2018-05-04 16:18:13.422 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_value-io#value-io" with "FF 04 B5 09 03 0D A4 00 E4" ...
2018-05-04 16:18:14.435 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-flow#status" with "FF 04 B5 09 03 0D 18 00 61" ...
2018-05-04 16:18:16.471 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-d-cylinder#temp-d-cylinder" with "FF 04 B5 09 03 0D 04 00 8B" ...
2018-05-04 16:18:18.468 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_modulation-pump#modulation-pump" with "FF 04 B5 09 03 0D 73 00 E2" ...
2018-05-04 16:18:19.496 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_state-return-regulation#state-return-regulation" with "FF 04 B5 09 03 0D 0C 04 96" ...
2018-05-04 16:18:19.500 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_speed-fan#speed-fan" with "FF 04 B5 09 03 0D 83 00 77" ...
2018-05-04 16:18:20.438 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-outlet#temp-outlet" with "FF 04 B5 09 03 0D 16 00 14" ...
2018-05-04 16:18:21.319 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-outside#status" with "FF 04 B5 09 03 0D 76 00 B8" ...
2018-05-04 16:18:21.425 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-cylinder#temp-cylinder" with "FF 04 B5 09 03 0D 17 00 8F" ...
2018-05-04 16:18:24.315 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-outside#temp-outside" with "FF 04 B5 09 03 0D 76 00 B8" ...
2018-05-04 16:18:25.487 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_postrun-pump#postrun-pump" with "FF 04 B5 09 03 0D F7 03 2B" ...
2018-05-04 16:18:26.306 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-d-flow-ext#temp-d-flow-ext" with "FF 04 B5 09 03 0D 6E 04 97" ...
2018-05-04 16:18:26.493 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_speed-d-fan#speed-d-fan" with "FF 04 B5 09 03 0D 24 00 EF" ...
2018-05-04 16:18:27.452 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-outlet#status" with "FF 04 B5 09 03 0D 16 00 14" ...
2018-05-04 16:18:27.480 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_pressure#pressure" with "FF 04 B5 09 03 0D 02 00 E7" ...
2018-05-04 16:18:29.310 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-d-flow#temp-d-flow" with "FF 04 B5 09 03 0D 39 00 9E" ...
2018-05-04 16:18:29.483 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_pressure#status" with "FF 04 B5 09 03 0D 02 00 E7" ...
2018-05-04 16:18:30.456 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_mode-summer-winter-switch#mode-summer-winter-switch" with "FF 04 B5 09 03 0D F2 03 71" ...
2018-05-04 16:18:31.465 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_blocktime-boiler#blocktime-boiler" with "FF 04 B5 09 03 0D 09 04 CC" ...
2018-05-04 16:18:31.446 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_state-gas-valve#state-gas-valve" with "FF 04 B5 09 03 0D BB 00 38" ...
2018-05-04 16:18:31.420 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-return#temp-return" with "FF 04 B5 09 03 0D 98 00 6A" ...
2018-05-04 16:18:30.459 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_state-pump#state-pump" with "FF 04 B5 09 03 0D 44 00 43" ...
2018-05-04 16:18:33.359 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_state-thermostat-24V#state-thermostat-24V" with "FF 04 B5 09 03 0D 0E 00 3F" ...
2018-05-04 16:18:34.490 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_temp-d-dhw#temp-d-dhw" with "FF 04 B5 09 03 0D EA 03 5A" ...
2018-05-04 16:18:35.363 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_boiler_state-pump-ext#state-pump-ext" with "FF 04 B5 09 03 0D 3F 00 F2" ...
2018-05-04 16:18:35.475 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command "ebus:bai:a4221200:bai_dhw_state-dhw-demand#state-dhw-demand" with "FF 04 B5 09 03 0D 58 00 A9 00" ...

@ChrisPe
This is possible because FHEM is running on another Rpi2.

I do not have the interface right in front of me, but logically the esera device should act as a RAW telnet server, and the ebus binding act as a client.

I have a VRC470 as well, and it’s detected out of the box.

I have no way to check right now if it’s possible, but maybe using a tcpdump on the OH2 device could tell you if the device is sending data over the network ? use a filter to show only traffic related to the ip of the ebus adapter to make it readable :slight_smile:

Oh you mean you have another connection on your adapter ? The TCP server can accept only one connection at time, so the other one should be disconnected before starting the OH2 ebus binding.

I’ve now deleted the ebus-config from my fhem.cfg so that FHEM didn’t know the ebus-adapter.
Do I have to restart OH2?

@ChrisPe
What do you mean, it’s detected out of the box?
When you choose the ebus-Binding there is only the VRC470 or what did you do?
Which Port do you use? The ebusd-TCP-Port or the Management TCP port?

Here is my ebus-adapter-config:

You should only add the bridge with the port 8889 in PaperUI, then auto discovery should find additional things for you.

Okay, then I delete the actual bridge an configure it new. Hope it works!!!

Will things be find immediatly or still I have to wait a short time?

Usually, my BAI boiler and VRC470 is discovered within 5 seconds after creation of the bridge. But before that, ensure that the ebus connected shows “no” on the adaptor web page, otherwize there is something still connected to it and your connection from the binding will fail to connect.

And yes, you have to connect to 192.168.1.40 and port 8889.

Hi,
I managed to make the ebus binding talk to the bridge, but there is still some problem with the configuration.
I created a thing for the bridge and one for the Vaillant (Ecotec Plus) burner with HEX slave address 08 in PaperUI.
In the burner thing, there’s a long list of items that I can activate, but when I activate them none returns a neaningfull value.
There is a No response from slave error message in the openhab log. The other ebus related log messages are added for reference.
Am I missing something ? I’m using 2.2.0.201712041912 version of the binding.

14:33:59.381 [DEBUG] [inding.ebus.handler.EBusBridgeHandler] - eBUS telegram error; No response from slave! AA [ERROR: NO_SLAVE_RESPONSE, DATA: 10 53 07 04 00 57]
14:34:00.479 [INFO ] [inding.ebus.handler.EBusBridgeHandler] - Received telegram from address 10 to 08 with command boiler.control.getopdata
14:34:00.526 [INFO ] [nhab.binding.ebus.handler.EBusHandler] - Handle received command by thing ketelVaillant with id ebus:bai:3db5cfc1:08 ...
14:34:00.589 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key status_lead_heating with value null
14:34:00.620 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key temp_outside with value null
14:34:00.648 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key temp_return_srv_water with value 36
14:34:00.678 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key temp_srv_water with value 47
14:34:00.709 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key temp_return_lead_water with value 51
14:34:00.769 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key status_servicewater_heating with value null
14:34:00.838 [DEBUG] [nhab.binding.ebus.handler.EBusHandler] - Key temp_lead_water with value 52

For reference, on the fysical bus, there is a vaillant Ecotec plus VCW burner and a tado extension kit. Below are the responses I get when I use ebusd to interrogate the bus. I switch off ebusd when the ebus binding is switched on and vise-versa.

ebusctl info

version: ebusd 3.0.595c7c0
update check: version 3.1 available, broadcast.csv: different version available, memory.csv: different version available, vaillant/15.370.csv: different version available, vaillant/bai.308523.inc: different version available, vaillant/broadcast.csv: different version available, vaillant/errors.inc: different version availab
access: *
signal: acquired
symbol rate: 22
max symbol rate: 111
reconnects: 0
masters: 3
messages: 354
conditional: 3
poll: 0
update: 9
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0414;HW=7401", loaded "vaillant/bai.308523.inc" ([HW=7401]), "vaillant/08.bai.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=37000;SW=0129;HW=6002", loaded "vaillant/15.370.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd

ebusctl scan result

08;Vaillant;BAI00;0414;7401;21;07;15;0010002512;0001;006738;N6
15;Vaillant;37000;0129;6002

ebusctl read PartloadHcKW

30

Hello All,

after a long time I’ve created a complete new version with the latest changes. You can see all changes on github since a while. Please notice the new file format. At the moment I publish both formats, I’m not sure witch solution is better.

See first post for all information and download links.