mqtt-thermometer

by mqttsvg - uploaded on February 10, 2019, 7:38 pm

This SVG uses JavaScript and MQTT to receive temperature from a remote server.



default server: wss://test.mosquitto.org:8081

default topic: mqttsvg/temperatura



Both parameters can be change with URL arguments:



thermometer.svg?server=myserver&topic=mytopic





Graphics from "Termômetro frio thermometer cold" by aristoteles



The file is quite big because the mqtt.js library is included. Anyone know how to dynamically load this library?

Tags
mqtt javascript meter
Safe for Work?
Yes

Comments

0 Comments. Please login to comment or add your own remix.