From 9c27794df65d335b028e0feb2d7783f7ec8a6014 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 21 May 2021 16:44:36 +0200 Subject: [PATCH] update to local wireguard ip --- mh-z19b.pl | 2 +- pms3003.pl | 2 +- zph02.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.20.1