mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-22 02:26:59 -04:00
17 lines
689 B
Markdown
17 lines
689 B
Markdown
# rtl_433 examples
|
|
|
|
You likely need to filter and transform rtl_433's output before sending it to a database.
|
|
It's recommended you read the JSON data and process it to your specific requirements.
|
|
|
|
Some example pipes/relays for rtl_433 JSON data. Should work with Python 2 and also Python 3.
|
|
|
|
The `pipe` examples read JSON output from `rtl_433` using a pipe, i.e.
|
|
|
|
rtl_433 -F json ... | rtl_433_statsd_pipe.py
|
|
|
|
The `relay` examples consumes the (UDP) Syslog output from rtl_433 (or a legacy plain JSON datagram).
|
|
Basically run `rtl_433` with `-F syslog:127.0.0.1:1433` and the relay script as an unrelated process, i.e.
|
|
|
|
rtl_433_mqtt_relay.py &
|
|
rtl_433 -F syslog:127.0.0.1:1433
|