Read a topic from MQTT and display the value on a gauge
This uses WSS which provides a WebSocket interface and connects to my MQTT broker:
WSS \
--websocketPort 18883 \
--brokerHost localhost \
--brokerPort 1883
boom.py
publishes a random temperature to my Mosquitto broker every 0.5s.
See it and interact with it here
- Inspired by [Matthew Bordignon] (https://twitter.com/bordignon)
- WSS, a WebSocket to TCP Gateway for MQTT
- Paho JavaScript library
- Build your own Javascript MQTT Web Application
- The HTML5 Canvas port of the SteelSeries component library
- Thanks to Roger Light for setting up the test site.