X-Git-Url: http://git.rot13.org/?p=air-quality;a=blobdiff_plain;f=pms3003.pl;h=0f73e96c095819a20e8f6b70e7ce98a720b42aba;hp=7c0205e7a3216d09b0d9a759927bc735b655fa38;hb=3b75f7be1706aeaa6ed29d3b42a2ae898254fa3f;hpb=5638483beeb827823a8dfdb17bd2bab7e05c61ae diff --git a/pms3003.pl b/pms3003.pl index 7c0205e..0f73e96 100755 --- a/pms3003.pl +++ b/pms3003.pl @@ -7,8 +7,7 @@ use Time::HiRes; use Data::Dump qw(dump); my $port = shift @ARGV || '/dev/ttyUSB0'; -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 $debug = $ENV{DEBUG} || 0;