forked from mongoose-os-libs/prometheus-sensors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmos.yml
55 lines (48 loc) · 2.91 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
author: Pim van Pelt <[email protected]>
description: Library that interfaces sensors to Prometheus Metrics
type: lib
version: 1.0
platforms: [esp32, esp8266]
tags:
- c
# List of files / directories with C sources. No slashes at the end of dir names.
sources:
- src
includes:
- include
config_schema:
- ["sensors", "o", {title: "Sensors settings"}]
- ["sensors.dht_gpio", "s", "13,12,14", {title: "Comma Separated list of GPIO pins to enable DHT22/AM2302 sensors on"}]
- ["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.htu21df_i2caddr", "i", 0x40, {title: "I2C Address for HTU21DF sensor"}]
- ["sensors.htu21df_period", "i", 3, {title: "Sample period in seconds for HTU21DF sensor"}]
- ["sensors.sht31_i2caddr", "i", 0x44, {title: "I2C Address for SHT31 sensor"}]
- ["sensors.sht31_period", "i", 3, {title: "Sample period in seconds for SHT31 sensor"}]
- ["sensors.si7021_i2caddr", "i", 0x40, {title: "I2C Address for SI7021 sensor"}]
- ["sensors.si7021_period", "i", 3, {title: "Sample period in seconds for SI7021 sensor"}]
- ["sensors.mcp9808_i2caddr", "i", 0x18, {title: "I2C Address for MCP9808 sensor"}]
- ["sensors.mcp9808_period", "i", 3, {title: "Sample period in seconds for MCP9808 sensor"}]
- ["sensors.ccs811_i2caddr", "i", 0x5a, {title: "I2C Address for CCS811 sensor"}]
- ["sensors.ccs811_period", "i", 3, {title: "Sample period in seconds for CCS811 sensor"}]
- ["sensors.pushgateway_period", "i", 10, {title: "Period in seconds for Prometheus Pushgateway POSTs"}]
- ["sensors.barometer_period", "i", 3, {title: "Sample period in seconds for barometer sensors"}]
- ["prometheus.pushgateway", "prometheus.example.net:9091"]
# List of libraries used by this app, in order of initialisation
# Note: To use sensor libraries, include one or more of these in your application mos.yml:
# - location: https://github.com/mongoose-os-libs/dht
# - location: https://github.com/mongoose-os-libs/veml6075-i2c
# - location: https://github.com/mongoose-os-libs/bme280
# - location: https://github.com/mongoose-os-libs/sht31-i2c
# - location: https://github.com/mongoose-os-libs/si7021-i2c
# - location: https://github.com/mongoose-os-libs/htu21df-i2c
# - location: https://github.com/mongoose-os-libs/mcp9808-i2c
# - location: https://github.com/mongoose-os-libs/ccs811-i2c
# - location: https://github.com/mongoose-os-libs/barometer
libs:
- location: https://github.com/mongoose-os-libs/prometheus-metrics
# Used by the mos tool to catch mos binaries incompatible with this file format
manifest_version: 2017-05-18