make curl --silent
[GroveSensor] / influx.sh
index ce6f761..2f6b46b 100755 (executable)
--- a/influx.sh
+++ b/influx.sh
@@ -3,5 +3,5 @@
 stty -F /dev/ttyUSB0 ispeed 115200 cs8 -cstopb -parenb -echo igncr
 
 cat /dev/ttyUSB0 | while read line ; do
-       curl -XPOST "http://10.13.37.92:8086/write?consistency=any&db=rot13" --data-binary "grove,dc=trnjanska,host=$(hostname -s) $line"
+       curl --silent -XPOST "http://10.13.37.92:8086/write?consistency=any&db=rot13" --data-binary "grove,dc=trnjanska,host=$(hostname -s) $line"
 done