use build-it mqtt support in rtl_433
[rtl433-sensors] / rtl_433-json-mqtt.sh
index b72e6a1..7c461e1 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh -xe
 
-rtl_433 -G -F json -M utc | mosquitto_pub -t `hostname -s`/rtl433/json -l
+rtl_433 -M newmodel -G -F mqtt:rpi2
+#rtl_433 -G -F json -M utc | mosquitto_pub -t `hostname -s`/rtl433/json -l