#1 Domiq und PCHK bringt PCHK zum Absturz
Verfasst: Mi 4. Jan 2017, 15:29
In the night the LCN Binding crashes, here is the logfile:
What ist the domiq sending there ?
This crashes the PCHK....
After the crash I can turn the lights on (with the app or classic ui) but if I turn on the lights with LCN (Wallbutton) openhab does not recognize it.
When I restart the pchk (LCN-Software) and Openhab the log says Authentification failed, so that I had to reinstall the service
Regards
Jörg
Code: Alles auswählen
```
2017-01-03 02:59:57.698 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: :M000013Rx000
2017-01-03 02:59:58.691 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: :M000013Rx000
2017-01-03 02:59:58.936 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: :M000033Rx000
2017-01-03 02:59:59.936 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: :M000033Rx000
2017-01-03 03:00:01.437 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: :M000033Rx000
2017-01-03 03:00:08.327 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: =M000254.
2017-01-03 03:00:12.744 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: =M000254.��������
2017-01-03 03:00:12.744 [ERROR] [lcn.internal.LcnBindingActiveService] - Error while executing background thread LCN Refresh Service
java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:244)[:1.8.0_111]
at org.openhab.binding.lcn.connection.Connection.readAndProcess(Connection.java:399)[204:org.openhab.binding.lcn:1.9.0.201701020211]
at org.openhab.binding.lcn.connection.ConnectionManager$2.execute(ConnectionManager.java:278)[204:org.openhab.binding.lcn:1.9.0.201701020211]
at org.openhab.binding.lcn.internal.LcnBinding.execute(LcnBinding.java:191)[204:org.openhab.binding.lcn:1.9.0.201701020211]
at org.openhab.binding.lcn.internal.LcnBindingActiveService.run(LcnBindingActiveService.java:121)[204:org.openhab.binding.lcn:1.9.0.201701020211]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]
```
What ist the domiq sending there ?
This crashes the PCHK....
After the crash I can turn the lights on (with the app or classic ui) but if I turn on the lights with LCN (Wallbutton) openhab does not recognize it.
When I restart the pchk (LCN-Software) and Openhab the log says Authentification failed, so that I had to reinstall the service
Code: Alles auswählen
```
2017-01-03 15:09:21.748 [DEBUG] [org.openhab.binding.lcn ] - BundleEvent STARTING - org.openhab.binding.lcn
2017-01-03 15:09:21.767 [DEBUG] [ing.lcn.internal.LcnBindingActivator] - LCN binding has been started.
2017-01-03 15:09:21.767 [DEBUG] [org.openhab.binding.lcn ] - BundleEvent STARTED - org.openhab.binding.lcn
2017-01-03 15:09:21.778 [DEBUG] [org.openhab.binding.lcn ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.bin$
2017-01-03 15:09:22.033 [DEBUG] [org.openhab.binding.lcn ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHan$
2017-01-03 15:09:22.049 [INFO ] [nhab.binding.lcn.internal.LcnBinding] - Loading LCN configuration...
2017-01-03 15:09:22.058 [INFO ] [nhab.binding.lcn.internal.LcnBinding] - LCN configuration loaded.
2017-01-03 15:09:22.073 [INFO ] [lcn.internal.LcnBindingActiveService] - LCN Refresh Service has been started
2017-01-03 15:09:22.085 [INFO ] [ab.binding.lcn.connection.Connection] - Connecting channel "java.nio.channels.SocketChannel[unconnected]".
2017-01-03 15:09:22.118 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: LCN-PCK/IP 1.0
2017-01-03 15:09:22.184 [INFO ] [rvice.dhcp.ReceiveDHCPRequestPackets] - DHCP request packet listener online
2017-01-03 15:09:22.216 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: Username:
2017-01-03 15:09:22.223 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: Password:
2017-01-03 15:09:22.225 [DEBUG] [nhab.binding.lcn.internal.LcnBinding] - Channel "myhome" received input: Authentification failed.
2017-01-03 15:09:22.228 [WARN ] [ing.lcn.connection.ConnectionManager] - Cannot process channel "myhome" (reconnecting...): Connection was closed by foreign host.
2017-01-03 15:09:22.239 [DEBUG] [ab.binding.lcn.connection.Connection] - ...resetting channel...
2017-01-03 15:09:22.247 [WARN ] [ing.lcn.connection.ConnectionManager] - Channel "myhome" was closed unexpectedly (reconnecting...).
```
Regards
Jörg