Add BME280 Sensor
- Plumb BME280 all the way through to Prometheus. - Add README detailing the diff between BME280 and BMP280 - Refactor source files to be *_drv.c to avoid naming clashes with upstream libraries.
This commit is contained in:
3
mos.yml
3
mos.yml
@ -20,6 +20,8 @@ config_schema:
|
||||
- ["sensors.dht_period", "i", 3, {title: "Sample period in seconds for DHT sensors"}]
|
||||
- ["sensors.veml6075_i2caddr", "i", 0x10, {title: "I2C Address for VEML6075 sensor"}]
|
||||
- ["sensors.veml6075_period", "i", 3, {title: "Sample period in seconds for VEML6075 sensor"}]
|
||||
- ["sensors.bme280_i2caddr", "i", 0x77, {title: "I2C Address for BME280 sensor"}]
|
||||
- ["sensors.bme280_period", "i", 3, {title: "Sample period in seconds for BME280 sensor"}]
|
||||
- ["sensors.pushgateway_period", "i", 10, {title: "Period in seconds for Prometheus Pushgateway POSTs"}]
|
||||
- ["prometheus.pushgateway", "prometheus.example.net:9091"]
|
||||
|
||||
@ -28,6 +30,7 @@ config_schema:
|
||||
# Note: To use sensor libraries, include one or more of these in your application mos.yml:
|
||||
# - origin: https://github.com/mongoose-os-libs/dht
|
||||
# - origin: https://github.com/mongoose-os-libs/veml6075-i2c
|
||||
# - origin: https://github.com/mongoose-os-libs/bme280
|
||||
libs:
|
||||
- origin: https://github.com/mongoose-os-libs/prometheus-metrics
|
||||
|
||||
|
Reference in New Issue
Block a user