don't create temp file
[rtl433-sensors] / rtl_433-json-mqtt.sh
index a80405a..93c275d 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/sh -xe
 
-rtl_433 -G -F json -U \
-| tee /dev/shm/433.json \
-| mosquitto_pub -t `hostname -s`/rtl433/json -l
+rtl_433 -G -F json -U | mosquitto_pub -t `hostname -s`/rtl433/json -l