Giter Site home page Giter Site logo

fcolmenero / mqtt-svg-dash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jpmens/mqtt-svg-dash

0.0 3.0 0.0 223 KB

SVG "live" dashboard from MQTT

Home Page: http://jpmens.net/2013/04/22/live-blinkenlights-dashboard-with-svg/

HTML 18.32% JavaScript 75.86% Python 5.58% Shell 0.24%

mqtt-svg-dash's Introduction

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

mqtt-svg-dash's People

Contributors

jpmens avatar

Watchers

James Cloos avatar Javier Colmenero avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.