X-Git-Url: http://git.rot13.org/?p=air-quality;a=blobdiff_plain;f=mh-z19b.pl;h=0b0fc416df83e394f5a60c4b35be3527615b8616;hp=8edaa3fa7993834c723b8d7943c62b9697b6fa63;hb=c9bd23bbf3f7abefcc2f766ae8edf8a64d3570a4;hpb=3b75f7be1706aeaa6ed29d3b42a2ae898254fa3f diff --git a/mh-z19b.pl b/mh-z19b.pl index 8edaa3f..0b0fc41 100755 --- a/mh-z19b.pl +++ b/mh-z19b.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.3.4:1.2'; +my $port = shift @ARGV || '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.4.2:1.2'; my $influx_url = shift @ARGV || 'http://10.13.37.92:8086/write?consistency=any&db=rot13'; my $s = new Device::SerialPort( $port ) || die $!;