View Source Ccs811.Telemetry (ccs811 v0.3.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a periodic poller that generates telemetry events containing the sensor readings

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Starts a periodic poller that generates telemetry events containing the sensor readings

It supports additional arguments:

:period - polling period in seconds, default: 30

Any other additional argument will be passed to Ccs811.initialize()

Example:

Ccs811.start_polling(period: 60)