From: Dobrica Pavlinusic Date: Fri, 21 May 2021 14:44:36 +0000 (+0200) Subject: update to local wireguard ip X-Git-Url: http://git.rot13.org/?p=air-quality;a=commitdiff_plain;h=9c27794df65d335b028e0feb2d7783f7ec8a6014 update to local wireguard ip --- diff --git a/mh-z19b.pl b/mh-z19b.pl index 8307838..9076414 100755 --- a/mh-z19b.pl +++ b/mh-z19b.pl @@ -7,7 +7,7 @@ use Time::HiRes; use Data::Dump qw(dump); my $port = shift @ARGV || '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.2'; -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 $s = new Device::SerialPort( $port ) || die $!; $s->baudrate(9600); diff --git a/pms3003.pl b/pms3003.pl index f1d458a..c1708f6 100755 --- a/pms3003.pl +++ b/pms3003.pl @@ -7,7 +7,7 @@ use Time::HiRes; use Data::Dump qw(dump); my $port = shift @ARGV || '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0'; -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 $debug = $ENV{DEBUG} || 0; diff --git a/zph02.pl b/zph02.pl index 8b7018a..0a01d36 100755 --- a/zph02.pl +++ b/zph02.pl @@ -7,7 +7,7 @@ use Time::HiRes; use Data::Dump qw(dump); my $port = shift @ARGV || '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0'; -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 $s = new Device::SerialPort( $port ) || die $!; $s->baudrate(9600);