scd30_baseline - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > calibration
DESCRIPTION
The scd30_baseline utility is used to adjust the zero offset for the Sensirion SCD30 NDIR CO2 sensor.
If the system reports a concentration of 25 parts per billion in zero air, its zero offset should be set to -25. The date / time of any change is recorded.
Note that the scs_dev/gasses_sampler process must be restarted for changes to take effect.
SYNOPSIS
scd30_baseline.py [{ { { -s | -o } VALUE | -c CORRECT REPORTED } [-t TEMP -m HUMID [-p PRESS]] | -z | -d }] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-s SET, --set=SET | set offset to integer VALUE |
-o OFFSET, --offset=OFFSET | change offset by integer VALUE |
-c CORRECT, --correct=CORRECT | change offset by the difference between CORRECT and REPORTED values |
-z, --zero | zero all offsets |
-d, --delete | delete the baseline configuration |
-t TEMP, --temp=TEMP | record temperature value (°C) |
-m HUMID, --humid=HUMID | record relative humidity value (%) |
-p PRESS, --press=PRESS | record actual barometric pressure value (kPa) |
-i INDENT, --indent=INDENT | pretty-print the output with INDENT |
-v, --verbose | report narrative to stderr |
EXAMPLES
./scd30_baseline.py -vc 10 23
FILES
~/SCS/conf/scd30_baseline.json
DOCUMENT EXAMPLE
{"baseline": {"calibrated-on": "2019-02-02T11:34:16Z", "offset": 50}}