projects
/
GroveSensor
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe672dc
)
make curl --silent
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 12 Dec 2020 17:32:30 +0000
(17:32 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 12 Dec 2020 17:32:30 +0000
(17:32 +0000)
influx.sh
patch
|
blob
|
history
diff --git
a/influx.sh
b/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