Created a guide on how to setup monitoring with grafana #878
Replies: 9 comments 4 replies
-
Thank you! I will link it within the README.md! Did you also had a look at #317 ? |
Beta Was this translation helpful? Give feedback.
-
Your correct. The adaption regarding the mqtt layout (topics, subtopics, naming (serial vs. name) on the telegraf side should be easy, it just regards the topics config in And yes the existing data in the telegraf buckets must then be transformed into the new layout.
The data migration could be tricky. Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Excellent. It was my plan to use OpenDTU together with a Raspi and Grafana to run a MQTT broker, archive data and display graphs. |
Beta Was this translation helpful? Give feedback.
-
Why are so many different components needed like telegraf and influxdb and mosquitto? There is an API endpoint for Promethes. Can't I directly scrape that from Prometheus? |
Beta Was this translation helpful? Give feedback.
-
@imp1sh I think it depends on your use case. Yes you're right prometheus also persists the data in a time series database similar to influx. My setup runs on a hosted server (accessible over the internet) so the data is published via mqtt to the broker on this server. If I had Prometheus running on this server, I would have to open a port for prometheus to scrape the data from my open-dtu (I don't like to open inbound ports to my local LAN). If my grafana would be local, I think i would also scrape the data directly to a local prometheus, I would also skip the whole certificate stuff. |
Beta Was this translation helpful? Give feedback.
-
Thanks very much for the response. I already found a way and it was much easier than I thought it was. |
Beta Was this translation helpful? Give feedback.
-
Did anyone found any tutiorial for open dtu, grafana, in Home Assistant?(rPi 4) |
Beta Was this translation helpful? Give feedback.
-
FYI: There is also a docker stack for the whole thing which simplifies the setup: https://github.com/Kraego/OpenDTU-Grafana-Stack |
Beta Was this translation helpful? Give feedback.
-
ok, finally got something together. running HA on Hyper VM. |
Beta Was this translation helpful? Give feedback.
-
Hello I've created a guide how to setup grafana to monitor the inverter data, with a secured mqtt connection (TLS certs and basic auth).
See: https://github.com/Kraego/OpenDTU-Grafana-Howto/blob/main/OpenDTUGrafana.md
Beta Was this translation helpful? Give feedback.
All reactions