Hi guys, first of all great tools create big problems when you don’t know how to use them.
Running openhab 2.4.0 stable on a raspberry pi 3b+
Z-Wave bindings and such all went really smooth, today I’ve started with the RTXTRX bindings and i have to so, I’m lost. I’ve got the transceiver working so that is good.
I’ve found an old Lighting1 COCO powersocket with remote in the shed and it was still working.
When i hit the remote in the paperUI a security item is added
SECURITY1-5313872
When pushing the on/off buttons the Status
changes accordingly ALARM \ ARM_HOME
The Lighting1 device pops up in the inbox also as
LIGHTING1-L.8
I suppose that L.8 is the code/channel thing.
I have tried making a switch in the sitemap , but it does not do anything , like so :
in rfxtrx.things I have the following :
Bridge rfxcom:bridge:usb9999 [ serialPort="/dev/ttyUSB-9999" ] {
Thing lighting1 buitenlamp1 [ deviceId="L.8", subType="COCO" ]
}
Added the switch to the items like so :
Switch RFXTRX_Buitenlamp_1 "Buitenlamp 1" {channel="rfxcom:lighting1:usb9999:buitenlamp1:command"}
added the item in the sitemap like so
Text label="Tuin" icon="terrace" {
Switch item=RFXTRX_Buitenlamp_1 icon="light"
}
But clicking the switch does not do anything .
The logs say the following :
2019-10-05 23:47:59.825 [ome.event.ItemCommandEvent] - Item 'RFXTRX_Buitenlamp_1' received command ON
2019-10-05 23:47:59.838 [nt.ItemStatePredictedEvent] - RFXTRX_Buitenlamp_1 predicted to become ON
2019-10-05 23:47:59.851 [vent.ItemStateChangedEvent] - RFXTRX_Buitenlamp_1 changed from OFF to ON
But obviously nothing happens. could someone point me in the right direction to use the switch created in the sitemap to trigger the light to go on ?
– UPDATE :
added debug to the rfxcom :
output when hitting the ON button on the remote :
2019-10-06 17:05:33.554 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0820006E5155500249, Packet type = SECURITY1, Seq number = 110, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:05:33.562 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 0820006E5155500249, Packet type = SECURITY1, Seq number = 110, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:07:11.832 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0820006F5115500249, Packet type = SECURITY1, Seq number = 111, Sub type = X10_SECURITY, Device Id = 5313872, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:07:11.849 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 0820006F5115500249, Packet type = SECURITY1, Seq number = 111, Sub type = X10_SECURITY, Device Id = 5313872, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:07:11.943 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 082000705155500249, Packet type = SECURITY1, Seq number = 112, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:07:11.959 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 082000705155500249, Packet type = SECURITY1, Seq number = 112, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:07:42.799 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 082000755115500249, Packet type = SECURITY1, Seq number = 117, Sub type = X10_SECURITY, Device Id = 5313872, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:07:42.893 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 082000765155500239, Packet type = SECURITY1, Seq number = 118, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 3, Signal level = 9
2019-10-06 17:07:42.902 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 082000765155500239, Packet type = SECURITY1, Seq number = 118, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 3, Signal level = 9
and the OFF button :
2019-10-06 17:08:20.189 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 082000795155500249, Packet type = SECURITY1, Seq number = 121, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:08:20.200 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 082000795155500249, Packet type = SECURITY1, Seq number = 121, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:08:20.892 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0820007A5115500B49, Packet type = SECURITY1, Seq number = 122, Sub type = X10_SECURITY, Device Id = 5313872, Status = ARM_HOME, Battery level = 4, Signal level = 9
2019-10-06 17:08:20.904 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 0820007A5115500B49, Packet type = SECURITY1, Seq number = 122, Sub type = X10_SECURITY, Device Id = 5313872, Status = ARM_HOME, Battery level = 4, Signal level = 9
2019-10-06 17:08:20.956 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0820007B5155500249, Packet type = SECURITY1, Seq number = 123, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:08:20.968 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 0820007B5155500249, Packet type = SECURITY1, Seq number = 123, Sub type = X10_SECURITY, Device Id = 5330256, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:08:21.643 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0820007C5115500249, Packet type = SECURITY1, Seq number = 124, Sub type = X10_SECURITY, Device Id = 5313872, Status = ALARM, Battery level = 4, Signal level = 9
2019-10-06 17:08:21.654 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:usb9999 message: Raw data = 0820007C5115500249, Packet type = SECURITY1, Seq number = 124, Sub type = X10_SECURITY, Device Id = 5313872, Status = ALARM, Battery level = 4, Signal level = 9