RFXCOM Security2 (keeloq) remote adding problem

The RFXCOM transceiver can perfectly decode the remote control signal, and it even shows up in openHAB(2.4) Inbox, but after adding it just goes straight offline with configuration error: “RFXCOM device missing deviceId or subType”.

The deviceId has been added automatically and the subType is not changeable. I tried adding the Thing manually, same result.

==> /var/log/openhab2/openhab.log <==

2019-05-31 04:52:29.366 [DEBUG] [ore.thing.internal.ThingRegistryImpl] - Creating thing for type 'rfxcom:security2'.

2019-05-31 04:52:29.380 [DEBUG] [core.thing.internal.ThingManagerImpl] - Thing 'rfxcom:security2:40782f6e' is tracked by ThingManager.

2019-05-31 04:52:29.381 [DEBUG] [core.thing.internal.ThingManagerImpl] - Calling 'RFXComHandlerFactory.registerHandler()' for thing 'rfxcom:security2:40782f6e'.

2019-05-31 04:52:29.382 [DEBUG] [core.thing.internal.ThingManagerImpl] - Configuration of 'rfxcom:security2:40782f6e' needs [deviceId], has [deviceId].

2019-05-31 04:52:29.382 [DEBUG] [core.thing.internal.ThingManagerImpl] - Config description for 'rfxcom:contact' is not resolvable, assuming 'rfxcom:security2:40782f6e:contact' is initializable

2019-05-31 04:52:29.383 [DEBUG] [core.thing.internal.ThingManagerImpl] - Config description for 'rfxcom:contact' is not resolvable, assuming 'rfxcom:security2:40782f6e:contact1' is initializable

2019-05-31 04:52:29.383 [DEBUG] [core.thing.internal.ThingManagerImpl] - Config description for 'rfxcom:contact' is not resolvable, assuming 'rfxcom:security2:40782f6e:contact2' is initializable

2019-05-31 04:52:29.384 [DEBUG] [core.thing.internal.ThingManagerImpl] - Config description for 'rfxcom:contact' is not resolvable, assuming 'rfxcom:security2:40782f6e:contact3' is initializable

2019-05-31 04:52:29.384 [DEBUG] [core.thing.internal.ThingManagerImpl] - Config description for 'system:signal-strength' is not resolvable, assuming 'rfxcom:security2:40782f6e:signalLevel' is initializable

2019-05-31 04:52:29.385 [DEBUG] [core.thing.internal.ThingManagerImpl] - Config description for 'system:battery-level' is not resolvable, assuming 'rfxcom:security2:40782f6e:batteryLevel' is initializable

2019-05-31 04:52:29.386 [DEBUG] [core.thing.internal.ThingManagerImpl] - Calling initialize handler for thing 'rfxcom:security2:40782f6e' at 'org.openhab.binding.rfxcom.handler.RFXComHandler@1e972b2a'.

==> /var/log/openhab2/events.log <==

2019-05-31 04:52:29.386 [hingStatusInfoChangedEvent] - 'rfxcom:security2:40782f6e' changed from UNINITIALIZED to INITIALIZING

==> /var/log/openhab2/openhab.log <==

2019-05-31 04:52:29.388 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Initializing thing rfxcom:security2:40782f6e

2019-05-31 04:52:29.389 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - initializeBridge ONLINE for thing rfxcom:security2:40782f6e

==> /var/log/openhab2/events.log <==

2019-05-31 04:52:29.392 [hingStatusInfoChangedEvent] - 'rfxcom:security2:40782f6e' changed from INITIALIZING to OFFLINE (CONFIGURATION_ERROR): RFXCOM device missing deviceId or subType

==> /var/log/openhab2/openhab.log <==

2019-05-31 04:52:29.393 [DEBUG] [mon.registry.AbstractManagedProvider] - Added new element rfxcom:security2:40782f6e to ManagedThingProvider.

I have the same issue.

Did you find any solution?

Not really, but I found a partial solution with separate .thing file, with these settings:

Thing security2 device_name	"Device" [ deviceId="11111111", subType="RAW_CLASSIC_KEELOQ" ]

Now the Thing seems to be online, but the Items are not working correctly. Something is going on, if you are pushing buttons, but no proper functioning. But check it out, maybe it will work with your remote.

I think there is a reason, that this isn’t documented on the RFXCOM Binding page, maybe it’s only in developing stage, but unfortunately I have no further info about it. It would be cool, if it worked.