geeks-r-us / mqtt-panel

Simple Grafana panel that allows to communicate with a mqtt server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT Panel

controls CircleCI

A panel to enable grafana to fulfil simple control tasks via MQTT.

Currently it contains 3 types of control:

controls

Each type can connect to a mqtt server and subscribe and publish to a topic.

server

The panel is able to pick values from an json encoded topic by the use of JSONata query language

Limitations

Due to the MQTT client runs in the browser it can only establish mqtt connection over websockets and can only connect to servers reachable by your browser.

Testing

If you like to test this plugin the easies way is to load it into a grafana docker container.

docker run -d -p 3000:3000 -e "GF_INSTALL_PLUGINS=https://github.com/geeks-r-us/mqtt-panel/releases/download/v1.0.7/geeksrus-mqtt-panel-1.0.7.zip;mqtt-panel" --name=grafana grafana/grafana

Open http://localhost:3000 in your browser

This is my first attempt to write a grafana panel so every issue report, comment or PR are welcome.

Support

If you find this module useful please support me with a cup of coffee

About

Simple Grafana panel that allows to communicate with a mqtt server

License:Apache License 2.0


Languages

Language:TypeScript 47.0%Language:HTML 43.2%Language:CSS 7.0%Language:JavaScript 2.8%