projects
/
air-quality
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
turn debug on with: touch /dev/shm/air-debug
[air-quality]
/
pms3003.pl
diff --git
a/pms3003.pl
b/pms3003.pl
index
c1708f6
..
cb68af2
100755
(executable)
--- a/
pms3003.pl
+++ b/
pms3003.pl
@@
-59,7
+59,7
@@
while (1) {
};
$influx =~ s/,$//;
$influx .= " $t";
- print "$influx\n";
+ print "$influx\n"
if -e '/dev/shm/air-debug'
;
system "curl --max-time 2 --silent -XPOST '$influx_url' --data-binary '$influx'"
}
}