projects
/
air-quality
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3a3b7
)
pihdmi serial port
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 7 Feb 2021 13:44:01 +0000
(14:44 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 7 Feb 2021 13:44:01 +0000
(14:44 +0100)
dsm501.pl
patch
|
blob
|
history
diff --git
a/dsm501.pl
b/dsm501.pl
index
e61e2be
..
a821aaf
100755
(executable)
--- a/
dsm501.pl
+++ b/
dsm501.pl
@@
-6,7
+6,7
@@
use Device::SerialPort;
use Time::HiRes;
use Data::Dump qw(dump);
-my $port = shift @ARGV || '/dev/serial/by-path/p
ci-0000:00:1a.7-usb-0:5.
1.3:1.0-port0';
+my $port = shift @ARGV || '/dev/serial/by-path/p
latform-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 $measurement = $ENV{MEASUREMENT} || 'dsm501';