[eBUS 2.0] New binding - Release Candidate 7b

The first step is the hardest. The rest ist simple. So you can send me the ebusd configuration and I can prepare a skeleton as start point for you.

3c.wolf-cwl-excelent-300.csv.xml (8.1 KB)

Its a csv, had to change extension to xml.

Thanks in advanced

Could you also send me some byte telegrams as example to test the the configuration file?

Hello @lukics,

we should discuss your configuration in this thread

I have dropped your proposed config into json file and configured the bridge to pick it up.
I got the wolf-cwl thing in the inbox, which I accepted.
image


I created intems out of the thing channels.

Number   WolfCWL3C_CwlAcTempInsideTempInside   "Temperature Inside"    {channel="ebus:cwl:46e9051d:3C:cwl_ac_temp-inside#temp-inside"}
Number   WolfCWL3C_CwlAcTempOusideTempOuside   "Temperature Outside"   {channel="ebus:cwl:46e9051d:3C:cwl_ac_temp-ouside#temp-ouside"}

Though the channels do not deliver any value


What did I wrong?

You have to set up polling for getter commands if you haven’t allready.
PaperUI > Configuration > Things > Wolf CWL (3C) > Edit > SHOW MORE > Polling all channels

Works now,
Thanks a lot to you and special to csowada for the great work/support.
I will now move from ebusd in next days.

One question regarding the configuration files. Is it possible to subtract two values. At the moment i’m working on a configuration for the VR90 and the room temperature is represented as the raw value from which the self heating must be subtracted.

Helo,

Why on new binding Alpha 15 not read all values? My heating unit is Vaillant and controller is VRC 450. New binding not read this values:

  • dhw_runtime
  • dhw_starts
  • heating_runtime
  • heating_starts
    Why parameter boiler_state_gas_valve is read as string but data is integer (240 when valve is off and 15 when valve is on)?

Best regards
Pawel

Hello,

In logs ebus binding generate a error like this:

2018-01-19 10:54:49.038 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command “ebus:vrc430:e95bc9f2:vrc430_heating_temp-d-day#temp-d-day” with “FF 15 B5 09 03 0D 27 00 1A” …
2018-01-19 10:54:49.162 [INFO ] [nding.ebus.handler.EBusBridgeHandler] - Received telegram from address FF to 15 with command heating.temp_d_day
2018-01-19 10:54:49.166 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Handle received command by thing Vaillant VRC 430(f)/470(f) with id ebus:vrc430:e95bc9f2 …
2018-01-19 10:54:49.200 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command “ebus:bai:fcb160b9:08:bai_boiler_temp-d-flow-ext#temp-d-flow-ext” with “FF 08 B5 09 03 0D 6E 04 4A” …
2018-01-19 10:54:49.215 [INFO ] [hab.binding.ebus.handler.EBusHandler] - Poll command “ebus:bai:fcb160b9:08:bai_dhw_state-dhw-demand#state-dhw-demand” with “FF 08 B5 09 03 0D 58 00 74” …
2018-01-19 10:54:49.361 [ERROR] [e.csdev.ebus.core.EBusControllerBase] - Error while firing onTelegramReceived events!
java.lang.ArrayIndexOutOfBoundsException: null
at java.lang.System.arraycopy(Native Method) ~[?:?]
at de.csdev.ebus.command.EBusCommandUtils.decodeValueList(EBusCommandUtils.java:369) [12:org.openhab.binding.ebus:2.2.0.201712041912]
at de.csdev.ebus.command.EBusCommandUtils.decodeTelegram(EBusCommandUtils.java:422) [12:org.openhab.binding.ebus:2.2.0.201712041912]
at de.csdev.ebus.service.parser.EBusParserService.onTelegramReceived(EBusParserService.java:94) [12:org.openhab.binding.ebus:2.2.0.201712041912]
at de.csdev.ebus.core.EBusControllerBase$2.run(EBusControllerBase.java:101) [12:org.openhab.binding.ebus:2.2.0.201712041912]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-01-19 10:54:49.565 [INFO ] [nding.ebus.handler.EBusBridgeHandler] - Received telegram from address FF to 08 with command dhw.state_dhw_demand

Hi all,

@csowada, first od all, thank you for your great work.

I would like to implement eBUS in my system. I am owner of Vaillant ecoTEC plus VUW INT I 206/5-5, but nothing else. This gas heater with hot water boiler is equipped with eBUS, and I would like that my current openHAB setup simulate some thermostat control. Is that possible?

My adapter is from FHEM wiki (link). It’s built and tested on table, and now I would like to connect it for some tests, so I have few questions:

  1. If I connect adapter to heater, should I see any output, as there is nothing else on bus?

  2. If not, what do you suggest, how to initiate communication?

  3. Could you give me some clues what is minimum needed on eBus binding configuration to start seeing some data?

branek

Hi @branek,

which version of the bus interface do you have? The 1.6 or the new 2.0 version?

If you connect the device to the heater, you should normally see the “heartbeat” <aa and i think at least a broadcast for the date and time.

