.conf file format?

1,618 views
Skip to first unread message

DaveNF2G

unread,
Jul 24, 2022, 6:05:42 PM7/24/22
to rtl_433
I see that the programs looks for .conf files, but I have not found any information about what the contents of a .conf file are supposed to look like.

Wayne Townsend

unread,
Jul 24, 2022, 7:08:58 PM7/24/22
to rtl_433
output      mqtt://[ip address]:[port],user=[username],pass=[password]
frequency   433.92M
protocol    40 #Acurite
protocol    97 #ThermoPro
#convert     customary
report_meta newmodel


Is my entire .conf file after starting with the https://github.com/merbanan/rtl_433/blob/master/conf/rtl_433.example.conf example.

It works great to ONLY receive data from my Acurite weather station and ThermpPro meat thermometer. 

Without limiting the protocols to just those two, I was getting hundreds of TPMS (tire pressure monitoring system) added to my Home Assistant via the rtl_433 MQTT Auto Discovery add-on.

DaveNF2G

unread,
Jul 25, 2022, 8:54:11 AM7/25/22
to rtl_433
Thanks.  I wish there were more hobbyist technical writers out there.

DaveNF2G

unread,
Jul 25, 2022, 11:42:33 AM7/25/22
to rtl_433
...time passes...

I have downloaded the example conf file linked my wayne.t above.

I have absolutely no clue as to how it would be safe to edit all of that gobbledygook.  Is there some documentation?

DaveNF2G

unread,
Jul 29, 2022, 9:40:11 AM7/29/22
to rtl_433
After realizing that the example file is supposed to be a displayable document rather than an actual .conf file, I created an rtl_433.conf file based on the information it contained.

My file begins with these lines:

  verbose 1
  gain 0
  frequency 433.92M
  frequency 315M
  frequency 345M
  frequency 868M
  frequency 915M
  hop_interval 60
  output null
  stop_after_successful_events false

These are followed by the protocol list.

RTL_433 reads the .conf file, puts a message on screen that new defaults are in use, then exits.

I don't see anything in the example file that appears to be intended to keep the program running.

Philip Knowles

unread,
Jul 29, 2022, 4:58:51 PM7/29/22
to DaveNF2G, rtl_433

Try looking here

rtl_433/conf at master · merbanan/rtl_433 · GitHub

 

It’s really designed to send the data over MQTT not display on the screen

 

The syntax is at the bottom of this page

 

GitHub - merbanan/rtl_433: Program to decode radio transmissions from devices on the ISM bands (and other frequencies)

 

There’s a good tutorial here

 

Install rtl_433 for a SDR-RTL Dongle on a Raspberry Pi – SensorsIOT

 

Sent from Mail for Windows

--
You received this message because you are subscribed to the Google Groups "rtl_433" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtl_433+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rtl_433/1b5fff69-b89d-4a38-bfa6-a6f0a804c929n%40googlegroups.com.

 

DaveNF2G

unread,
Jul 30, 2022, 8:43:37 AM7/30/22
to rtl_433
Thanks for the help.  I am not a programmer, so some of the information is a little out of my reach. 

This whole encounter with a .conf file began because I was trying to accomplish two goals on my Windows 10x64 computer.

1) Enable decoding of all protocols.  I seem to remember there being a switch for that in some previous version.

2) Enable frequency hopping so I don't have to tie up so many SDR dongles.

Console display is sufficient for my needs.  Even though my PC is a quad core i7, I don't want to burden it with secondary software when I have it doing so much already.  RTL_433 is only one of the realtime decoders that I might have running during a session.

Philip Knowles

unread,
Jul 30, 2022, 9:11:25 AM7/30/22
to DaveNF2G, rtl_433

I have a Raspberry Pi 3B running (amongst other things) openHAB, Mosquitto, Node-red and rtl-433 – a quad core i7 wouldn’t even notice rtl-433 (after all it’s only decoding a data stream from USB - a memory stick probably needs more processor time). It will even run on a router.

 

-R is the switch for which protocols you want to decode.

DaveNF2G

unread,
Jul 30, 2022, 11:41:03 AM7/30/22
to rtl_433
-R all  registers zero protocols.  What is the correct argument to enable the defaults plus all of the normally disabled ones?

Philip Knowles

unread,
Jul 30, 2022, 11:47:05 AM7/30/22
to DaveNF2G, rtl_433

-R enables only the protocols that you need. If you enable all protocols you will get stuff from all over the place.

rtl_433/OPERATION.md at master · merbanan/rtl_433 · GitHub

As it says above, by default, all decoders (with validity checking) are enabled.

 

It’s extremely difficult to help unless you explain what you are trying to achieve.

DaveNF2G

unread,
Jul 31, 2022, 6:54:42 AM7/31/22
to rtl_433
I want to turn on the protocols that are commented out as well as the regular ones. 

As posted previously, I am also trying to use channel hopping, which so far has not worked from the command line.

Jim Lawrence

unread,
Aug 17, 2022, 11:57:04 AM8/17/22
to rtl_433
I have this same question.  I'd like to turn on all or some of the protocols that are commented out as well as the 190 that load by default.  I used to be able to use the -G 4 argument to load them, then I could use the -R -### command to disable the ones I didn't want.  But now, it appears the  -G has been depreciated????  Is that right??

Anyone got any idea how to do that?  Thank you!!
Reply all
Reply to author
Forward
0 new messages