Home

Awesome

Sensirion-SmartGadget

Python library for reading temperature, humidity, and battery level from a SHT31 Smart Gadget Development Kit by Sensirion.

Supported features

Currently not supported

Installation

pip install sensirion-smartgadget

Usage

from sensirionbt import SmartGadget

sensor = SmartGadget('CA:FE:12:34:56:78')
print(sensor.get_values(init_static=True))
# 'init_static' is optional; it fetches following values immediately.
print("Manufacturer:", sensor.manufacturer)
print("Model:", sensor.model)
print("Firmware:", sensor.firmware_version)

Notes