From: Dobrica Pavlinusic Date: Sun, 16 Feb 2020 09:12:59 +0000 (+0100) Subject: use sensor through pill_serial port X-Git-Url: http://git.rot13.org/?p=air-quality;a=commitdiff_plain;h=5a97ab5db9533de3863bef392278a5faf6488c2e use sensor through pill_serial port --- diff --git a/zph02.pl b/zph02.pl index ef54765..0e329fd 100755 --- a/zph02.pl +++ b/zph02.pl @@ -6,7 +6,7 @@ use Device::SerialPort; use Time::HiRes; use Data::Dump qw(dump); -my $port = shift @ARGV || '/dev/serial/by-path/pci-0000:00:1a.7-usb-0:5.4:1.0-port0'; +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';