projects
/
air-quality
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc051f3
)
send influx data directly
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 21 Feb 2021 12:36:29 +0000
(12:36 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 21 Feb 2021 12:36:29 +0000
(12:36 +0000)
iio2mqtt.pl
patch
|
blob
|
history
diff --git
a/iio2mqtt.pl
b/iio2mqtt.pl
index
40c4983
..
855e8ca
100755
(executable)
--- a/
iio2mqtt.pl
+++ b/
iio2mqtt.pl
@@
-6,7
+6,7
@@
use Time::HiRes;
# sudo apt install libiio-utils mosquitto-clients
-my $influx_url = shift @ARGV || 'http://10.
13.37
.92:8086/write?consistency=any&db=rot13';
+my $influx_url = shift @ARGV || 'http://10.
60.0
.92:8086/write?consistency=any&db=rot13';
my $delay = $ENV{DELAY} || 1;