geeks-r-us / mqtt-panel

Simple Grafana panel that allows to communicate with a mqtt server
Apache License 2.0
54 stars 11 forks source link

Support for simple MQTT protocol #22

Open diceit-git opened 3 years ago

diceit-git commented 3 years ago

Enable connection to broker with simple mqtt protocol (default port 1883) for brokers that do not support websocket connection

geeks-r-us commented 3 years ago

With the current browser only plugin this is not possible because browsers do not support connections other than websockets.

But it's on the feature list for the react rewrite

hildogjr commented 3 years ago

@diceit-git, it is use the web page communication under web sockets. If you are using Eclipse-Mosquitto use the follow configuration on the mosquitto.conf file:

# Your default port.
listener 1883
protocol mqtt
require_certificate false

# Web-socket for the Grafana app.
listener 9001
protocol websockets