Rtl 433 RTL-SDR receiver : rtl_433 startup failed

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
DemeilliezBruno
Posts: 1
Joined: Friday 28 December 2018 17:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by DemeilliezBruno »

Hello everyone,

I start on Domoticz.
I installed Domoticz (v4.9700) on a Raspberry Pi Model B with the Raspbian Stretch OS (2018-11-13).
I am having problems using the "RTL 433 - RTL-SDR Receiver".
In the Domoticz log file, I have the following information:
---
2018-12-28 18: 00: 36.271 Status: Rtl433: Worker stopped ...
2018-12-28 18: 00: 37.324 Status: Rtl433: Worker started ...
2018-12-28 18: 00: 37.433 Status: Rtl433: rtl_433 startup failed. Make sure it's properly installed (rtl_433 -f csv -q -I 2 2> / dev / null). https://github.com/merbanan/rtl_433
---

If I run command line "rtl_433 -F csv -q -I 2 2" I get the following message:

---
rtl_433 version 18.12-50-ge843853 branch master at 201812281225
Trying conf file at "rtl_433.conf" ...
Trying conf file at "/home/pi/.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" ...
quiet option (-q) is default and deprecated. See -v to increase verbosity
include_only (-I) is deprecated. Use -S none | all | unknown |
----

If I remove the options "-q -I 2 2", it works perfectly against.

---
pi @ raspberrypi: ~ / rtl_433 / src $ rtl_433 -E csv
rtl_433 version 18.12-50-ge843853 branch master at 201812281225
Trying conf file at "rtl_433.conf" ...
Trying conf file at "/home/pi/.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 96 out of 120 device decoding protocols [1-4 8 11-12 15-21 23 25-26 29-36 38-60 62-64 67-71 73-100 102-103 108-116 119]
time, msg, codes, model, button, id, channel, battery, temperature_C, mic, rid, humidity, state, status, brand, rain_rate, rain_total, gust, average, direction, pressure_hPa, uv, power_W, energy_kWh, unit, group_call, command, sun, dim_value, WIND_SPEED, wind_gust, wind_direction, dipswitch, RButton, device, temperature_F, rc, brandmodelidtemperature_C, setpoint_C, switch, cmd, cmd_id, modelidcmd, tristate, direction_str, direction_deg, speed, rain, Msg_type, signal, hours, minutes, seconds, year, month, day, sensor_code, uv_status, uv_index, lux, wm, k, ws_id, rainfall_mm, wind_speed_ms, gust_speed_ms, current, interval, learn, sensor_id, BATTERY_LOW, sequence_num, message_type, wind_speed_mph, wind_dir_deg, WIND_DIR, rain_inch, gust_speed_mph, wind_approach, rain_mm, flags, maybetemp, binding_countdown, depth, dev_id, power0, power1, power2, node, CT1, CT2, CT3, CT4, Vrms / batt, temp1_C, temp2_C, temp3_C, temp4_C, temp5_C, temp6_C, pulse, address, button1, button2, button3, button4, data, group, sid, transmit, moisture, type, pressure_PSI, battery_mV, pressure_bar, pulse, energy, device id, code, the No, to, from, payload, event, heartbeat, brandmodelidstatus, temperature_C1, temperature_C2, test, probe, water, ptemperature_C, phumidity, newbattery, heating, heating_temp, uvi, light_lux, counter, alarm, depth_cm, repeat, pressure_kPa, maybe_battery, typeid, pressure_kpa, modelID, temperature_1_C, temperature_2_C, device_type, raw_message, switch1, switch2, Switch3, Switch4, switch5, seq, extradata, house_id, module_id, SENSOR_TYPE, sensor_count, alarms, Sensor_value, battery_voltage, failed, class, alert, secret_knock, relay
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.
2018-12-28 18:02:49 ,,, THGR122N ,, 245,1, LOW, 1,300 ,,, 75 ,,, OS ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

----

It seems that the parameters is hard-coded in the C file (see https://github.com/domoticz/domoticz/bl ... Rtl433.cpp)
I did not find how to change these default settings when launching rtl_433 by domoticz via the interface.
Can someone help me to change these settings without having to modify Domoticz sources?

In advance a very big thank you,

Have a nice day and a very good new year,

Best regards,

Bruno
sam974
Posts: 6
Joined: Thursday 10 January 2019 23:09
Target OS: Windows
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by sam974 »

Hi everybody,

I'm a new user of Domoticz since one week. It's a great software ! Thank you for its development.
Everything work great but.....
I've got the same problem than Bruno for the RTL433;
I'm on Windows7 and RTL433 fails to start in domoticz.
here is the log content :

2019-01-11 01:59:44.529 Status: Rtl433: Worker started...
2019-01-11 01:59:44.800 Status: Rtl433: Failure! Retrying in 30 seconds...
2019-01-11 02:00:15.082 Status: Rtl433: Failure! Retrying in 30 seconds...
2019-01-11 02:00:45.544 Status: Rtl433: Failure! Retrying in 30 seconds...

No problem in an external terminal in command line where i get some 433 temperature sensor data without any problem.
Could you please check for this bug ?

Thank you very much !

Sam
hxeldon
Posts: 3
Joined: Sunday 03 February 2019 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by hxeldon »

Hello,

I had the same problem.

Did you solve it ?

How ?

Thanks in advance
Josep
ph1nt
Posts: 1
Joined: Sunday 03 February 2019 20:29
Target OS: Linux
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by ph1nt »

Hello, it's my dirty hack in rtl_433 not domoticz:
--- a/src/rtl_433.c
+++ b/src/rtl_433.c
@@ -1183,8 +1183,8 @@ static void parse_conf_option(r_cfg_t *cfg, int opt, char *arg)
cfg->demod->analyze_pulses = atobv(arg, 1);
break;
case 'I':
- fprintf(stderr, "include_only (-I) is deprecated. Use -S none|all|unknown|known\n");
- exit(1);
+ fprintf(stderr, "include_only (-I) is deprecated. Ignoring -I %s param. Use -S none|all|unknown|known\n", arg);
+ //exit(1);
break;
case 'r':
if (!arg)
hxeldon
Posts: 3
Joined: Sunday 03 February 2019 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by hxeldon »

Ok, it works !!!

Thank you very much.
sam974
Posts: 6
Joined: Thursday 10 January 2019 23:09
Target OS: Windows
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by sam974 »

hi,
i don't understand where to put this script. Could you please explain it a bit more.
thank you
Sam

Envoyé de mon SM-G930F en utilisant Tapatalk

hxeldon
Posts: 3
Joined: Sunday 03 February 2019 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by hxeldon »

Hi,

ph1nt proposed a modification of the rtl_433.c program that is in rtl_sdr/src directory.
I made this change in the code, compile again rtl component and it worked perfectly.

I hope this helps you.

Best regards
Josep
Jeremob
Posts: 14
Joined: Wednesday 13 February 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rtl 433 RTL-SDR receiver : rtl_433 startup failed

Post by Jeremob »

Hi,


I have exactly the same error on my RPi :

2019-02-13 10:15:48.149 Status: Rtl433: rtl_433 startup failed. Make sure it's properly installed (rtl_433 -F csv -q -I 2 2>/dev/null). https://github.com/merbanan/rtl_433

Have you find a solution ?
The workaround is to edit the Rtl433.cpp ? Where is it ? How to do that ?

Thanks a lot
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest