use build-it mqtt support in rtl_433
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 12 Apr 2019 09:10:32 +0000 (11:10 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 12 Apr 2019 09:10:32 +0000 (11:10 +0200)
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