Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Plugin allows visualizing parameters of the flespi devices on convenient and flexible Grafana dashboards.

License

Notifications You must be signed in to change notification settings

flespi-software/flespi-devices-grafana-datasource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] flespi device datasource

The flespi-devices-grafana-datasource is not working with grafana 7+

For grafana 10+ please use flespi-parameters-datasource plugin.

Logo

Plugin allows to visualize parameters of flespi devices.

Installation

To install this plugin using the grafana-cli tool:

sudo grafana-cli --pluginUrl https://github.com/flespi-software/flespi-devices-grafana-datasource/archive/master.zip plugins install flespi-devices-datasource
sudo service grafana-server restart

If this command doesn't work you can manually copy flespi-devices-datasource directory into grafana plugins directory and restart grafana-server. By default plugins directory is: /var/lib/grafana/plugins To check plugins directory in Grafana interface open: Left-upper corner menubar toggle > Configuration > Server Admin > Settings > paths/plugins

To remove plugin run:

sudo grafana-cli plugins remove flespi-devices-datasource
sudo service grafana-server restart

When (If) the plugin will be published on Grafana.net, installation will be done by the command:

sudo grafana-cli plugins install flespi-devices-datasource
sudo service grafana-server restart

Datasource requires the following parameters:

Param Example Value
flespi uri https://flespi.io
flespi token XXXX

Plugin supports template variables. The following queries can be used to create variable:

Query Description
devices fetch all devices available for given account (token)
parameters fetch numeric parameters of devices

Dev setup

This plugin requires node 6.10.0

sudo npm install -g yarn

yarn install

npm run build

To update dist automatically during development run:

grunt watch

Changelog

1.0.0 Initial implementation

About

Plugin allows visualizing parameters of the flespi devices on convenient and flexible Grafana dashboards.

Resources

License

Stars

Watchers

Forks