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.
- Run flask server to send all commands directly to flask.
foo@bar:~$ cd Grafana-mqtt-plugin/React_pluginfoo@bar:~$ sudo yarn install / sudo npm installfoo@bar:~$ sudo yarn build / sudo npm run buildfoo@bar:~$ sudo systemctl restart grafana-server.service- Go to http://localhost:3000