- Platform information:
- Hardware: Raspberry PI2
- OS: openhabian openhabianpi-raspbian-201712171718-git30faec3-crccc053823
Hi,
I have some issues running openhab2 together with eibd - everything seems to be fine apart from the fact that no KNX telegrams are sent out by openhab to eibd.
My setup is as follows:
- Raspberry Pi 2 with latest openhabian installed (192.168.2.106)
- second Raspberry Pi 1 with eibd running. (192.168.2.123), bus adress 1.1.9
- Siemens N151 which is the gateway between IP and KNX. (192.168.2.20), Bus adress 1.1.9
I checked from the pi with openhab, that eibd is “reachable” (by groupswrite ip:192.168.2.123 1/2/1 1). --> works fine
===========knx.cfg ===============================
ip=192.168.2.123
busaddr=1.1.9
ignorelocalevents=true
type=TUNNEL
port=3671
localIp=192.168.2.106
I installed a nimial setup for one switch:
=============== item file ===================
Switch Office_Light “Licht” { knx=“1/2/1” }
=============== sitemap =======================
sitemap default label=“My first sitemap”
{
Switch item=Office_Light label=“Licht Arbeitszimmer setzen”
}
Problem: I can see in the log that telegrams from KNX are being received but there doen’t seem any action from the KNX binding of openhab towards the eibd.
I have switched on log logging for the KNX binding.
Below you will find the log of the startup and of the phase where I toggle the switch several times.
Does anybody have an idea, what could be wrong with the setup?
Which log channels should I enable in order to see relevant details?
Thanks in advance !!
============== log ==============================
017-12-30 10:50:19.799 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder
2017-12-30 10:50:21.965 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.2.106:8080
2017-12-30 10:50:21.986 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.2.106:8443
2017-12-30 10:50:40.911 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2017-12-30 10:50:44.080 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘default.sitemap’
2017-12-30 10:50:51.301 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-12-30 10:50:51.585 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-12-30 10:50:51.857 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-12-30 10:50:52.156 [DEBUG] [org.openhab.binding.knx ] - BundleEvent STARTING - org.openhab.binding.knx
2017-12-30 10:50:52.211 [DEBUG] [ab.binding.knx.internal.KNXActivator] - KNX binding has been started.
2017-12-30 10:50:52.670 [DEBUG] [org.openhab.binding.knx ] - ServiceEvent REGISTERED - {org.openhab.binding.knx.config.KNXTypeMapper}={component.name=org.openhab.binding.knx.typemapper, component.id=179, service.id=303, service.bundleid=206, service.scope=bundle} - org.openhab.binding.knx
2017-12-30 10:50:52.801 [DEBUG] [org.openhab.binding.knx ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.knx.config.KNXBindingProvider, org.openhab.core.autoupdate.AutoUpdateBindingProvider}={component.name=org.openhab.binding.knx.genericbindingprovider, component.id=180, service.id=304, service.bundleid=206, service.scope=bundle} - org.openhab.binding.knx
2017-12-30 10:50:52.813 [DEBUG] [org.openhab.binding.knx ] - BundleEvent STARTED - org.openhab.binding.knx
2017-12-30 10:50:53.447 [TRACE] [.binding.knx.internal.bus.KNXBinding] - allBindingsChanged() msg received.
2017-12-30 10:50:53.464 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Calimero library version 2.3-beta
2017-12-30 10:50:53.470 [TRACE] [.binding.knx.internal.bus.KNXBinding] - KNXBinding: activating
2017-12-30 10:50:53.478 [TRACE] [x.internal.bus.KNXBusReaderScheduler] - Starting auto refresh scheduler
2017-12-30 10:50:53.485 [DEBUG] [x.internal.bus.KNXBusReaderScheduler] - Starting reader task.
2017-12-30 10:50:53.504 [DEBUG] [x.internal.bus.KNXBusReaderScheduler] - Starting schedule executor.
2017-12-30 10:50:53.510 [DEBUG] [al.bus.KNXBindingDatapointReaderTask] - Autorefresh: Waiting for new item in reader queue
2017-12-30 10:50:53.521 [DEBUG] [org.openhab.binding.knx ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.pid=org.openhab.knx, component.name=org.openhab.binding.knx.config, component.id=177, service.id=310, service.bundleid=206, service.scope=bundle} - org.openhab.binding.knx
2017-12-30 10:50:53.530 [DEBUG] [nx.internal.connection.KNXConnection] - KNXBinding configuration present. Setting up KNX bus connection.
2017-12-30 10:50:53.532 [DEBUG] [org.openhab.binding.knx ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler, tuwien.auto.calimero.process.ProcessListener}={event.topics=openhab/*, component.name=org.openhab.binding.knx, component.id=178, service.id=309, service.bundleid=206, service.scope=bundle} - org.openhab.binding.knx
2017-12-30 10:50:53.536 [DEBUG] [nx.internal.connection.KNXConnection] - Not connected yet. Trying to connect.
2017-12-30 10:50:53.695 [INFO ] [tuwien.auto.calimero ] - KNXnet/IP Tunneling 192.168.2.123:3671: establish connection from /192.168.2.106:39495 to /192.168.2.123:3671
2017-12-30 10:50:53.708 [DEBUG] [tuwien.auto.calimero ] - KNXnet/IP Tunneling 192.168.2.123:3671: wait for connect response from /192.168.2.123:3671 …
2017-12-30 10:50:53.736 [DEBUG] [tuwien.auto.calimero ] - KNXnet/IP Tunneling 192.168.2.123:3671: using server-assigned data endpoint /192.168.2.123:3671
2017-12-30 10:50:53.745 [INFO ] [tuwien.auto.calimero ] - KNXnet/IP Tunneling 192.168.2.123:3671: connection established
2017-12-30 10:50:53.772 [INFO ] [nx.internal.connection.KNXConnection] - Established connection to KNX bus on 192.168.2.123:3671 in mode TUNNEL.
2017-12-30 10:50:53.775 [TRACE] [.binding.knx.internal.bus.KNXBinding] - connectionEstablished() msg received. Initializing readable DPs.
2017-12-30 10:50:53.787 [DEBUG] [nx.internal.connection.KNXConnection] - Success: connected.
2017-12-30 10:50:54.796 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Received groupWrite Event.
2017-12-30 10:50:54.802 [DEBUG] [tuwien.auto.calimero ] - calimero.link.192.168.2.123:3671: indication from 1.1.9
2017-12-30 10:50:54.812 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Ignoring local Event, received from my local Source address 1.1.9 for Group address 5/2/0.
2017-12-30 10:51:53.768 [DEBUG] [tuwien.auto.calimero ] - KNXnet/IP Tunneling 192.168.2.123:3671: sending connection state request, attempt 1
2017-12-30 10:51:54.763 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Received groupWrite Event.
2017-12-30 10:51:54.766 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Ignoring local Event, received from my local Source address 1.1.9 for Group address 5/2/0.
2017-12-30 10:51:54.769 [DEBUG] [tuwien.auto.calimero ] - calimero.link.192.168.2.123:3671: indication from 1.1.9
==> /var/log/openhab2/events.log <==
2017-12-30 10:52:30.189 [ome.event.ItemCommandEvent] - Item ‘Office_Light’ received command ON
2017-12-30 10:52:30.266 [vent.ItemStateChangedEvent] - Office_Light changed from NULL to ON
2017-12-30 10:52:30.271 [GroupItemStateChangedEvent] - gLight changed from NULL to ON through Office_Light
==> /var/log/openhab2/openhab.log <==
2017-12-30 10:52:53.776 [DEBUG] [tuwien.auto.calimero ] - KNXnet/IP Tunneling 192.168.2.123:3671: sending connection state request, attempt 1
2017-12-30 10:52:54.762 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Received groupWrite Event.
2017-12-30 10:52:54.766 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Ignoring local Event, received from my local Source address 1.1.9 for Group address 5/2/0.
2017-12-30 10:52:54.769 [DEBUG] [tuwien.auto.calimero ] - calimero.link.192.168.2.123:3671: indication from 1.1.9