Not sure what I’m doing wrong here. Lots of the documentation gives conflicting information on the structure of the item type for this.
Here is the logfile which shows data being received by openHAB when the intertechno switch is pressed:
2017-08-12 16:29:04.655 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0B11008601498FFA0C010F70, Packet type = LIGHTING2, Seq number = 134, Sub type = AC, Device Id = 21598202.12, Command = ON, Dim level = 15, Signal level = 7
2017-08-12 16:29:04.732 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb0 message: Raw data = 0B11008601498FFA0C010F70, Packet type = LIGHTING2, Seq number = 134, Sub type = AC, Device Id = 21598202.12, Command = ON, Dim level = 15, Signal level = 7
2017-08-12 16:29:04.756 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘ON’ for item ‘IntertechnoDual1Left’ to handler for channel ‘rfxcom:lighting2:9e891954:contact’, because no thing with the UID ‘rfxcom:lighting2:9e891954’ could be found.
2017-08-12 16:29:04.760 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘ON’ for item ‘IntertechnoDual1Left’ to handler for channel ‘rfxcom:lighting2:46a15369:command’, because no thing with the UID ‘rfxcom:lighting2:46a15369’ could be found.
Here is the item file:
Switch IntertechnoDual1Left { rfxcom=“<21598202.12:Command” }
The thing was auto-discovered and the parameters match the RFXmngr data.
I have a rule that logs when the button is pressed but that doesn’t trigger (but it did at one point when I was changing things around and I can’t remember what I was doing!)
The RFXmngr dump:
Packettype = Lighting2
subtype = AC
Sequence nbr = 0
ID = 1498FFA decimal:21598202
Unit = 12
Command = On
Signal level = 7 -64dBm
I also deleted the auto-discovered thing and manually created the thing in the things file but got the same warnings:
Thing lighting2 21598202_12 [ deviceId=“21598202.12”, subType=“AC” ]
Loads of other things/items are working with this binding without problems.
Any ideas what is wrong? Thanks