Hi,
I’ve purchased a 1 channel push button (https://www.banggood.com/433Mhz-RF-Wireless-Remote-Control-Switch-Transmitter-With-1-2-3-4-Button-For-Home-Room-Hall-Bedroom-p-1545993.html?gmcCountry=GB¤cy=GBP&createTmp=1&utm_source=googleshopping&utm_medium=cpc_bgs&utm_content=lijing&utm_campaign=ssc-gb-100-all-0819&ID=528396&cur_warehouse=CN#customerQA)
This is detected in RFXManager and generates an event each time (the below shows the result when pressed twice 3 seconds apart):
10/08/2020 02:30:24:085= 08200000E229600259
Packettype = Security1
subtype = X10 security
Sequence nbr = 0
id1-3 = E22960 decimal:14821728
status = Alarm
battery level = OK
Signal level = 5 -80dBm
10/08/2020 02:30:27:263= 08200001E229600259
Packettype = Security1
subtype = X10 security
Sequence nbr = 1
id1-3 = E22960 decimal:14821728
status = Alarm
battery level = OK
Signal level = 5 -80dBm
In OpenHab the button is detected as:
SECURITY1-14821728
RFXCOM Security1 Sensor
The “Thing” is seen as a sub-type “X10 security door/window sensor” (i’ve also tried manually creating the Thing with different sub types)
I create Items for Status, Contact and Motion (i’ve tried all three) and the first time i press the button I get the following in the events log:
2020-08-10 15:31:35.931 [vent.ItemStateChangedEvent] - SECURITY114821728_Status changed from NULL to ALARM
2020-08-10 15:31:35.932 [vent.ItemStateChangedEvent] - SECURITY114821728_Contact changed from NULL to OPEN
All subsequent presses generate no events.
Has anyone successfully managed to get one of these devices to work in OpenHAB?
Thanks,
Richie