RFXCOM not working

Good afternoon!

I am a beginner. I want to use a RFXCOM 433E and some Philips Hue lights.

I installed openhab 2.0. on my Raspberry pi.
The phillps hue lights worked great. Sadly the RFXCOM binding cannot be installed correctly. The problem on the RFXcom binding is:

  • Installing the binding never seems complete.
  • I used the command to add user openhab to the dialout group
  • Upon manually switch to INBOX and searching for the RFX433E always leeds to an UNDEFINED error in the lower right corner of the paper UI
  • I tried the RFXCOM SNAPHOT 2.1 but this leads to the same error message.

I used another SD-card and installed openhab 1.8.3.
This way I managed to install the add ons for RFXCOM and HUE
I managed to use the RFX433E --> Top
Sadly on this openhab 1.8.3 the pairing of the Philips Hue bridge is not working.

Does anyone have any tips?

Fons

Sorry, no answer, but watching with interest, I’ve also not been able to get the binding working with oh2 (search for other threads). I’ve got no problems with oh1.8 either, as a result I’m sticking with that until it works. I intend to do a fresh install from the ground up ( fresh raspbian etc) to see if that helps.

Cheers
James

Hello

I have nearly the same problem. My RFXCOM USB-Stick is “online” but does not see my temperature sensors.
Actual Installation: OH2.1, RFXCOM 2.1
With my old installation OH2.0 and RFXCOM 2.0 it worked .

The connection to my rfxcom seems to be good:
2017-07-26 13:54:41.916 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = ONLINE
2017-07-26 13:55:41.916 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = ONLINE

If I connect my rfxcom to the RFXmngr-SW I can see the data from my TEmperature modul! So for me it seems that the message is going out of the rfxcom but OH can not see it.

What did you do that it worked?

Thanks

Greetings Gerhard

Sorry @gerhardrieger82, I do not have a solution for you, but I have the exact same problem.
Everything was working like a charm with OH2.0, but no longer works with OH2.1.

I also have the online status in the logs, and I also checked using RFXmngr.
I also updated the firmware to the latest version to be sure, but with no change.

I have to say OpenHAB is a great project … but a really big amount of motivation is required to use it :frowning:.

With zero info in the debug logs of log4j.logger.org.openhab.binding.rfxcom, I have no idea of what I could try.
Any suggestion would be more than welcome !

Thanks,

Jerome

Have you tried removing the binding (uninstall and then delete alle cache/tmp files, run update again) and reinstall the binding?

My RFXcom binding have worked flawlessy from 1.8.3 -> 2.0 -> and 2.1 (using mostly snapshot release though)
Console/Karaf: 210 | Active | 80 | 2.2.0.201708041402 | Rfxcom Binding

rfxcom.things

Bridge rfxcom:bridge:usb0 [ serialPort="/dev/ttyUSB0" ]

Items

Number Temperature_RFX_Kj_Utside "Temperature [%.1f °C]" <temperature> (Kj_Utside,gPersistInfluxTimed) { channel="rfxcom:temperaturehumidity:usb0:14852:temperature" }
Number Humid_RFX_Kj_Utside "Humidity [%.1f %%]"       <humidity> (Kj_Utside,gPersistInfluxTimed) { channel="rfxcom:temperaturehumidity:usb0:14852:humidity" }

Thanks for your suggestion @lfs_alp5.
Sadly, it did not resolve the problem.
Here are the debug logs of the binding when starting (folded for readability of the post).

