how is the RTL-SDR (RTL_433) implementation done?

Moderator: leecollings

Post Reply
tlkg
Posts: 19
Joined: Sunday 14 January 2018 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: United States
Contact:

how is the RTL-SDR (RTL_433) implementation done?

Post by tlkg »

Can someone explain how the RTL-SDR (RTL_433) implementation was done?
I have successfully installed RTL-SDR and RTL_433 but I get problems when trying to use the device Rtl433 RTL-SDR receiver in Domoticz.

Rasperry Pi - Buster
Domoticz 2021.1
RTL-SDR USB Stick
See below...

If Rtl433 RTL-SDR is enabled in Domoticz the USB device seems to be unavailable

pi@raspberrypi:~ $ rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.
--------------------------------------------------------------------------------------------------------------------
pi@raspberrypi:~ $ rtl_433
rtl_433 version 20.11-118-g836bf756 branch master at 202104272025 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/pi/.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"...
Registered 157 out of 186 device decoding protocols [ 1-4 8 11-12 15-17 19-23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 177-186 ]
usb_claim_interface error -6
---------------------------- Errors from Domoticz log file ----------------------------------------------------
2021-04-30 11:37:29.173 Status: RTL 433: Unhandled sensor reading, please report: ({"center_frequency" : 433920000, "frequencies" : [433920000, 868240000], "hop_times" : [60]})

-----------------------------Un-enabled Rtl433 RTL-SDR in Domoticz and all seems to work ok ----------------------------------------------------
pi@raspberrypi:~ $ rtl_433
rtl_433 version 20.11-118-g836bf756 branch master at 202104272025 inputs file rt l_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/pi/.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"...
Registered 157 out of 186 device decoding protocols [ 1-4 8 11-12 15-17 19-23 25 -26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 177-186 ]
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
baseband_demod_FM: low pass filter for 250000 Hz at cutoff 25000 Hz, 40.0 us

time : 2021-04-30 11:34:14 brand : OS
model : Oregon-THGR122N House Code: 72
Channel : 2 Battery : 1 Temperature: 28.40 C Humidity : 16 %
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2021-04-30 11:34:23 brand : OS
model : Oregon-THGR122N House Code: 171
Channel : 3 Battery : 0 Temperature: 27.70 C Humidity : 9 %
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tlkg
Posts: 19
Joined: Sunday 14 January 2018 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: United States
Contact:

Re: how is the RTL-SDR (RTL_433) implementation done?

Post by tlkg »

Ok, I think things are working now...

Had to put this command into the rtl433 RTL_SDR Reciever parameters before starting Domoticz

-F json -M newmodel -C si -M level
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest