From eaab8c01278ad851a38297fd716de414fa26c3c0 Mon Sep 17 00:00:00 2001 From: Bogdan Vlaicu Date: Wed, 6 May 2020 20:05:43 -0400 Subject: [PATCH] rtlamr improvements --- rtlamr/config.json | 2 +- rtlamr/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtlamr/config.json b/rtlamr/config.json index 6c59cb4..9d66b55 100755 --- a/rtlamr/config.json +++ b/rtlamr/config.json @@ -1,6 +1,6 @@ { "name": "RTLAMR to MQTT Bridge", - "version": "0.1.9", + "version": "0.1.10", "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", diff --git a/rtlamr/run.sh b/rtlamr/run.sh index 61461cd..ecb1a48 100755 --- a/rtlamr/run.sh +++ b/rtlamr/run.sh @@ -40,7 +40,7 @@ LASTVAL="0" # Do this loop, so will restart if buffer runs out while true; do - if [ -z ${MQTT_IDS+x} ] || [$MQTT_IDS = ""] || [$MQTT_IDS = null]; then + if [ -z ${MQTT_IDS+x} ] || [${MQTT_IDS} = ""] || [${MQTT_IDS} = "null"]; then ID_FILTER_OPTION="" else ID_FILTER_OPTION="-filterid=$MQTT_IDS"