Open elausys opened 5 months ago
Any help or advice on that topic ? Thank you in advance !
no help, but I have exactly the same problem. MQTT works in MQTT explorer but no data with Grafana MQTT plugin. I tried version 1.0 beta4 and 1.1
The MQTT Broker used: FlashMQ from Victron VenusOS
Same issue here. MQTT works with mosquitto_sub. Grafana's connection is successfull, but no data is resceived.
Hello,
It is a pity that no support answer is provided. Seems simple scenarios and would be helpful to many people apparently.
Can someone help to fix that ?
Thanks a lot !
Same problem here
Hi,
Since they added support for more dynamic topic features (variables, wildcards, etc.), I've been using this plugin extensively with great success.
That said, currently, all my data are time-series using JSON as the message format, containing a timestamp and at least one variable I want to display. This has been working flawlessly so far.
Did you try checking the table view first to see if any data is being received?
This is typically how I start debugging before transforming the data to display it the way I want.
I'm able to use repeated panels, display multiple values in a single graph, and utilize many other advanced features without any issues—but I did have to tweak the JSON format to make it work properly.
Can you show me the raw data you're using in those topics? Do you have the flexibility to transform that data before sending it to those topics?
Let me know. Bye!
Hi, currently nothing is showing in the table view/ raw data view in Grafana. The topics are created in Node-Red so we have flexibility adapt the data.
Could you share an example of your JSON formated topics ?
Thanks a lot !
Sorry for the delay, lots of work to do. A simple JSON for temperature should work simply:
{
"timestamp":"2024-08-25T20:42:27.357133219Z",
"device":"sc01",
"temperature":72
}
In Table view:
As time-series:
Hello,
I'm using MQTT plugin version 1.0.0-beta.4 on Grafana 10.4.0.
The datasource is connected to the MQTT broker (Node-Red broker)
On the dashboard panel, the topic name is set :
But not data is showing.
Using MQTT Explorer, the same topic can be viewed without issue ;
None of the topics where able to show data.
What could be the problem ?
Thank you in advance for your support !
Best Regards,