File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Qingping Air Monitor Lite
2+ # https://developer.qingping.co/private/communication-protocols/public-mqtt-json
3+
4+ mqtt :
5+ server : tcp://127.0.0.1:1883
6+ user : bob
7+ password : happylittleclouds
8+ topic_path : qingping/+/up
9+ device_id_regex : " /(?P<deviceid>.+)/up$"
10+ qos : 0
11+ cache :
12+ timeout : 24h
13+ json_parsing :
14+ separator : .
15+ metrics :
16+ - prom_name : qp_timestamp
17+ mqtt_name : ' sensorData.[0].timestamp.value'
18+ type : gauge
19+ - prom_name : qp_temperature
20+ mqtt_name : ' sensorData.[0].temperature.value'
21+ type : gauge
22+ - prom_name : qp_humidity
23+ mqtt_name : ' sensorData.[0].humidity.value'
24+ type : gauge
25+ - prom_name : qp_co2
26+ mqtt_name : ' sensorData.[0].co2.value'
27+ type : gauge
28+ - prom_name : qp_pm25
29+ mqtt_name : ' sensorData.[0].pm25.value'
30+ type : gauge
31+ - prom_name : qp_pm10
32+ mqtt_name : ' sensorData.[0].pm10.value'
33+ type : gauge
34+ - prom_name : qp_battery
35+ mqtt_name : ' sensorData.[0].battery.value'
36+ type : gauge
You can’t perform that action at this time.
0 commit comments