Yippiiiiiiiii Switch 2 is running!!! Great work Martin!!!
I have added 3 switch2 switches with the following results:
20:17:09.176 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'BeleuchtungTV_Command' received command OFF
20:17:09.181 [DEBUG] [ding.homeduino.handler.RFXComHandler] - Received channel: homeduino:switch2:4ea8812e:31_8:command, command: OFF
20:17:09.184 [DEBUG] [l.connector.HomeduinoSerialConnector] - Sending message: RF send 4 3 306 957 9808 0 0 0 0 0 01010101010101010101011001010110011001100110010102
20:17:09.321 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 41434B
20:17:09.322 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (HOMEDUINO_ACK): ACK
20:17:09.323 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Response received: org.openhab.binding.homeduino.internal.messages.HomeduinoAcknowledgementMessage@39a246
20:17:09.326 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Command successfully transmitted, 'ACK' received
20:17:09.330 [INFO ] [marthome.event.ItemStateChangedEvent] - BeleuchtungTV_Command changed from ON to OFF
20:17:10.468 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'BeleuchtungRegal_Command' received command OFF
20:17:10.470 [INFO ] [marthome.event.ItemStateChangedEvent] - BeleuchtungRegal_Command changed from ON to OFF
20:17:10.471 [DEBUG] [ding.homeduino.handler.RFXComHandler] - Received channel: homeduino:switch2:4ea8812e:31_16:command, command: OFF
20:17:10.473 [DEBUG] [l.connector.HomeduinoSerialConnector] - Sending message: RF send 4 3 306 957 9808 0 0 0 0 0 01010101010101010101010101100110011001100110010102
20:17:10.609 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 41434B
20:17:10.610 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (HOMEDUINO_ACK): ACK
20:17:10.611 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Response received: org.openhab.binding.homeduino.internal.messages.HomeduinoAcknowledgementMessage@1bec751
20:17:10.613 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Command successfully transmitted, 'ACK' received
20:17:15.506 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'BeleuchtungRegal_Command' received command ON
20:17:15.509 [DEBUG] [ding.homeduino.handler.RFXComHandler] - Received channel: homeduino:switch2:4ea8812e:31_16:command, command: ON
20:17:15.513 [DEBUG] [l.connector.HomeduinoSerialConnector] - Sending message: RF send 4 3 306 957 9808 0 0 0 0 0 01010101010101010101010101100110011001100101011002
20:17:15.650 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 41434B
20:17:15.652 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (HOMEDUINO_ACK): ACK
20:17:15.653 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Response received: org.openhab.binding.homeduino.internal.messages.HomeduinoAcknowledgementMessage@be8acd
20:17:15.659 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Command successfully transmitted, 'ACK' received
20:17:15.667 [INFO ] [marthome.event.ItemStateChangedEvent] - BeleuchtungRegal_Command changed from OFF to ON
20:17:16.776 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'BeleuchtungRegal_Command' received command OFF
20:17:16.781 [DEBUG] [ding.homeduino.handler.RFXComHandler] - Received channel: homeduino:switch2:4ea8812e:31_16:command, command: OFF
20:17:16.784 [DEBUG] [l.connector.HomeduinoSerialConnector] - Sending message: RF send 4 3 306 957 9808 0 0 0 0 0 01010101010101010101010101100110011001100110010102
20:17:16.920 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 41434B
20:17:16.921 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (HOMEDUINO_ACK): ACK
20:17:16.922 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Response received: org.openhab.binding.homeduino.internal.messages.HomeduinoAcknowledgementMessage@167f4e7
20:17:16.923 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Command successfully transmitted, 'ACK' received
20:17:16.927 [INFO ] [marthome.event.ItemStateChangedEvent] - BeleuchtungRegal_Command changed from ON to OFF
20:17:17.850 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203530382031393332203338383820393138342030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313032303130313032303230313032303130323033
20:17:17.852 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 508 1932 3888 9184 0 0 0 0 01020102010101020201010102010201010101010202010201010102010102020102010203
20:17:18.349 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203531362031393234203338373620393137322030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313032303130313032303230313032303130323033
20:17:18.351 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 516 1924 3876 9172 0 0 0 0 01020102010101020201010102010201010101010202010201010102010102020102010203
20:17:18.815 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Kugellampe_Command' received command OFF
20:17:18.823 [DEBUG] [ding.homeduino.handler.RFXComHandler] - Received channel: homeduino:switch2:4ea8812e:31_4:command, command: OFF
20:17:18.826 [DEBUG] [l.connector.HomeduinoSerialConnector] - Sending message: RF send 4 3 306 957 9808 0 0 0 0 0 01010101010101010101011001100101011001100110010102
20:17:18.962 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 41434B
20:17:18.963 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (HOMEDUINO_ACK): ACK
20:17:18.964 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Response received: org.openhab.binding.homeduino.internal.messages.HomeduinoAcknowledgementMessage@63449f
20:17:18.966 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Command successfully transmitted, 'ACK' received
20:17:18.969 [INFO ] [marthome.event.ItemStateChangedEvent] - Kugellampe_Command changed from ON to OFF
20:17:41.389 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Checking Homeduino transceiver connection, thing status = ONLINE
and here is the log when pir1 or/and weather1 send a signal (not visible in the Inbox under paper ui):
20:17:41.389 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Checking Homeduino transceiver connection, thing status = ONLINE
20:17:52.848 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203530342031393336203338383820393138382030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313032303130313032303230313032303130323033
20:17:52.853 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 504 1936 3888 9188 0 0 0 0 01020102010101020201010102010201010101010202010201010102010102020102010203
20:17:53.348 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203531362031393234203338383020393139322030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313032303130313032303230313032303130323033
20:17:53.357 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 516 1924 3880 9192 0 0 0 0 01020102010101020201010102010201010101010202010201010102010102020102010203
20:18:27.848 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203530342031393336203338383820393138382030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313032303130313032303230313032303130323033
20:18:27.850 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 504 1936 3888 9188 0 0 0 0 01020102010101020201010102010201010101010202010201010102010102020102010203
20:18:28.347 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203531322031393238203338383020393138382030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313032303130313032303230313032303130323033
20:18:28.354 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 512 1928 3880 9188 0 0 0 0 01020102010101020201010102010201010101010202010201010102010102020102010203
20:18:41.389 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Checking Homeduino transceiver connection, thing status = ONLINE
20:19:02.840 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203530342031393336203338383820393230302030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313031303130313032303230313032303130323033
20:19:02.842 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 504 1936 3888 9200 0 0 0 0 01020102010101020201010102010201010101010202010201010101010102020102010203
20:19:03.333 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203531362031393234203338373620393138382030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313031303130313032303230313032303130323033
20:19:03.337 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 516 1924 3876 9188 0 0 0 0 01020102010101020201010102010201010101010202010201010101010102020102010203
20:19:34.651 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 5246207265636569766520353038203135323420313535363820302030203020302030203031313030313130303131303031313030313130303131303031313030313130303131303031313030313130303131303032
20:19:34.655 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 508 1524 15568 0 0 0 0 0 01100110011001100110011001100110011001100110011002
20:19:34.910 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 5246207265636569766520353038203135323020313535363820302030203020302030203031313030313130303131303031313030313130303131303031313030313130303131303031313030313130303131303032
20:19:34.914 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 508 1520 15568 0 0 0 0 0 01100110011001100110011001100110011001100110011002
20:19:35.169 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 5246207265636569766520353038203135323020313535363020302030203020302030203031313030313130303131303031313030313130303131303031313030313130303131303031313030313130303131303032
20:19:35.173 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 508 1520 15560 0 0 0 0 0 01100110011001100110011001100110011001100110011002
20:19:35.429 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 5246207265636569766520353038203135323020313535353220302030203020302030203031313030313130303131303031313030313130303131303031313030313130303131303031313030313130303131303032
20:19:35.433 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 508 1520 15552 0 0 0 0 0 01100110011001100110011001100110011001100110011002
20:19:37.840 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203530382031393332203338383420393138342030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313031303130313032303230313032303130323033
20:19:37.842 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 508 1932 3884 9184 0 0 0 0 01020102010101020201010102010201010101010202010201010101010102020102010203
20:19:38.332 [DEBUG] [rnal.connector.HomeduinoStreamReader] - Received message: 52462072656365697665203531322031393238203338383020393139362030203020302030203031303230313032303130313031303230323031303130313032303130323031303130313031303130323032303130323031303130313031303130313032303230313032303130323033
20:19:38.337 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Message received (null): RF receive 512 1928 3880 9196 0 0 0 0 01020102010101020201010102010201010101010202010201010101010102020102010203
20:19:41.389 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Checking Homeduino transceiver connection, thing status = ONLINE
I recognize that after a restart of openhab the homeduino binding is not active (transreciever offline), The log showed me the following:
19:17:26.905 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Checking Homeduino transceiver connection, thing status = OFFLINE
19:17:26.906 [DEBUG] [duino.handler.HomeduinoBridgeHandler] - Connecting to Homeduino transceiver
19:17:26.907 [DEBUG] [l.connector.HomeduinoSerialConnector] - Disconnecting
19:17:26.909 [DEBUG] [l.connector.HomeduinoSerialConnector] - Closed
19:17:26.933 [ERROR] [duino.handler.HomeduinoBridgeHandler] - Connection to RFXCOM transceiver failed: null
After a reboot of the whole system the problem was still there but with the following log:
19:20:28.726 [ERROR] [l.connector.HomeduinoSerialConnector] - Event listener invoking error
java.lang.NullPointerException
at org.openhab.binding.homeduino.internal.messages.homeduino.Switch2Message$Protocol.process(Switch2Message.java:79)[229:org.openhab.binding.homeduino:2.1.0.201702101650]
at org.openhab.binding.homeduino.internal.messages.homeduino.HomeduinoProtocol.process(HomeduinoProtocol.java:218)[229:org.openhab.binding.homeduino:2.1.0.201702101650]
at org.openhab.binding.homeduino.internal.messages.HomeduinoEventMessage.getInterpretations(HomeduinoEventMessage.java:68)[229:org.openhab.binding.homeduino:2.1.0.201702101650]
at org.openhab.binding.homeduino.handler.HomeduinoBridgeHandler$HomeduinoMessageListener.packetReceived(HomeduinoBridgeHandler.java:236)[229:org.openhab.binding.homeduino:2.1.0.201702101650]
at org.openhab.binding.homeduino.internal.connector.HomeduinoSerialConnector.sendMsgToListeners(HomeduinoSerialConnector.java:162)[229:org.openhab.binding.homeduino:2.1.0.201702101650]
at org.openhab.binding.homeduino.internal.connector.HomeduinoStreamReader.run(HomeduinoStreamReader.java:92)[229:org.openhab.binding.homeduino:2.1.0.201702101650]
After the second reboot every thing was and is fine and is running smooth.
Sometimes I have problems with the signal delivery to the wallswitches. From my feelings the problem was not present with pimatic. But this is “detail tuning”:-).
If you need more information, please tell me.