Hello,
I’m using Grafana v11.0.0 and try getting Live-Data from IO-Broker to a Grafana Dashborads.
Data are read once a second via modbus from a Power-Meter.
I would like to get “best praktice”-tipps how to feed the Live Data from IO-Broker:
Things tried:
-
(best solution so far):
IO-Broker: MQTT-Server with “send only changes” un-checked
Telegraf: Read vir MQTT → Send to Grafana via http
About 20% CPU on a Rasberry 4 / Also Values with no updates are populated) -
As 1., but with Websocket from Telegraf to Grafana (could not get it working)
-
IO-Broker: MQTT-Server as 1. but with MQTT-Client Datasource in Grafana direkt.
Values ware only populated sporadicaly. (Played around with “retain flag” etc) -
IO-Broker: MQTT-Client “send only changes” checked
Mosquito-MQTT-Broker
Grafana-MQTT-Client
Worked quite stable, but only did update values which changed, so the Dashboard looks “strange” -
as 4 but with “send only changes” un-checked
→ Creates some kind of loop and CPU is maxed out, so no updates.
Regards
Martin