Ebus binding

Dear guys,

I have a problem which is maybe easy to solve but I have no ideas anymore what to do…

It seems that openHAB will not connect to the eBus coupler at the startup.

In principle I have the same configuration like Jagohou:

  • eService Online Ethernet eBus Coupler (configured like discribed above)
  • Vaillant geoTherm heatpump connected to the bus (but it is not that important at the moment…)
  • eBus level adjusted
  • I’m able to ping the coupler
C:\Users\Server>ping 192.168.1.201

Ping wird ausgeführt für 192.168.1.201 mit 32 Bytes Daten:
Antwort von 192.168.1.201: Bytes=32 Zeit<1ms TTL=128
Antwort von 192.168.1.201: Bytes=32 Zeit<1ms TTL=128
Antwort von 192.168.1.201: Bytes=32 Zeit<1ms TTL=128
Antwort von 192.168.1.201: Bytes=32 Zeit<1ms TTL=128

Ping-Statistik für 192.168.1.201:
    Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
    (0% Verlust),
Ca. Zeitangaben in Millisek.:
    Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms

openHAB startup log:

Launching the openHAB runtime...
osgi> 2016-11-16 09:57:57.612 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.8.3).
2016-11-16 09:57:58.456 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2016-11-16 09:57:58.534 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2016-11-16 09:57:58.534 [INFO ] [.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2016-11-16 09:57:58.534 [INFO ] [o.i.t.m.i.MqttBrokerConnection] - Starting MQTT broker connection 'mosquitto'
2016-11-16 09:58:00.422 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2016-11-16 09:58:08.207 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'myhouse.sitemap'
2016-11-16 09:58:08.411 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'db4o.persist'
2016-11-16 09:58:08.426 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'exec.persist'
2016-11-16 09:58:08.442 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
2016-11-16 09:58:08.442 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'mysql.persist'
2016-11-16 09:58:08.442 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-11-16 09:58:08.458 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'myhome.items'
2016-11-16 09:58:08.936 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /classicui/openhab.app
2016-11-16 09:58:12.139 [INFO ] [b.k.i.connection.KNXConnection] - Established connection to KNX bus on 192.168.1.200:3671 in mode TUNNEL.
2016-11-16 09:58:12.514 [INFO ] [.p.rrd4j.internal.RRD4jService] - Removing invalid defintion component = null heartbeat = 0 min/max = 0.0/0.0 step = 0 0 archives(s) = [] 0 items(s) = []
2016-11-16 09:58:12.686 [INFO ] [.service.AbstractActiveService] - HTTP Refresh Service has been started
2016-11-16 09:58:12.686 [INFO ] [.service.AbstractActiveService] - NTP Refresh Service has been started
2016-11-16 09:58:12.733 [INFO ] [runtime.busevents             ] - Date state updated to 2016-11-16T09:58:12
2016-11-16 09:58:18.534 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'myhouse.rules'
2016-11-16 09:58:56.728 [INFO ] [runtime.busevents             ] - Temperatur_Bar state updated to 17.80
2016-11-16 09:58:56.728 [INFO ] [runtime.busevents             ] - Humidity_Bar state updated to 40.70
2016-11-16 09:59:00.329 [INFO ] [m.script.Thermostat_Badezimmer] - Wochenende: nein

My .cfg file looks like:

############################## eBus Binding ###########################################
#

# Serial port of eBus interface
# Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux
#ebus:serialPort=COM2

# TCP Hostname and Port
# Warning: Only use ebus.hostname or ebus.serialPort
ebus:hostname=192.168.1.201
ebus:port=5000

# Custom parser configuration file
# This example tries to load a configuration ${openhab_home}/configurations/ebus-config.json
ebus:parserUrl=platform:/base/../configurations/ebus-config.json

# Load different parser, currently supported
# >> common - All telegrams defined by eBus interest group
# >> wolf - All telegrams specified by Wolf/Kromschröder
# >> vaillant - All telegrams specified by Vaillant
# >> testing -  All unknown or test telegrams
# >> custom - Use configuration defined by ebus:parserUrl
# default uses common and all vendor specified telegrams
ebus:parsers=custom

# Set the sender id of this binding, default is "FF"
#ebus:senderId=FF

my ebus-config.json

[
	{
"comment": "HeatSource->Heater",
"device": "VWP",

"id": "HeatSource",
"class": "controller",

"command": "B5 09",
"data": "(0D) 0F 00",

"values":   {
    "temp1": {"type": "data2c", "pos": 1, "label": "SourceTemperature"},
    "temp2": {"type": "data2c", "pos": 2, "label": "SourceTemperature"},
    "temp3": {"type": "data2c", "pos": 3, "label": "SourceTemperature"},
    "temp4": {"type": "data2c", "pos": 4, "label": "SourceTemperature"},
    "temp5": {"type": "data2c", "pos": 5, "label": "SourceTemperature"},
    "temp6": {"type": "data2c", "pos": 6, "label": "SourceTemperature"},
    "temp7": {"type": "data2c", "pos": 7, "label": "SourceTemperature"},
    "temp8": {"type": "data2c", "pos": 8, "label": "SourceTemperature"},
    "temp9": {"type": "data2c", "pos": 9, "label": "SourceTemperature"},
    "temp10": {"type": "data2c", "pos": 10, "label": "SourceTemperature"},
    "temp11": {"type": "data2c", "pos": 11, "label": "SourceTemperature"},
    "temp12": {"type": "data2c", "pos": 12, "label": "SourceTemperature"},
    "temp13": {"type": "data2c", "pos": 13, "label": "SourceTemperature"},
    "temp14": {"type": "data2c", "pos": 14, "label": "SourceTemperature"}        
            }
},
{
"comment": "OutsideTemperature",
"device": "VWP",

"id": "TempOut",
"class": "controller",

"command": "B5 09",
"data": "(0D) 06 00",

"values":   {
    "temp1": {"type": "data2c", "pos": 1, "label": "SourceTemperature"},
    "temp2": {"type": "data2c", "pos": 2, "label": "SourceTemperature"},
    "temp3": {"type": "data2c", "pos": 3, "label": "SourceTemperature"},
    "temp4": {"type": "data2c", "pos": 4, "label": "SourceTemperature"},
    "temp5": {"type": "data2c", "pos": 5, "label": "SourceTemperature"},
    "temp6": {"type": "data2c", "pos": 6, "label": "SourceTemperature"},
    "temp7": {"type": "data2c", "pos": 7, "label": "SourceTemperature"},
    "temp8": {"type": "data2c", "pos": 8, "label": "SourceTemperature"},
    "temp9": {"type": "data2c", "pos": 9, "label": "SourceTemperature"},
    "temp10": {"type": "data2c", "pos": 10, "label": "SourceTemperature"},
    "temp11": {"type": "data2c", "pos": 11, "label": "SourceTemperature"},
    "temp12": {"type": "data2c", "pos": 12, "label": "SourceTemperature"},
    "temp13": {"type": "data2c", "pos": 13, "label": "SourceTemperature"},
    "temp14": {"type": "data2c", "pos": 14, "label": "SourceTemperature"}        
            }
},      
{
"comment": "HeatSinkTemperatur",
"device": "VWP",

"id": "HeatSink",
"class": "controller",

"command": "B5 09",
"data": "(0D) 03 00",

"values":   {
    "temp1": {"type": "data2c", "pos": 1, "label": "SourceTemperature"},
    "temp2": {"type": "data2c", "pos": 2, "label": "SourceTemperature"},
    "temp3": {"type": "data2c", "pos": 3, "label": "SourceTemperature"},
    "temp4": {"type": "data2c", "pos": 4, "label": "SourceTemperature"},
    "temp5": {"type": "data2c", "pos": 5, "label": "SourceTemperature"},
    "temp6": {"type": "data2c", "pos": 6, "label": "SourceTemperature"},
    "temp7": {"type": "data2c", "pos": 7, "label": "SourceTemperature"},
    "temp8": {"type": "data2c", "pos": 8, "label": "SourceTemperature"},
    "temp9": {"type": "data2c", "pos": 9, "label": "SourceTemperature"},
    "temp10": {"type": "data2c", "pos": 10, "label": "SourceTemperature"},
    "temp11": {"type": "data2c", "pos": 11, "label": "SourceTemperature"},
    "temp12": {"type": "data2c", "pos": 12, "label": "SourceTemperature"},
    "temp13": {"type": "data2c", "pos": 13, "label": "SourceTemperature"},
    "temp14": {"type": "data2c", "pos": 14, "label": "SourceTemperature"}        
            }
}
]

Is there any other file which needs to be placed in the openHAB runtime folder? Did I forget anything else?

Thank you in advance for your help!

  • Have you copied the binding .jar to openhab?
  • You should start with ebus:parser=common

I’m such a stupid idiot! I was 100% sure I took the binding.jar into the folder…that was the mistake. :rolling_eyes:

Thank you very much csowada!

But what do you mean with your second sentence? Now I get some values from the eBus, is your second sentence still relevant?

Thanks

No, I was not sure if the binding loads if the configuration is incorrect or empty.

Ah ok, thanks a lot again!

I’m currently working on a ebusd converter. So I some Vaillant user are interested to test, follow this topic.

After a mail from a eBus binding user I fixed the binding and looked at the CRC calculation. This version should fix a CRC calculation issue.

You can test the new version: https://drive.google.com/open?id=0B5Vjy5Qe0CabbVpRaE5VREdWTFk

Hello @csowada, what is the status of ebus binding re. OpenHab 2 compatibility?

(I checked https://github.com/csowada/openhab-bindings/tree/master/org.openhab.binding.ebus and it was last updated about two years ago.)

Your post from December 2016 looks like you may still keep working on the binding, is it correct?

P.S. Until now, I have been using ebusd and I parse the data through my own script and publish them to openHab via MQTT, which works, but having it connected directly to openHab might be better.

BTW, I would have a use for the script converting csv (ebusd conf) to json conf file as well (I use Protherm device, which is part of Vaillant Group, but some definitions are different).

Hello @Derka,

this is the old repository, you should look into my fork, specially into this branch.
https://github.com/csowada/openhab/tree/ebus-fix-expand-bytes

Here is the jar file to this version, I still need testers :wink:

But the current released version is full compatible with OH2, but not contains any discovry etc. features from OH2.

If you want to cnvert your configuration files you can try this small tool.

Hi @csowada,

thanks for the correct links. Where do I put the binding config file in OH2? The wiki refers to OH1.8.

I tried (ebusd daemon is stopped, so ttyUSB0 should be available for OH2):

$ cat conf/services/runtime.cfg
ebus:serialPort=/dev/ttyUSB0
ebus:parsers=common,vaillant-bai00

and it seems to be ignored:

2017-01-31 20:57:27.761 [INFO ] [ab.binding.ebus.internal.EBusBinding] - Update eBus Binding configuration ...
2017-01-31 20:57:30.308 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler, id=319, bundle=195/file:/opt/openhab2-runtime/addons/org.openhab.binding.ebus-1.9.0-FIX-001.jar]: Updating property hostname of configuration org.openhab.ebus caused a problem: Set property serialPort or hostname, not both!
org.osgi.service.cm.ConfigurationException: hostname : Set property serialPort or hostname, not both!
        at org.openhab.binding.ebus.internal.EBusBinding.updated(EBusBinding.java:211)[195:org.openhab.binding.ebus:1.9.0.201701162210]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

EDIT 1: I tried to install ebus binding from PaperUI (from repo) and it created conf/services/ebus.cfg. Then I removed the configuration from runtime.cfg and put it to the ebus.cfg, but still no go - the error is the same.

I also tried to comment serialPort and use hostname and port in ebus.cfg (while having ebusd daemon running and listening on that port for client connections), but nothing changed.

EDIT 2: ok, I moved a bit farther: OH2 somehow mixed the various edits of conf/services/ebus.cfg into the mirror conf file created on-the-fly in userdata/config/org/openhab/ebus.config so that the latter included both serialPort and hostname directives.

I removed it, also the userdata/cache/* and userdata/tmp/* started OH2 and then copied the binding jar file to addons/. The binding should use /dev/ttyUSB0, and the ebusd daemon is stopped. But still, OH2 complaints:

2017-01-31 21:51:30.598 [INFO ] [ab.binding.ebus.internal.EBusBinding] - Update eBus Binding configuration ...
2017-01-31 21:51:33.064 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler, id=322, bundle=195/file:/opt/openhab2-runtime/addons/org.openhab.binding.ebus-1.9.0-FIX-001.jar]: Unexpected problem updating configuration org.openhab.ebus
java.lang.NoClassDefFoundError: gnu/io/SerialPortEventListener
        at java.lang.ClassLoader.defineClass1(Native Method)[:1.8.0_101]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)[:1.8.0_101]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:402)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_101]
        at org.openhab.binding.ebus.internal.EBusBinding.updated(EBusBinding.java:224)
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
Caused by: java.lang.ClassNotFoundException: gnu.io.SerialPortEventListener cannot be found by org.openhab.binding.ebus_1.9.0.201701162210
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_101]
        ... 23 more

From OH2 console execute feature:install openhab-transport-serial or drop serial binding jar to addons folder.

1 Like

@splatch: ok, that resolved the problem.

Hello,

I’m trying to use custom praser in OH2 and i have error of ebus.
Without custom is workign ok
Could you please confirm how i should adjust ebus.conf

parserUrl=/etc/openhab2/ebus-config.json
parsers=common,vaillant-vrc470,vaillant-bai00,custom

Hello,

i use a Wolf COB-20 with SM1 solar mobule.
Is the COB-20 compatible with the eBus binding version or is the configuration files missing for this components?
thanks in advance.

Hi all, to play around with the eBUS binding I installed OH 1.8.3 and the 1.8.3 eBUS binding.
I have a Vaillant Ecotec plus VCW 346/5-5 with a Multimatic 700 Thermostat (http://www.vaillant.nl/professioneel/producten/multimatic-700-16832.html)
Looks like the binding doesn’t recognize this VRC 700 :confused:.

Some log files for the devs:

2017-04-23 23:09:45.010 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:09:45.707 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:09:45.728 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:09:54.579 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:09:54.635 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:09:54.851 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:09:54.867 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:09:58.245 [WARN ] [tuwien.auto.calimero          ] - [KNXnet/IP receiver] KNXnet/IP Tunneling 192.168.1.5:3671: connection state response status: server could not find active data connection with specified ID
2017-04-23 23:10:00.375 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:10:00.400 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:00.787 [DEBUG] [.ebus.internal.parser.Analyses] - 10 FE B5 16 08 00 53 09 00 24 04 01 17 04 AA
2017-04-23 23:10:00.816 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:01.825 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:10:01.849 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:03.989 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 00 88 00 08 89 01 0F 00 1F 00 00 00 72 00 AA
2017-04-23 23:10:04.007 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:04.948 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 12 02 00 00 CA 00 00 00 00 AA
2017-04-23 23:10:04.971 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:05.349 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 12 02 04 FF F4 00 01 01 9A 00 AA
2017-04-23 23:10:05.361 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:07.047 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 13 02 05 08 C6 00 00 00 00 AA
2017-04-23 23:10:07.091 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:08.245 [WARN ] [tuwien.auto.calimero          ] - [KNXnet/IP receiver] KNXnet/IP Tunneling 192.168.1.5:3671: connection state response status: server could not find active data connection with specified ID
2017-04-23 23:10:14.990 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:10:15.025 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:15.838 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:10:15.865 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:18.247 [WARN ] [tuwien.auto.calimero          ] - [KNXnet/IP receiver] KNXnet/IP Tunneling 192.168.1.5:3671: connection state response status: server could not find active data connection with specified ID
2017-04-23 23:10:26.011 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:10:26.026 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:27.392 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:10:27.407 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:28.247 [WARN ] [tuwien.auto.calimero          ] - [KNXnet/IP receiver] KNXnet/IP Tunneling 192.168.1.5:3671: connection state response status: server could not find active data connection with specified ID
2017-04-23 23:10:35.034 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:10:35.049 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:35.985 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:10:36.002 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:38.259 [WARN ] [tuwien.auto.calimero          ] - [KNXnet/IP receiver] KNXnet/IP Tunneling 192.168.1.5:3671: received disconnect response status 0x21 (no active data connection with that ID)
2017-04-23 23:10:38.273 [WARN ] [tuwien.auto.calimero          ] - [KNXnet/IP heartbeat monitor] KNXnet/IP Tunneling 192.168.1.5:3671: close connection - no heartbeat response
2017-04-23 23:10:38.293 [WARN ] [b.k.i.connection.KNXConnection] - KNX link has been lost (reason: no heartbeat response on object link 192.168.1.5:3671 tunneling mode (closed), TP1 hopcount 6)
2017-04-23 23:10:45.267 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:10:45.281 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:45.773 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:10:45.789 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:55.182 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:10:55.199 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:10:55.905 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 03 05 74 01 BC 00 01 01 9A 00 AA
2017-04-23 23:10:55.917 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:02.087 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:11:02.113 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:02.615 [DEBUG] [.ebus.internal.parser.Analyses] - 10 FE B5 16 08 00 53 10 00 24 04 01 17 1B AA
2017-04-23 23:11:02.629 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:03.868 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:11:03.881 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:05.203 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 03 05 74 01 BC 00 01 01 9A 00 AA
2017-04-23 23:11:05.218 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:05.857 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 12 02 00 00 CA 00 00 00 00 AA
2017-04-23 23:11:05.874 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:06.631 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 12 02 04 FF F4 00 01 01 9A 00 AA
2017-04-23 23:11:06.647 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:07.234 [DEBUG] [.ebus.internal.parser.Analyses] - 10 FE B5 16 03 01 00 D8 04 AA
2017-04-23 23:11:07.266 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:12.840 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 03 05 FF 01 98 00 01 01 9A 00 AA
2017-04-23 23:11:12.855 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:14.776 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 03 05 78 01 64 00 01 01 9A 00 AA
2017-04-23 23:11:14.805 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:16.760 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:11:16.776 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:17.915 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:11:17.928 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:25.421 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:11:25.457 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:26.086 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:11:26.105 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:35.302 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:11:35.319 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:35.908 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:11:35.933 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:46.486 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:11:46.499 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:47.564 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:11:47.577 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:56.001 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:11:56.019 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:11:56.288 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:11:56.308 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:04.048 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:12:04.073 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:04.867 [DEBUG] [.ebus.internal.parser.Analyses] - 10 FE B5 16 08 00 53 11 00 24 04 01 17 FE AA
2017-04-23 23:12:04.887 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:05.138 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:12:05.156 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:06.362 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 00 88 00 08 89 01 0F 00 1F 00 00 00 72 00 AA
2017-04-23 23:12:06.380 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:07.569 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 03 05 FF 01 98 00 01 01 9A 00 AA
2017-04-23 23:12:07.595 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:08.045 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 12 02 00 00 CA 00 00 00 00 AA
2017-04-23 23:12:08.070 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:08.715 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 12 02 04 FF F4 00 01 01 9A 00 AA
2017-04-23 23:12:08.727 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:09.665 [DEBUG] [.ebus.internal.parser.Analyses] - 10 FE B5 16 03 01 00 D8 04 AA
2017-04-23 23:12:09.678 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:17.503 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:12:17.517 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:18.568 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:12:18.582 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:26.243 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:12:26.257 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:27.307 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:12:27.334 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:35.727 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:12:35.742 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:36.440 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:12:36.468 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:45.640 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:12:45.655 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:46.717 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:12:46.733 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:56.644 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:12:56.661 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:12:56.913 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:12:56.932 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:13:05.186 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 11 01 01 89 00 09 31 31 00 80 32 35 00 00 FF C5 00 AA
2017-04-23 23:13:05.204 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:13:05.423 [DEBUG] [.ebus.internal.parser.Analyses] - 10 FE B5 16 08 00 53 12 00 24 04 01 17 4A AA
2017-04-23 23:13:05.439 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------
2017-04-23 23:13:06.108 [DEBUG] [.ebus.internal.parser.Analyses] - 10 08 B5 10 09 00 00 00 FF FF FF 05 00 00 7E 00 01 01 9A 00 AA
2017-04-23 23:13:06.141 [DEBUG] [.ebus.internal.parser.Analyses] -   >>> Unknown ----------------------------------------

Hello there.

Can’t get Heating Curve setting working. Getting data working fine.

In my custom json:

{
  "comment":  "VR630 HC Heating Curve",
  "id":       "HeatingCurve",
  "class":    "hc",
  "command":  "B5 09",
  "data":     "0D 35 00",
  "dst":      "26",
  "values": {
    "value": {"type": "uint", "pos": 12, "label": "Heating Curve", "factor": 0.01}
  }
}, {
  "comment":  "VR630 Set HC Heating Curve",
  "id":       "set_HeatingCurve",
  "class":    "hc",
  "command":  "B5 09",
  "data":     "0E 35 00 00",
  "dst":      "26",
  "values": {
    "value": {"type": "uint", "pos": 9, "label": "Set Heating Cruve", "factor": 0.01, "min": 0.1, "max": 4.0}
  }
}

Record in items file:

Number Vhc_HeatingCurve "Heating Curve [%.1f]" <line> { ebus="id:hc.HeatingCurve.value, dst:26, refresh:60, set:hc.set_HeatingCurve.value" }

Sitemap:

Setpoint item=Vhc_HeatingCurve minValue=0.1 maxValue=4 step=0.1

But it doesn’t work:

12:52:14.173 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'Vhc_HeatingCurve' received command 1.2
12:52:14.179 [WARN ] [org.apache.karaf.services.eventadmin] - EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=openhab/command/Vhc_HeatingCurve] {bridgemarker=true, item=Vhc_HeatingCurve, command=1.2} | {org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler}={event.topics=openhab/*, service.pid=org.openhab.ebus, component.name=org.openhab.binding.ebus, component.id=299, service.id=477, service.bundleid=211, service.scope=bundle} | Bundle(org.openhab.binding.ebus_1.10.0 [211])]
java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)[:1.8.0_131]
	at org.openhab.binding.ebus.internal.connection.EBusCommandProcessor.composeEBusTelegram(EBusCommandProcessor.java:242)[211:org.openhab.binding.ebus:1.10.0]
	at org.openhab.binding.ebus.internal.connection.EBusCommandProcessor.composeSendData(EBusCommandProcessor.java:334)[211:org.openhab.binding.ebus:1.10.0]
	at org.openhab.binding.ebus.internal.EBusBinding.internalReceiveCommand(EBusBinding.java:76)[211:org.openhab.binding.ebus:1.10.0]
	at org.openhab.core.binding.AbstractBinding.receiveCommand(AbstractBinding.java:97)[177:org.openhab.core.compat1x:2.1.0]
	at org.openhab.core.events.AbstractEventSubscriber.handleEvent(AbstractEventSubscriber.java:45)[177:org.openhab.core.compat1x:2.1.0]
	at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)[6:org.apache.karaf.services.eventadmin:4.0.8]
	at org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:90)[6:org.apache.karaf.services.eventadmin:4.0.8]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
12:52:14.189 [INFO ] [marthome.event.ItemStateChangedEvent] - Vhc_HeatingCurve changed from 1.30 to 1.2

Who can help?

Hello MiniOh,

your solar module sm1 should be compatible, I use the same here. But I’n not sure with your COB-20, but you can try the wolf configuration files.

Hello,

it looks good so far. Could you try uchar instead of uint. Your target array is to small for uint (2bytes).

Hi, csowada,

I tried to change from uint to uchar. After that no errors in the log, but it doesn’t works again. I see, that your ebus binding is trying to send this command:

FF 26 B5 09 04 0E 35 00 82 2E 00 00 00 00

But if I try to change HeatingCurve through ebusd, it send another command (and it works like a charm):

31 26 B5 09 05 0E 35 00 82 00 47 00 00

It looks like you need an additional 00 in data, because it should be 5 bytes long.

1 Like