OpenMarine

Full Version: Grafana and SignalK
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone point me to a good descriptive example or even a tutorial for using Grafana with SignalK data?

TIA
I've found "Boating with the Baileys" Youtube videos very helpful for Open Plotter, and setting up KIP, InfluxDB, Grafana, Signal K.

Boating with the Baileys
I've never found a good tutorial for either of the systems (even less for the combination of both), but you can find several pieces here and there and end up having something decent. Certainly you can get some good tips from Baileys' youtube channel

As a quick start though:

1) Make sure you have installed and enabled signalk-to-influxdb plugin 

[attachment=1515]

2) In Grafana home page (localhost:3001) go to create new Dashboard. In this screen you will be able to organize your new panels once you add some. Click on "+ Add new panel". You'll land on the "Edit panel" page.

[attachment=1516]

3) On the bottom side of the page you have the "Query" tab, where you can make the database query for the data you want to show. By default after installing the signal k plugin, you should already have InfluxDB as datasource. So you only need to select which data you want to display. In this picture I choose environment.outside.pressure path. Just click on "select measurement" and look for it.

4) On the right side, you have a lot of options. P.e.: in Vizualization section you can choose the type of graph. Time series is cool for barometric pressure, but you'll want a gauge for speed, for example. Or just stat for numeric values. On the top bar, you can also change the time range to display.

[attachment=1519]

5) And lastly, after you save your panel and go back to the dashboard page, you can click on the arrow next to the panel title, and select "Share". That will promp a popup with the code you need to show this dashboard in another website (like KIP).

6) A couple KIP examples (battery one is copied from Boating with the bailleys actually Wink ):

[attachment=1521]
[attachment=1520]

Obviously this is the very basics, but don't hesitate to ask more, the tool is quite powerful.
That was an awesome summary. Thank you! It looks like I have some work to do.
Finally had that "ah ha" moment with Grafana, and I have it working. Thanks again.
Great! I had that moment myself a couple weeks ago, and now is just about investigating every button and tooltip to get the graphs you want.