Skip to content

Commit

Permalink
setting qos to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskacerguis authored Nov 14, 2017
1 parent 04c2dd1 commit d8f1a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl2mqtt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ echo "Starting RTL..."
do
# Create file with touch /tmp/rtl_433.log if logging is needed
[ -w /tmp/rtl_433.log ] && echo $line >> rtl_433.log
echo $line | /usr/bin/mosquitto_pub -h $MQTT_HOST -u $MQTT_USER -P $MQTT_PASS -i RTL_433 -r -l -t $MQTT_TOPIC
done
echo $line | /usr/bin/mosquitto_pub -h $MQTT_HOST -u $MQTT_USER -P $MQTT_PASS -i RTL_433 -r -l -q 1 -t $MQTT_TOPIC
done

0 comments on commit d8f1a99

Please sign in to comment.