To check if your device is working properly, look at the section “Poti abgleichen” in the link you posted. Therefore you need to install the ebusd-service. If you install the latest version, you also need to start the service with the option --raw-bytes (not 100% sure if this is the option, look in the man-page) to see the raw bytes.

Thanks @dkuschmierz,

I am using latest stable version of openHAB 2.

Already read all regarding calibration. Do you think it’s possible to have data received in terminal, with just opening COM port?

My thoughts was to open com port via terminal and to observe raw data received, to prove that adapter is working before starting to play with main openHAB server.

branek

@branek

The question which version you are using was about the ebus-converter not about the openhab version. There is a new version 2.0 where you don’t have to calibrate the poti.

If you only want to check if there is coming some data, you can simply do it with hexdump /dev/ttyUSBx (replace x with your port number). Then you will see something like that:

0000000 aaaa aaaa aaaa aaaa 10aa b5fe 0305 014a
0000010 aaf4 aaaa 0908 b829 fd01 0103 aa70 10aa
0000020 b508 0309 b929 6601 0300 01b9 6600 aa00
0000030 aaaa 0810 09b5 2903 000f 0056 0f05 f300
0000040 00ff 0047 aaaa 10aa b508 0309 bb29 ca00
0000050 0300 00bb d100 aa00 aaaa aaaa aaaa aaaa
0000060 0810 03b5 0103 0001 00c2 0208 0010 0105
0000070 db12 6c05 aa00 aaaa aaaa aaaa aaaa 2310
0000080 05b5 2b07 0100 0000 0000 0079 0000 aa00
0000090 aaaa aaaa aaaa aaaa aaaa 10aa b508 0211
00000a0 0003 001e 970a 5601 ad06 0001 0128 4000
00000b0 aa00 aaaa 0810 11b5 0201 008a 0005 c800
00000c0 c800 00ca aaaa aaaa aaaa aaaa aaaa aaaa
00000d0 aaaa aaaa aaaa aaaa e003 21b5 0005 060a
00000e0 e700 002e 0009 cc02 eeff 07ff 0000 0009
00000f0 aaaa aaaa aaaa 10aa b508 0309 0129 2300
0000100 0500 0001 0207 0700 aa00 aaaa 0810 09b5
0000110 2903 0007 004f 0705 a800 0001 00b5 03aa
0000120 b5e0 0409 3a0e 0000 00c0 0000 aa00 10aa
0000130 b508 0313 cd04 7f01 0a00 01cd 0000 0000
0000140 0001 0001 00fa aaaa 10aa b508 0309 ba29
0000150 5100 0300 00ba c700 aa00 aaaa 0810 09b5

As you can see, you should see a lot of a’s there. And for vaillant systems, there are also a lot of B5 xx

@dkuschmierz

Not reading carefully… my adapter is version 1.6. I was not aware of version 2.0 (does not know German, and missed that forum posts).

Ok, let me first check if I am able to receive anything.

branek

@branek

ok, but then i recommend you to adjust the potentiometer with the ebusd-service, because there you can see the time between the packages.

Here is a description how to do that: https://github.com/john30/ebusd/wiki/6.-Hardware

See chapter Adjusting the potentiometer

Thanks @dkuschmierz, adapter is ok.

Working great, lots of 0xAA, and occasional 0xB5 with additional data. Also, when I press some key in terminal window, I see hex code of key printed. Of course, echo in terminal is turned off, so I think that means sending is ok also.
Now, it’s time to backup current sd card of RPi, and start installing eBUS binding.

As small insight what I am trying, as heater is in basement, and no chance to get cable from basement to RPi, or to get RPi close to basement, I will try to transfer serial data with this WiFi to serial module (link). I finished proof of concept, with one module, data running from test MCU to WiFI, and receiving with netcat on RPi. Results gives me high hope.

I will probably have more questions tomorrow, when eBUS binding installed and activated.

branek

Hi all,

Binding is working, I got some data but my connection is not stable, as heating boiler is in basement, and WiFI AP at second floor. Need to implement some rearrangement, for better connectivity. That will take some time as this is my parents home, and I’ll be beck here in few weeks.

One question regarding data on eBUS… is it possible to get gas consumption? eBUS specification shows some data available for that (3.1.5 Complete Reading Fuel Quantity Counter (Service 03h 08h).

Anyway, @csowada, once more, you have done great work here. Thanks.
@dkuschmierz, thanks for your help.

branek

Hello.
I tried it with VRC430 thing, but it don’t work. There are a few values, but they are wrong.
In example the controller datetime in year 1969.
I saw in eBUS 1.1 there was the VRC630 supported. Is there a way to add it also in eBUS 2.0?

Thank you.

br

Hello
I tried connecting openhab 2.2 to an ebusd 3.0 instance on another raspberry pi. In habmin I can enter the IP and the port, but the settings are not saved. Ebus bridge always says “Network address and port either serial port must be set” and the fields are empty after a reload. I even tried this on a brand new installation. Any ideas what could cause this behaviour? Thanks a lot