sht_conf - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > configuration
DESCRIPTION
The sht_conf utility is used to specify the I2C address(es) of Sensirion SHT temperature and relative humidity sensors deployed in South Coast Science equipment.
Two different Sensirion SHT sensor configurations are generally used:
-
SHT in A4 pot (internal) - I2C address: 0x44 - the sensor is enclosed in a package that mimics the electrochemical sensor environment. This sensor is used to perform temperature and humidity compensations in data interpretation.
-
Free-to-air SHT (external) - I2C address: 0x45 - the sensor is directly exposed to the air. This arrangement provides a more responsive and accurate measurement of the ambient conditions.
For devices with only one sensor type present, the internal and external address should be set to the same value.
Note that the scs_dev sampler processes must be restarted for changes to take effect.
SYNOPSIS
sht_conf.py [{ [-i INT_ADDR] [-e EXT_ADDR] | -d }] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-i INT_ADDR, --int-addr=INT_ADDR | set I2C address of SHT in A4 package |
-e EXT_ADDR, --ext-addr=EXT_ADDR | set I2C address of SHT exposed to air |
-d, --delete | delete the SHT configuration |
-v, --verbose | report narrative to stderr |
EXAMPLES
./sht_conf.py -v -i 0x44 -e 0x45
DOCUMENT EXAMPLE
{"int": "0x44", "ext": "0x45"}
FILES
~/SCS/conf/sht_conf.json