Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No graphs for airquality sensor (grafana) #570

Closed
janczmok1970 opened this issue Jan 4, 2024 · 4 comments
Closed

No graphs for airquality sensor (grafana) #570

janczmok1970 opened this issue Jan 4, 2024 · 4 comments
Labels

Comments

@janczmok1970
Copy link

Hi,

i am having issues that i am getting "No data" in grafana Dashboard.

a) correct setup in esphome as i am getting values in homeassist& curling the /metrics works

  • job_name: 'airgradient-aqbuero'
    metrics_path: /metrics
    scrape_interval: 30s
    static_configs:
    • targets: ['192.168.200.251:9925']

b) querying prometheus on 9090 reports values:

esphome_sensor_value{id="co2_level", instance="192.168.200.251:9925", job="airgradient-aqbuero", name="CO2 level", unit="ppm"}
esphome_sensor_value{id="co2_level", instance="192.168.200.251:9926", job="airgradient-aqbuero", name="CO2 level", unit="ppm"}
esphome_sensor_value{id="humidity", instance="192.168.200.251:9925", job="airgradient-aqbuero", name="Humidity", unit="%"}
esphome_sensor_value{id="humidity", instance="192.168.200.251:9926", job="airgradient-aqbuero", name="Humidity", unit="%"}
esphome_sensor_value{id="particulate_matter__10_0_m_concentration", instance="192.168.200.251:9925", job="airgradient-aqbuero", name="Particulate Matter <10.0µm Concentration", unit="µg/m³"}
esphome_sensor_value{id="particulate_matter__10_0_m_concentration", instance="192.168.200.251:9926", job="airgradient-aqbuero", name="Particulate Matter <10.0µm Concentration", unit="µg/m³"}
esphome_sensor_value{id="particulate_matter__1_0_m_concentration", instance="192.168.200.251:9925", job="airgradient-aqbuero", name="Particulate Matter <1.0µm Concentration", unit="µg/m³"}
esphome_sensor_value{id="particulate_matter__1_0_m_concentration", instance="192.168.200.251:9926", job="airgradient-aqbuero", name="Particulate Matter <1.0µm Concentration", unit="µg/m³"}
esphome_sensor_value{id="particulate_matter__2_5_m_concentration", instance="192.168.200.251:9925", job="airgradient-aqbuero", name="Particulate Matter <2.5µm Concentration", unit="µg/m³"}
esphome_sensor_value{id="particulate_matter__2_5_m_concentration", instance="192.168.200.251:9926", job="airgradient-aqbuero", name="Particulate Matter <2.5µm Concentration", unit="µg/m³"}
esphome_sensor_value{id="temperature", instance="192.168.200.251:9925", job="airgradient-aqbuero", name="Temperature", unit="°C"}
esphome_sensor_value{id="temperature", instance="192.168.200.251:9926", job="airgradient-aqbuero", name="Temperature", unit="°C"}

but no graphs.

c) i did check grafana dashboard config:

 "datasource": {
    "type": "prometheus",
    "uid": "P1809F7CD0C75ACF3"
  },
  "exemplar": true,
  "expr": "rhum{job=\"airgradient-aqbuero\"}",
  "interval": "",
  "legendFormat": "",
  "queryType": "randomWalk",
  "refId": "A"
}

so where's the error ?

@martinbrose
Copy link
Contributor

Hi @janczmok1970 ,

did you make this work or do you still have this issue?

@janczmok1970
Copy link
Author

janczmok1970 commented May 5, 2024 via email

Copy link

github-actions bot commented Sep 2, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Sep 2, 2024
Copy link

github-actions bot commented Nov 4, 2024

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants