forked from merbanan/rtl_433
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtl_433_mqtt_relay: Support reading config from a file
This commit adds the ability to read config values from rtl_433_mqtt_relay.yaml, which override the defaults. It falls back to the previous behavior if the yaml module can't be loaded or the config file can't be read. This is a minimal, somewhat ugly, change that lets people run this script with custom config without editing it.
- Loading branch information
Showing
1 changed file
with
54 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters