Giter Site home page Giter Site logo

Not working about mqtt-datasource HOT 3 OPEN

gibzwein avatar gibzwein commented on June 12, 2024
Not working

from mqtt-datasource.

Comments (3)

Admiraldr avatar Admiraldr commented on June 12, 2024 1

I have exactly the same issue.
I want to connect to a mosquitto running on another machine in the network.
uri is: tcp://192.168.x.y:1883
Username and password are set correctly. Connection test shows: ok.
Selected in the Dashboard the MQTT Data Source and entered the Topic.

I even cannot receive values this way into the dashboard. Always: no data.
Tried it with numerical and string values. Always the same.

from mqtt-datasource.

spyder0552 avatar spyder0552 commented on June 12, 2024

Same,
Running an Ubuntu VM. Installed Grafana via the instructions on their site. Went to my connections, searched and found the MQTT pluggin, clicked the install on the top right.
I have confirmed that i can see all my MQTT traffic using another app. Just grafana says there is no data.

  1. Install Grafana
  2. Login
  3. Go to Connections.
  4. Add new Connection
  5. Search for MQTT
  6. Click Link in upper right corner to install.
  7. Check for "Build Success" under the Overview tab.
  8. Add new MQTT datasource
  9. specify "tcp://172.25.22.XXX:1883 as address
  10. no credentials (for my install).
  11. click explore data
  12. Enter topic "Advantech/00D0C9E4C8BC" (without the quotes around it).
  13. table on bottom shows 0 series returned

UPDATE - 11/29/23
I kinda have it working.

  1. Make sure your topic is correct. My topic was too vague. Once I used an inspector I could see that the value I wanted to plot was inside an array (json format). So, I had to modify my topic to get down to where the array started.

However, it is buggy. It just does not seem to always want to display the data. I have not figured out what I am clicking yet, but something I am doing suddenly makes it start to display data.

from mqtt-datasource.

Nocccer avatar Nocccer commented on June 12, 2024

Checkout #91

from mqtt-datasource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.