Openhab 2 with rfxcom 1 binding! (2 did not work at all)

There is some more errors this time for some reason. Its too big to post on pastebin so i uploaded it to google drive.

https://drive.google.com/open?id=0Bz2l6T6MKIoVVkVJeUdicVg4Ymc

I am using Windows server 2012 R2

Edit: i think it deletes some of the log when it reaches a limit. Started server again and uploaded new log

Could not find any debug messages from rfxcom binding from your log.

Are you sure? This is a screenshot from the one i uploaded on drive

Seems like serious errors that disables the binding

There is only one log message from rfxcom binding and it’s from INFO level. If DEBUG level is enabled for rfxcom binding, there should be some messages before and after connection.

Java doesn’t have native support for serial port communication, so openhab is using nrjavaserial library to provide serial communication. I’m not surprised if Windows Server 2012 is not supported by the lib.

Tried running it on a windows 10. No difference still says its not connected so i dont think its the librarys fault. Im really stuck getting this to work

Just tested rfxcom 1.0 binding on OH2 and it run fine (at least on OS X)

2016-11-11 23:40:41.623 [DEBUG] [o.b.r.internal.RFXComActivator:34 ] - RFXCOM binding has been started.
2016-11-11 23:40:41.640 [DEBUG] [.b.r.internal.RFXComConnection:47 ] - Activate
2016-11-11 23:40:41.641 [DEBUG] [.b.r.internal.RFXComConnection:72 ] - Configuration updated, config false
2016-11-11 23:40:41.709 [DEBUG] [.c.d.internal.ConfigDispatcher:222 ] - Processing config file 'services.cfg’
2016-11-11 23:40:41.763 [DEBUG] [.c.d.internal.ConfigDispatcher:222 ] - Processing config file 'basicui.cfg’
2016-11-11 23:40:41.766 [DEBUG] [.c.d.internal.ConfigDispatcher:222 ] - Processing config file 'classicui.cfg’
2016-11-11 23:40:41.770 [DEBUG] [.c.d.internal.ConfigDispatcher:222 ] - Processing config file 'logging.cfg’
2016-11-11 23:40:41.774 [DEBUG] [.c.d.internal.ConfigDispatcher:222 ] - Processing config file ‘rfxcom.cfg’
2016-11-11 23:40:41.779 [DEBUG] [.b.r.internal.RFXComConnection:72 ] - Configuration updated, config true
2016-11-11 23:40:41.779 [DEBUG] [.c.d.internal.ConfigDispatcher:222 ] - Processing config file ‘runtime.cfg’
2016-11-11 23:40:41.780 [INFO ] [.b.r.internal.RFXComConnection:112 ] - Connecting to RFXCOM [serialPort=’/dev/tty.usbserial-A1LPSOQ’ ].
2016-11-11 23:40:43.311 [DEBUG] [.b.r.internal.RFXComConnection:117 ] - Reset controller
2016-11-11 23:40:43.311 [DEBUG] [.b.r.i.c.RFXComSerialConnector:156 ] - Data listener started
2016-11-11 23:40:44.330 [DEBUG] [.b.r.internal.RFXComConnection:146 ] - Data received:
Raw data = 140100010253050000270001031C03000000000000

  • Packet type = INTERFACE_MESSAGE
  • Seq number = 1
  • Sub type = INTERFACE_RESPONSE
  • Command = GET_STATUS
  • Transceiver type = _443_92MHZ_TRANSCEIVER
  • Firmware version = 5
  • Hardware version = 0.1
  • Undecoded packets = false
  • RFU6 packets = false
  • RFU5 packets = false
  • RFU4 packets = false
  • RFU3 packets = false
  • FineOffset / Viking (433.92) packets = false
  • Rubicson (433.92) packets = false
  • AE (433.92) packets = false
  • BlindsT1/T2/T3 (433.92) packets = false
  • BlindsT0 (433.92) packets = false
  • ProGuard (868.35 FSK) packets = false
  • FS20 (868.35) packets = false
  • La Crosse (433.92/868.30) packets = false
  • Hideki/UPM (433.92) packets = false
  • AD (433.92) packets = false
  • Mertik (433.92) packets = false
  • Visonic (315/868.95) packets = false
  • ATI (433.92) packets = false
  • Oregon Scientific (433.92) packets = true
  • Meiantech (433.92) packets = false
  • HomeEasy EU (433.92) packets = false
  • AC (433.92) packets = true
  • ARC (433.92) packets = true
  • X10 (310/433.92) packets = true
  • HomeConfort packets = false
  • KeeLoq (433.92) packets = false
    2016-11-11 23:40:45.752 [DEBUG] [.b.r.internal.RFXComConnection:146 ] - Data received:
    Raw data = 0A520100700200E11E0280
  • Packet type = TEMPERATURE_HUMIDITY
  • Seq number = 0
  • Sub type = THGN122_123_132_THGR122_228_238_268
  • Id = 28674
  • Temperature = 22.5
  • Humidity = 30
  • Humidity status = DRY
  • Signal level = 8
  • Battery level = 0

