Documentation
BME680 Extension
The BME680 extension connects to a BME680 environmental sensor to gather temperature, humidity, pressure, gas, and altitude readings.
Overview
The bme680 extension connects to a BME680 device to gather environmental readings. The sensor will return temperature, humidity, pressure, gas, and the set altitude.
This extension does not take an extension-level config and is focused on interfaces.
Sensor Interface
Provides a sensor that returns BME680 readings.
| Option | Type | Required | Description |
|---|---|---|---|
key |
String | Yes | Unique slug id for the component |
address |
String | Yes | I2C address as integer to use on board. Default: 0x76 i.e. 118 |
name |
String | No | Friendly display name of component. Useful for UI. |
calibration_pressure |
Float | No | Your location's pressure (hPa) at sea level to calibrate sensor. Default: 1013.25 |
Config Example
Here is a config of a complete BME680 sensor.
mudpi.config.json
{
"sensor": [
{
"key": "bme680_sensor",
"interface": "bme680",
"address": 118,
"calibration_pressure": 1013.25
}
]
}
Data
Here is an example of the data returned by the BME680:
BME680 Sensor Data
{
"temperature": 50,
"humidity": 64,
"pressure": 1013,
"gas": 72.1,
"altitude": 79.1
}