X-Git-Url: http://git.rot13.org/?p=air-quality;a=blobdiff_plain;f=zph02.pl;h=81ad4dc470514662117c59807ed55244830507e3;hp=0e329fd21376519631700bceec5df9950bd2e968;hb=42b7874fd94e776acce9f6fcbea694474d848368;hpb=5a97ab5db9533de3863bef392278a5faf6488c2e diff --git a/zph02.pl b/zph02.pl index 0e329fd..81ad4dc 100755 --- 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'; -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);