I dont have a rfxcom.cfg? Could this be my issue. Could you post the contents

@pauli_anttila I also think the reason it doesnt show anything in debug is because there is nothing to show. It says rfxcom controller not connected. I am 100% sure debug is enabled, i see it for the switch

Okay @pauli_anttila I really need your help! I gave up on oh1 binding because that didnt connect no matter what i did. I installed a clean oh on win 10 and it auto discovered the bridge and some sensors. The sensors work fine but what i want to do is send commands. Debug is enabled. Please help me, i really want to get this up and running

http://pastebin.com/XHpaUPxt

Those temperature humidity problems should be fixed few days ago, also better reasons for transmitting errors should logged. Could you try latest snapshot from cloudbees (https://openhab.ci.cloudbees.com/job/openHAB-Distribution/)? Change also rfxcom binding log level to trace level to get as much information as possible.

Downloaded the new. Doesnt give errors only when i try to send commands. How do i change it to trace? It isnt documentet? @pauli_anttila

In karaf console, you can set log level by command

log:set TRACE org.openhab.binding.rfxcom

Doesnt really help me at all. Just says transmitting error.

2016-11-13 19:23:08.054 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-11-13 19:23:11.058 [INFO ] [ernal.connector.RFXComJD2XXConnector] - Connecting to RFXCOM device ‘A1XR4QEJ’ using JD2XX.
2016-11-13 19:23:11.503 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-11-13 19:23:11.577 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-11-13 19:23:11.613 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-11-13 19:23:52.149 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020229000000000C00056874205259
2016-11-13 19:23:52.150 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020229000000000C00056874205259, Packet type = WIND, Seq number = 2, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.5, Signal level = 5, Battery level = 9
2016-11-13 19:23:52.151 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020229000000000C00056874205259, Packet type = WIND, Seq number = 2, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.5, Signal level = 5, Battery level = 9
2016-11-13 19:23:52.151 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:23:52.151 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020229000000000C00056874205259, Packet type = WIND, Seq number = 2, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.5, Signal level = 5, Battery level = 9
2016-11-13 19:23:55.056 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=11): 0A520203120400EB1A0269
2016-11-13 19:23:55.056 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0A520203120400EB1A0269, Packet type = TEMPERATURE_HUMIDITY, Seq number = 3, Sub type = TH2, Device Id = 4612, Temperature = 23.5, Humidity = 26, Humidity status = DRY, Signal level = 6, Battery level = 9
2016-11-13 19:23:55.056 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A520203120400EB1A0269, Packet type = TEMPERATURE_HUMIDITY, Seq number = 3, Sub type = TH2, Device Id = 4612, Temperature = 23.5, Humidity = 26, Humidity status = DRY, Signal level = 6, Battery level = 9
2016-11-13 19:23:55.057 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:temperature_humidity:A1XR4QEJ:4612 with id ‘4612’ to smarthome inbox
2016-11-13 19:23:55.057 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A520203120400EB1A0269, Packet type = TEMPERATURE_HUMIDITY, Seq number = 3, Sub type = TH2, Device Id = 4612, Temperature = 23.5, Humidity = 26, Humidity status = DRY, Signal level = 6, Battery level = 9
2016-11-13 19:24:06.174 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020429000000000C00006874205269
2016-11-13 19:24:06.174 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020429000000000C00006874205269, Packet type = WIND, Seq number = 4, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:06.174 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020429000000000C00006874205269, Packet type = WIND, Seq number = 4, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:06.175 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:24:06.175 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020429000000000C00006874205269, Packet type = WIND, Seq number = 4, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:09.684 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=11): 0A520205A10100053D0069
2016-11-13 19:24:09.684 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0A520205A10100053D0069, Packet type = TEMPERATURE_HUMIDITY, Seq number = 5, Sub type = TH2, Device Id = 41217, Temperature = 0.5, Humidity = 61, Humidity status = NORMAL, Signal level = 6, Battery level = 9
2016-11-13 19:24:09.684 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A520205A10100053D0069, Packet type = TEMPERATURE_HUMIDITY, Seq number = 5, Sub type = TH2, Device Id = 41217, Temperature = 0.5, Humidity = 61, Humidity status = NORMAL, Signal level = 6, Battery level = 9
2016-11-13 19:24:09.684 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:temperature_humidity:A1XR4QEJ:41217 with id ‘41217’ to smarthome inbox
2016-11-13 19:24:09.684 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A520205A10100053D0069, Packet type = TEMPERATURE_HUMIDITY, Seq number = 5, Sub type = TH2, Device Id = 41217, Temperature = 0.5, Humidity = 61, Humidity status = NORMAL, Signal level = 6, Battery level = 9
2016-11-13 19:24:11.052 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = ONLINE
2016-11-13 19:24:20.203 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020629000000000C00006874205269
2016-11-13 19:24:20.203 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020629000000000C00006874205269, Packet type = WIND, Seq number = 6, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:20.203 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020629000000000C00006874205269, Packet type = WIND, Seq number = 6, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:20.203 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:24:20.203 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020629000000000C00006874205269, Packet type = WIND, Seq number = 6, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:34.125 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020729000000000000006874205269
2016-11-13 19:24:34.125 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020729000000000000006874205269, Packet type = WIND, Seq number = 7, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:34.125 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020729000000000000006874205269, Packet type = WIND, Seq number = 7, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:34.125 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:24:34.126 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020729000000000000006874205269, Packet type = WIND, Seq number = 7, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:48.246 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020829000000000000006874205269
2016-11-13 19:24:48.246 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020829000000000000006874205269, Packet type = WIND, Seq number = 8, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:48.246 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020829000000000000006874205269, Packet type = WIND, Seq number = 8, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:24:48.246 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:24:48.247 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020829000000000000006874205269, Packet type = WIND, Seq number = 8, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:02.773 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=11): 0A520209A10100053E0069
2016-11-13 19:25:02.773 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0A520209A10100053E0069, Packet type = TEMPERATURE_HUMIDITY, Seq number = 9, Sub type = TH2, Device Id = 41217, Temperature = 0.5, Humidity = 62, Humidity status = NORMAL, Signal level = 6, Battery level = 9
2016-11-13 19:25:02.773 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A520209A10100053E0069, Packet type = TEMPERATURE_HUMIDITY, Seq number = 9, Sub type = TH2, Device Id = 41217, Temperature = 0.5, Humidity = 62, Humidity status = NORMAL, Signal level = 6, Battery level = 9
2016-11-13 19:25:02.773 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:temperature_humidity:A1XR4QEJ:41217 with id ‘41217’ to smarthome inbox
2016-11-13 19:25:02.773 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A520209A10100053E0069, Packet type = TEMPERATURE_HUMIDITY, Seq number = 9, Sub type = TH2, Device Id = 41217, Temperature = 0.5, Humidity = 62, Humidity status = NORMAL, Signal level = 6, Battery level = 9
2016-11-13 19:25:11.053 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = ONLINE
2016-11-13 19:25:16.095 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020A29000000000000006874205269
2016-11-13 19:25:16.095 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020A29000000000000006874205269, Packet type = WIND, Seq number = 10, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:16.095 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020A29000000000000006874205269, Packet type = WIND, Seq number = 10, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:16.095 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:25:16.095 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020A29000000000000006874205269, Packet type = WIND, Seq number = 10, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:29.906 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: ON
2016-11-13 19:25:29.908 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:30.216 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020B29000000000000006874205269
2016-11-13 19:25:30.216 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020B29000000000000006874205269, Packet type = WIND, Seq number = 11, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:30.216 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020B29000000000000006874205269, Packet type = WIND, Seq number = 11, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:30.217 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:25:30.217 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020B29000000000000006874205269, Packet type = WIND, Seq number = 11, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:30.888 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: OFF
2016-11-13 19:25:30.889 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:43.924 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: ON
2016-11-13 19:25:43.924 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:43.937 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=11): 0A52020C2005801B620369
2016-11-13 19:25:43.937 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0A52020C2005801B620369, Packet type = TEMPERATURE_HUMIDITY, Seq number = 12, Sub type = TH2, Device Id = 8197, Temperature = -2.7, Humidity = 98, Humidity status = WET, Signal level = 6, Battery level = 9
2016-11-13 19:25:43.937 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A52020C2005801B620369, Packet type = TEMPERATURE_HUMIDITY, Seq number = 12, Sub type = TH2, Device Id = 8197, Temperature = -2.7, Humidity = 98, Humidity status = WET, Signal level = 6, Battery level = 9
2016-11-13 19:25:43.937 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:temperature_humidity:A1XR4QEJ:8197 with id ‘8197’ to smarthome inbox
2016-11-13 19:25:43.937 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 0A52020C2005801B620369, Packet type = TEMPERATURE_HUMIDITY, Seq number = 12, Sub type = TH2, Device Id = 8197, Temperature = -2.7, Humidity = 98, Humidity status = WET, Signal level = 6, Battery level = 9
2016-11-13 19:25:44.111 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: OFF
2016-11-13 19:25:44.111 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:44.238 [TRACE] [nternal.connector.RFXComStreamReader] - Received data (len=17): 1056020D29000000000000006874205269
2016-11-13 19:25:44.238 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1056020D29000000000000006874205269, Packet type = WIND, Seq number = 13, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:44.238 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Received: bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020D29000000000000006874205269, Packet type = WIND, Seq number = 13, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:44.238 [TRACE] [scovery.RFXComDeviceDiscoveryService] - Adding new RFXCOM rfxcom:wind:A1XR4QEJ:10496 with id ‘10496’ to smarthome inbox
2016-11-13 19:25:44.239 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:RFXtrx433:A1XR4QEJ message: Raw data = 1056020D29000000000000006874205269, Packet type = WIND, Seq number = 13, Sub type = WIND2, Device Id = 10496, Wind direction = 0.0, Wind speed = 0.0, Signal level = 6, Battery level = 9
2016-11-13 19:25:44.266 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: ON
2016-11-13 19:25:44.267 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:44.421 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: OFF
2016-11-13 19:25:44.422 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:44.576 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: ON
2016-11-13 19:25:44.576 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:44.734 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: OFF
2016-11-13 19:25:44.734 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:44.894 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: ON
2016-11-13 19:25:44.894 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:45.039 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: OFF
2016-11-13 19:25:45.039 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:45.215 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: ON
2016-11-13 19:25:45.215 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:
2016-11-13 19:25:45.337 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:lighting4:98b98c6e:command, command: OFF
2016-11-13 19:25:45.337 [ERROR] [binding.rfxcom.handler.RFXComHandler] - Transmitting error:

