The ccs811 module

Autogenerated API documentation for ccs811

Driver for CCS811 enviromental sensor

class PyExpLabSys.drivers.ccs811.CCS811[source]

Bases: object

Class for reading approximate values of eCO2 TVOC from a CC811 environmental sensor

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

hw_version()[source]

Read hardware version

verify_id()[source]

Verify that this is indeed a CCS811

update_data()[source]

Read data and update internal state

set_environmental_data(humidity, temperature)[source]

Set the environmental conditions to allow for correct compensation in the device