Hi everyone.
I’ve just made a circuit with arduino that allows me to sniff the 433mhz radio communications that take place between anti-intrusion sensors and the control unit of my burglar alarm. These are PIR, magnetic contacts and remote controls. At the moment I only took note of the transmissions from a remote control, but I suppose that for the other sensors it changes little.
Basically an identification code is transmitted followed by an id of the command, with a mask type XXXXDD.
I would like to read this data through the serial and create an item for each ID received.
For example, the 1234 remote has 4 keys: 01, 02, 03 and 04.
The sequence of possible codes received via serial is:
123401
123402
123403
123404
On a PIR I imagine there are one or two possible combinations of codes, for example the PIR 4567 launches the code 01 when it detects an intruder and 02 when it detects the low battery level:
456701
456702
How do I specify to openHAB that the avalanche of codes that you see arrive on the serial:
123401
456701
123402
123403
123404
456701
456702
are they actually a 4-key remote control and a PIR?
Thanks a lot!