Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (19 loc) · 693 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 693 Bytes

mqtt-plugin

A plugin for Grafana to send data over to flask server then to mqtt broker and vice-versa. The react plugin hits the flask server(http request with AXIOS) with state of the device and the server sends the data to mqtt broker. Using flask server is optional you can specify any end point to send the data.

Setup

  • Run flask server to send all commands directly to flask.

Install

foo@bar:~$ cd Grafana-mqtt-plugin/React_plugin
foo@bar:~$ sudo yarn install / sudo npm install
foo@bar:~$ sudo yarn build / sudo npm run build
foo@bar:~$ sudo systemctl restart grafana-server.service