catduckgnaf / rtl_433_haos_addon

Add-On for RTL_433 Home Assistant Community Edition!
13 stars 2 forks source link

option requires an argument: F #15

Closed mworsnop closed 7 months ago

mworsnop commented 7 months ago

I had this working and I guess there was a new update and now I get this error in the log and nothing is working. I'm not really sure what to change. I removed this entirely and reinstalled and still get the same error

rtl_433: option requires an argument: F = Output format option = [-F log|kv|json|csv|mqtt|influx|syslog|trigger|null] Produce decoded output in given format. Without this option the default is LOG and KV output. Use "-F null" to remove the default. Append output to file with : (e.g. -F csv:log.csv), defaults to stdout. Specify MQTT server with e.g. -F mqtt://localhost:1883 Add MQTT options with e.g. -F "mqtt://host:1883,opt=arg" MQTT options are: user=foo, pass=bar, retain[=0|1], [=topic] Default user and password are read from MQTT_USERNAME and MQTT_PASSWORD env vars. A base topic can be set with base=, default is "rtl_433/HOSTNAME". Supported MQTT formats: (default is all) events: posts JSON event data states: posts JSON state data devices: posts device and sensor info in nested topics Any topic string overrides the base topic and will expand keys like [/model] E.g. -F "mqtt://localhost:1883,user=USERNAME,pass=PASSWORD,retain=0,devices=rtl_433[/id]" With MQTT each rtl_433 instance needs a distinct driver selection. The MQTT Client-ID is computed from the driver string. If you use multiple RTL-SDR, perhaps set a serial and select by that (helps not to get the wrong antenna). Specify InfluxDB 2.0 server with e.g. -F "influx://localhost:9999/api/v2/write?org=&bucket=,token=" Specify InfluxDB 1.x server with e.g. -F "influx://localhost:8086/write?db=&p=&u=" Additional parameter -M time:unix:usec:utc for correct timestamps in InfluxDB recommended Specify host/port for syslog with e.g. -F syslog:127.0.0.1:1514

catduckgnaf commented 7 months ago

Sorry about that, just pushed a fix for 2024.4.2 reverted back.

mworsnop commented 7 months ago

Guessing it takes a while to show up on HA? Ill check back in a while