Plugins 〉FROST SensorThings API Plugin

Data Source
community

FROST SensorThings API Plugin

  • Overview
  • Installation
  • Change log
  • Related content

FROST SensorThings API data source for Grafana

Build Release Marketplace Downloads License

A data source plugin for loading OGC SensorThings API data into Grafana.

NO2 Values in Karlsruhe

Using the Plugin

  1. Click the Gear icon in Grafana to enter the configuration menu, select Plugins, and add FROST SensorThings Plugin
  2. Go back and select Data Sources. Click Add data source, choose FROST SensorThings API Plugin
  3. Enter a name for the datasource, and enter the base URL to a SensorThings API server, e.g. https://airquality-frost.k8s.ilt-dmz.iosb.fraunhofer.de/v1.1/
  4. Add authentication settings if needed and click "Save & Test".
  5. Create a new dashboard, under Dashboards, Browse, New Dashboard.
  6. Add a panel (bar icon with plus on the top right)
  7. Make sure the correct datasource is chosen.
  8. Choose Advanced mode and select the desired cache time. Add your path to the Observations you want to visualize (without the baseURL, but keeping the leading /) e.g. /Datastreams(1)/Observations. It is recommended to order the Observations by phenomenonTime (?$orderby=phenomenonTime).
  9. The fields must be mapped manually to the axes. Select Manually assign fields. For the time axis select Type:time and assign it to $.value[*].phenomenonTime. For the value select Type:number and assign it to $.value[*].result.

Further Documentation

Full documentation for the plugin is available on website. The developer documentation can be found on GitHub.

Contributions

This plugin is based on the JSON API data source for Grafana by Marcus Olsson. It is the successor of the initial Grafana SensorThings Datasource Plugin by LinkSmart.

Installing FROST SensorThings API Plugin on Grafana Cloud:

For more information, visit the docs on plugin installation.

Changelog

Version 0.0.3

  • Updated dependencies
  • Added Signing Plugin for release

Version 0.0.2

  • Updated dependencies
  • Build Plugin for submission

Version 0.0.1

First version of rewritten plugin