New MeteorJS demos for MQTT and Espruino
July 17, 2014
In the last few days I created two more demo applications on the incredible Meteor platform.
MQTT DashboardThe first application is an MQTT dashboard (client), which connects to a configured broker and receives the messages for a specific topic. While the messages on an MQTT broker are non-permanent, I'm persisting the messages for some minutes (and purge them afterwards). The last 10 messages are being sent to the dashboard for displaying them. Also, there's an option to publish messages under a topic to the broker.
See the sources at GitHub: https://github.com/dasniko/meteor-mqtt
See the sources at GitHub: https://github.com/dasniko/meteor-espruino
Both applications required some asynchronous programming (and thinking), which was not always trivial, because some data propagation has to be done in completely separate calls from the originated call. But thanks to the Meteor Deps options, this became a no-brainer. :-)
Please remember, that these are just demo applications, which I created as a kind of proof-of-concept for other, real-word challenges.