rtlamr fixes

This commit is contained in:
Bogdan Vlaicu
2020-05-04 21:12:44 -04:00
parent 12186401b5
commit 83cc821275
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "RTLAMR to MQTT Bridge",
"version": "0.0.7",
"version": "0.0.8",
"slug": "rtlamr",
"description": "RF to MQTT Bridge based on RTL_SDR/RTL_433 for RTL2832U based DVB-T USB tuners",
"url": "https://github.com/bvlaicu/home-assistant-addons/tree/master/rtlamr",
+2 -2
View File
@@ -41,9 +41,9 @@ LASTVAL="0"
while true; do
if [ -z ${MQTT_IDS+x} ]; then
ID_FILTER_OPTION=-filterid=$MQTT_IDS
else
ID_FILTER_OPTION=""
else
ID_FILTER_OPTION="-filterid=$MQTT_IDS"
fi
/go/bin/rtlamr -format json -msgtype=$MQTT_MSGTYPE $ID_FILTER_OPTION | while read line