mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Plugin feinstaubsensor: add sensor data from the optional BME280 component
This commit is contained in:
parent
ca6107d396
commit
b02548ccd8
1 changed files with 14 additions and 0 deletions
|
@ -101,6 +101,7 @@ graphs = [
|
||||||
"graph_info": "Weather information: air humidity",
|
"graph_info": "Weather information: air humidity",
|
||||||
"fields": [
|
"fields": [
|
||||||
{"api_key": "humidity"},
|
{"api_key": "humidity"},
|
||||||
|
{"api_key": "BME280_humidity", "info": "BME280", "field_suffix": "bme280"},
|
||||||
],
|
],
|
||||||
"value_type": "GAUGE",
|
"value_type": "GAUGE",
|
||||||
}, {
|
}, {
|
||||||
|
@ -110,6 +111,16 @@ graphs = [
|
||||||
"graph_info": "Weather information: temperature",
|
"graph_info": "Weather information: temperature",
|
||||||
"fields": [
|
"fields": [
|
||||||
{"api_key": "temperature"},
|
{"api_key": "temperature"},
|
||||||
|
{"api_key": "BME280_temperature", "info": "BME280", "field_suffix": "bme280"},
|
||||||
|
],
|
||||||
|
"value_type": "GAUGE",
|
||||||
|
}, {
|
||||||
|
"name": "feinstaub_pressure",
|
||||||
|
"graph_title": "Feinstaub Atmospheric Pressure",
|
||||||
|
"graph_vlabel": "Pascal",
|
||||||
|
"graph_info": "Weather information: atmospheric pressure",
|
||||||
|
"fields": [
|
||||||
|
{"api_key": "BME280_pressure"},
|
||||||
],
|
],
|
||||||
"value_type": "GAUGE",
|
"value_type": "GAUGE",
|
||||||
}, {
|
}, {
|
||||||
|
@ -169,6 +180,9 @@ def get_sensor_data(host):
|
||||||
{"software_version": "NRZ-2017-099", "age":"88", "sensordatavalues":[
|
{"software_version": "NRZ-2017-099", "age":"88", "sensordatavalues":[
|
||||||
{"value_type":"SDS_P1","value":"27.37"},{"value_type":"SDS_P2","value":"13.53"},
|
{"value_type":"SDS_P1","value":"27.37"},{"value_type":"SDS_P2","value":"13.53"},
|
||||||
{"value_type":"temperature","value":"23.70"},{"value_type":"humidity","value":"69.20"},
|
{"value_type":"temperature","value":"23.70"},{"value_type":"humidity","value":"69.20"},
|
||||||
|
{"value_type":"BME280_temperature","value":"9.76"},
|
||||||
|
{"value_type":"BME280_humidity","value":"79.29"},
|
||||||
|
{"value_type":"BME280_pressure","value":"100781.03"},
|
||||||
{"value_type":"samples","value":"626964"},{"value_type":"min_micro","value":"225"},
|
{"value_type":"samples","value":"626964"},{"value_type":"min_micro","value":"225"},
|
||||||
{"value_type":"max_micro","value":"887641"},{"value_type":"signal","value":"-47"}]}
|
{"value_type":"max_micro","value":"887641"},{"value_type":"signal","value":"-47"}]}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue