Skip to content

Python library for the SHT31 temperature and humidity sensor.

License

Notifications You must be signed in to change notification settings

prdktntwcklr/python-sht31

Repository files navigation

SHT31 Temperature & Humidity Sensor

The SHT31 is part of a family of highly accurate temperature and humidity sensors developed by Sensirion AG.

Prerequisites

On the Raspberry Pi, you first need to enable the I2C bus:

sudo raspi-config nonint do_i2c 0

Alternatively, you can execute sudo raspi-config and enable the I2C bus from the configuration UI.

Installing the library

You can download the most recent version of the library from the Releases section and install it using pip:

pip install python-sht31-0.1.1.tar.gz