8000 GitHub - jpmens/mqtt-svg-dash: SVG "live" dashboard from MQTT
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jpmens/mqtt-svg-dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt-svg-dash

Subscribe to MQTT, extract JSON from a message and make lights blink on an SVG page.

Pre-requisites

npm install socket.io

Running

  1. Make sure your MQTT server is running and listening on localhost.
  2. Launch ./run.sh which starts the Node socket server
  3. Point your Web browser at your Web server, to .../corp.html. You should see the connection in the terminal window running node.
  4. Start publishing something on MQTT, as per the example in randpub.py

Credits

  • The socket.io example for Node (pusher.js) and some bits of corp.html are by Robert Hekkers

About

SVG "live" dashboard from MQTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0