From: Dobrica Pavlinusic Date: Thu, 3 Aug 2017 10:16:31 +0000 (+0200) Subject: send rtl_433 json to mqtt X-Git-Url: http://git.rot13.org/?p=rtl433-sensors;a=commitdiff_plain;h=e7c46e5e56c9b7d753537439246e073f08edb815 send rtl_433 json to mqtt --- diff --git a/rtl_433-json-mqtt.sh b/rtl_433-json-mqtt.sh new file mode 100755 index 0000000..a80405a --- /dev/null +++ b/rtl_433-json-mqtt.sh @@ -0,0 +1,6 @@ +#!/bin/sh -xe + +rtl_433 -G -F json -U \ +| tee /dev/shm/433.json \ +| mosquitto_pub -t `hostname -s`/rtl433/json -l +