Parsing RPi SYSLOG: RTL_433 example not quite working ...

20 views
Skip to first unread message

Alan Rothenbush

unread,
Aug 9, 2025, 6:02:05 PMAug 9
to rtl_433
I've compiled the RTL_433 code from Github on an RPi and from the command line, it works fine.

Next step, I'm trying to implement the example from the GIT code in

  rtl_433/examples/rtl_433_custom.py

which looks like it should work for me without much modification, as I have that model of weather station!  

The data from rtl_433 DOES show up in SYSLOG.  Unfortunately, nothing prints out.

I THINK it's because the example script expects lines from SYSLOG to start with a "priority", as in

  <101>2025-08-09T21:55:02Z RTL433 rtl_433 {"time":"2025-08-09 14:55:01"  ...

and they don't.

Unfortunately, I'm not enough of a Linux guy to figure out how to get SYSLOG to include these characters nor enough of a PYTHON guy to rewrite the script.

Any hints appreciated.

Alan Rothenbush

unread,
Aug 9, 2025, 6:24:54 PMAug 9
to rtl_433
OK, new problem.  Rebooted the RPi, started rtl_433

   rtl_433 -F syslog::1433

Noted things logging to SYSLOG, as expected.  Started the python example script.  FAILED!

Traceback (most recent call last):
  File "/home/alan/rtl_433/build/test.py", line 79, in <module>
    rtl_433_listen()
  File "/home/alan/rtl_433/build/test.py", line 34, in rtl_433_listen
    sock.bind((UDP_IP, UDP_PORT))
OSError: [Errno 98] Address already in use

Before, it ran, it simply didn't print anything.  Now, an error.

Very confused ...
Reply all
Reply to author
Forward
0 new messages