RFXCom startup debug logs
2017-08-14 11:20:22.370 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Initializing RFXCOM bridge handler
2017-08-14 11:20:22.379 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged OFFLINE for thing rfxcom:lighting2:2077ff7c:23703886_1
2017-08-14 11:20:22.380 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged OFFLINE for thing rfxcom:lighting2:2077ff7c:21618946_11
2017-08-14 11:20:22.387 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = OFFLINE
2017-08-14 11:20:22.389 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Connecting to RFXCOM transceiver
2017-08-14 11:20:22.380 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge OFFLINE for thing rfxcom:lighting2:2077ff7c:23703886_1
2017-08-14 11:20:22.392 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge OFFLINE for thing rfxcom:lighting2:2077ff7c:21618946_11
2017-08-14 11:20:22.384 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged OFFLINE for thing rfxcom:lighting2:2077ff7c:23201782_11
2017-08-14 11:20:22.382 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged OFFLINE for thing rfxcom:temperaturehumidity:2077ff7c:23554
2017-08-14 11:20:22.398 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge OFFLINE for thing rfxcom:temperaturehumidity:2077ff7c:23554
2017-08-14 11:20:22.383 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged OFFLINE for thing rfxcom:lighting2:2077ff7c:23201782_12
2017-08-14 11:20:22.391 [DEBUG] [rnal.connector.RFXComSerialConnector] - Disconnecting
2017-08-14 11:20:22.407 [DEBUG] [rnal.connector.RFXComSerialConnector] - Closed
2017-08-14 11:20:22.410 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge OFFLINE for thing rfxcom:lighting2:2077ff7c:23201782_12
2017-08-14 11:20:22.419 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge OFFLINE for thing rfxcom:lighting2:2077ff7c:23201782_11
2017-08-14 11:20:22.432 [DEBUG] [rnal.connector.RFXComSerialConnector] - Serial port event listener started
2017-08-14 11:20:22.435 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Reset controller
2017-08-14 11:20:22.440 [DEBUG] [nternal.connector.RFXComStreamReader] - Data listener started
2017-08-14 11:20:22.759 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Get status of controller
2017-08-14 11:20:22.781 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 140100010253140008000001031C03524658434F4D, Packet type = INTERFACE_MESSAGE, Seq number = 1, Sub type = RESPONSE, Command = GET_STATUS, Transceiver type = _433_92MHZ_TRANSCEIVER, Hardware version = 0.1, Firmware type = unknown, Firmware version = 20, Output power = 0dBm, Undecoded packets = false, RFU6 packets = false, Byron SX packets packets (433.92) = false, RSL packets packets (433.92) = false, Lighting4 packets (433.92) = 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/Legrand CAD (868.35/433.92) packets = false, La Crosse (433.92/868.30) packets = true, Hideki/UPM (433.92) packets = false, AD LightwaveRF (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 = false, Meiantech (433.92) packets = false, HomeEasy EU (433.92) packets = false, AC (433.92) packets = false, ARC (433.92) packets = false, X10 (310/433.92) packets = false, HomeConfort (433.92) packets = false, KEELOQ (433.92/868.95) packets = false
2017-08-14 11:20:22.783 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - RFXCOM transceiver/receiver type: _433_92MHZ_TRANSCEIVER, hw version: 0.1, fw version: 20
2017-08-14 11:20:22.784 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Setting RFXCOM mode using: 0D00000203530008080000000000
2017-08-14 11:20:22.807 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Start receiver
2017-08-14 11:20:22.828 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 140100020353140808000001031C03524658434F4D, Packet type = INTERFACE_MESSAGE, Seq number = 2, Sub type = RESPONSE, Command = SET_MODE, Transceiver type = _433_92MHZ_TRANSCEIVER, Hardware version = 0.1, Firmware type = unknown, Firmware version = 20, Output power = 0dBm, Undecoded packets = false, RFU6 packets = false, Byron SX packets packets (433.92) = false, RSL packets packets (433.92) = false, Lighting4 packets (433.92) = true, 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/Legrand CAD (868.35/433.92) packets = false, La Crosse (433.92/868.30) packets = true, Hideki/UPM (433.92) packets = false, AD LightwaveRF (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 = false, Meiantech (433.92) packets = false, HomeEasy EU (433.92) packets = false, AC (433.92) packets = false, ARC (433.92) packets = false, X10 (310/433.92) packets = false, HomeConfort (433.92) packets = false, KEELOQ (433.92/868.95) packets = false
2017-08-14 11:20:22.830 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - RFXCOM transceiver/receiver type: _433_92MHZ_TRANSCEIVER, hw version: 0.1, fw version: 20
2017-08-14 11:20:22.878 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 1401070307436F7079726967687420524658434F4D, Packet type = INTERFACE_MESSAGE, Seq number = 3, Sub type = START_RECEIVER, Command = START_RECEIVER, Text = Copyright RFXCOM
2017-08-14 11:20:22.880 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Start TX of any queued messages
2017-08-14 11:20:22.890 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged ONLINE for thing rfxcom:lighting2:2077ff7c:23703886_1
2017-08-14 11:20:22.896 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge ONLINE for thing rfxcom:lighting2:2077ff7c:23703886_1
2017-08-14 11:20:22.891 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged ONLINE for thing rfxcom:lighting2:2077ff7c:21618946_11
2017-08-14 11:20:22.901 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge ONLINE for thing rfxcom:lighting2:2077ff7c:21618946_11
2017-08-14 11:20:22.902 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged ONLINE for thing rfxcom:lighting2:2077ff7c:23201782_12
2017-08-14 11:20:22.902 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged ONLINE for thing rfxcom:lighting2:2077ff7c:23201782_11
2017-08-14 11:20:22.904 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge ONLINE for thing rfxcom:lighting2:2077ff7c:23201782_12
2017-08-14 11:20:22.901 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - bridgeStatusChanged ONLINE for thing rfxcom:temperaturehumidity:2077ff7c:23554
2017-08-14 11:20:22.906 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge ONLINE for thing rfxcom:temperaturehumidity:2077ff7c:23554
2017-08-14 11:20:22.904 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge ONLINE for thing rfxcom:lighting2:2077ff7c:23201782_11
2017-08-14 11:21:22.387 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Checking RFXCOM transceiver connection, thing status = ONLINE

I’m a bit surprised to see the RFXComSerialConnector] issuing a “Disconnecting” and a “Closed” in the middle of the logs, but the last line seems to suggest that it ended up starting after all.
Do you have the same kind of things ?

Hm strange…

I checked my setup and I realised I’ve only defined the bridge manually as a thing, the nodes themself I’ve added through the paperui discovery (inbox).

I just deleted all tmp and cache files. But no change.

Hello once again.
The issue is still not fixed. I just made a complete installation updated everything the latest Openhab2.2 version.
Nothing except rfxcom is installed (bindings).
As I meanted before I am using Openhabian v1.3.

I changed caraf console logging to TRACE.
In the caraf console there is standing nothing (except that “Checking RFXCOM transceiver connection, thing status = ONLINE”) but no new thing in the Inbox!

Does anybody has an idea?

Greetings Gerhard

@gerhardrieger82, do you configure rfxcom transceiver mode via openHAB?

It’s configured like in the oicture I attached.

Ok, so you are configured transceiver mode via openHAB. There was bug fixed in 2.1 which prevent transceiver mode configuration to work. Basically, transceiver mode was not configured to controller in version 2.0. So could it be that you configuration is “wrong” and because mode set should now work in 2.1 binding, transceiver is also configured wrongly? You could also skip transceiver configuration from openHAB and configure transceiver via rfxcom manager.

1 Like

I think if the switch for skipping the transeiver configuration is not actiavted the configuration of the transeiver is used. This was working with openhab2.0. Since openhab2.1 rfxcom is not working.
I also activated the switch that openhab is configuring rfxcom. I activated Rubicson, but no new Things.

The rfxcom HW is working properly. I checked this with the RFXmngr sowftware on my PC.

So could you try one more time.

  1. Activate “skip transceiver configuration” from openHAB.
  2. Enable rfxcom binding debug/trace logs.
  3. Configure transceiver via RFXmngr (see that temperature values are received).
  4. Start openHAB
  5. If not working, paste debug logs to here.

Hey! Now it seems to work! I think the reboot helped because I activated “skip transrevier configuration”, I configured it with the RFXmngr before and this did not helped.

Thanks a lot!

Greetings Gerhard