sensor.bme280
Platypush documentation
sensor.bme280
- class platypush.backend.sensor.bme280.SensorBme280Backend(temperature=True, pressure=True, humidity=True, **kwargs)[source]
Bases:
SensorBackend
Backend to poll analog sensor values from a BME280 environment sensor
Requires:
pimoroni-bme280
(pip install pimoroni-bme280
)
Triggers:
platypush.message.event.sensor.SensorDataChangeEvent
if the measurements of a sensor have changedplatypush.message.event.sensor.SensorDataAboveThresholdEvent
if the measurements of a sensor havegone above a configured threshold
platypush.message.event.sensor.SensorDataBelowThresholdEvent
if the measurements of a sensor havegone below a configured threshold