projects
/
rtl433-sensors
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cdb86c
)
send rtl_433 json to mqtt
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 3 Aug 2017 10:16:31 +0000
(12:16 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 3 Aug 2017 10:16:31 +0000
(12:16 +0200)
rtl_433-json-mqtt.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/rtl_433-json-mqtt.sh
b/rtl_433-json-mqtt.sh
new file mode 100755
(executable)
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
+