@Oliver_Roed_Scholer Did you get the the V1 binding to work in the end (with openhab2)? I just got it working by adding in the rfxcom.cfg file into services folder, then adding the 1.9 binding into the addon folder.

I also couldn’t get the 2.0 binding to work.

Hey @James_Hiscott . I couldnt get the v1 to work. Could you send a link to the 1.9 binding? think i had the 1.8.3 and also the content of the rfxcom.cfg?

Thanks :slight_smile:

Sure:

https://openhab.ci.cloudbees.com/job/openHAB1-Addons/lastSuccessfulBuild/artifact/bundles/binding/org.openhab.binding.rfxcom/target/

And then the following goes into openHAB-conf\services:

################################ RFXCOM Binding #######################################
#
# Serial port of RFXCOM interface
# Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux
rfxcom:serialPort=/dev/ttyUSB1

# Set mode command for controller (optional)
# E.g. rfxcom:setMode=0D000000035300000C2F00000000
#rfxcom:setMode=

@Oliver_Roed_Scholer, I can agree that there is problem with lightning4 messages.

Additional, there still bug in error messages printing. Your error message should be

Transmitting error: Invalid device id ‘5571921’

I don’t have Lightning4 devices my self, and in fact I have not implemented lightning4 message support. But I will take a look.

Lightning4 message seems to have some fixes and improvements on OH1 binding (committed February). I try to merge them soon.

1 Like

Thank you very much @pauli_anttila . I cant wait for it to hopefully work :slight_smile:
Please post update when it is ready

@Oliver_Roed_Scholer, lightning4 message integration have some problems. Discussion can be found here. Maybe you have some ideas to share as you have lightning4 devices.