projects
/
air-quality
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added consistency=any
[air-quality]
/
zph02.pl
diff --git
a/zph02.pl
b/zph02.pl
index
0e329fd
..
81ad4dc
100755
(executable)
--- a/
zph02.pl
+++ b/
zph02.pl
@@
-7,8
+7,7
@@
use Time::HiRes;
use Data::Dump qw(dump);
my $port = shift @ARGV || '/dev/serial/by-path/pci-0000:00:1a.7-usb-0:5.3.4:1.0';
use Data::Dump qw(dump);
my $port = shift @ARGV || '/dev/serial/by-path/pci-0000:00:1a.7-usb-0:5.3.4:1.0';
-my $influx_url = shift @ARGV || 'http://10.13.37.229:8186/write?db=telegraf';
-$influx_url = 'http://10.13.37.92:8086/write?db=rot13';
+my $influx_url = shift @ARGV || 'http://10.13.37.92:8086/write?consistency=any&db=rot13';
my $s = new Device::SerialPort( $port ) || die $!;
$s->baudrate(9600);
my $s = new Device::SerialPort( $port ) || die $!;
$s->baudrate(9600);