Version: 2020.2
Platform: Raspberry PI 3 B+
Hardware: RTL433 RTL_SDR Receiver
Hi all.
Using Domoticz from more or less one year to control and manage all that is possible ... it's really easy and amazing.
I have a wireless DSC security panel and from time to time I looked at the way to integrate it into Domoticz in some way.
Now, I recently found that RTL_433 is able to capture wireless communications between sensors and panel, so bought an RTL2838U USB key, downloaded the github repo and compiled it.
Running it from command line I'm able to get sensor messages:
domoticz@domotic:~ $ rtl_433 -R0 -R23
- Spoiler: show
- rtl_433 version 20.02-55-gc1d1f9f branch master at 202005162227 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/domoticz/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Disabling all device decoders.
Registered 1 out of 152 device decoding protocols [ 23 ]
Detached kernel driver
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2020-05-20 16:56:49
model : DSC-Security Device Type: DW4917 door/window sensor id : 2473872
closed : 0 event : 1 tamper : 0 battery_ok: 1 xactivity : 1
xtamper1 : 0 xtamper2 : 0 exception : 0 esn : ababab status : 161
status_hex: a1 Integrity : CRC
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2020-05-20 16:56:55
model : DSC-Security Device Type: DW4917 door/window sensor id : 2473872
closed : 1 event : 1 tamper : 0 battery_ok: 1 xactivity : 1
xtamper1 : 0 xtamper2 : 0 exception : 0 esn : ababab status : 163
status_hex: a3 Integrity : CRC
but when adding the hardware in Domoticz, I found folowing lines within the log:
2020-05-20 17:00:34.429 Status: Rtl433: Worker started... (Extra Arguments: -R0 -R23)
2020-05-20 17:01:08.774 Status: Rtl433: Unhandled sensor reading, please report: (time,msg,codes,model,subtype,id,status,battery_ok,mic
2020-05-20 17:01:08.774 |2020-05-20 17:01:08,,,DSC-Security,DW4917 door/window sensor,2473872,161,1,CRC
2020-05-20 17:01:08.774 )
2020-05-20 17:01:10.876 Status: Rtl433: Unhandled sensor reading, please report: (time,msg,codes,model,subtype,id,status,battery_ok,mic
2020-05-20 17:01:10.876 |2020-05-20 17:01:09,,,DSC-Security,DW4917 door/window sensor,2473872,163,1,CRC
2020-05-20 17:01:10.876 )
How can I add DSC security sensors to Domoticz ?