Freeboard / freeboard

A damn-sexy, open source real-time dashboard builder for IOT and other web mashups. A free open-source alternative to Geckoboard.
http://freeboard.io
MIT License
6.43k stars 1.19k forks source link

MQTT datasource #272

Open iw2lsi opened 3 years ago

iw2lsi commented 3 years ago

Hi,

I'm in trouble trying to connect to my plain (non-json) MQTT datasources... I'm sure the broker (mosquitto) is up and reachable on port 1883... but the "last updated" field is always reporting"never"...

I've tested both the default MQTT datasource and paho-mqtt (https://rawgit.com/benjaminchodroff/freeboard-mqtt/paho-mqtt-default/paho.mqtt.plugin.js) but with the same results.

freeboard

BTW: my devices are publishing on some topics like:

"tele/me1234/211df8/version" "tele/me1234/211df8/uptime"

any hints ?

    Giampaolo
mpeddi commented 3 years ago

The plugin uses WSS as the protocol, but Mosquito may not support that.

Use the inspect tool built into chrome to see some errors.

Feel free to reach out to the creator of the datasource; details are in the datasource setup.