A favorite in Bluemix prototyping is the Node-RED interface, a wiring tool that simplifies programming by turning common functions into nodes that can be added, removed, and connected at will. In particular, Node-RED is a rather magical interface that simplifies MQTT, a publish-suscribe messaging protocol, in such a way that just about anyone can connect a device without much effort. What does this mean? I can send data from a device with a few simple lines of code.
Tag Archives: MQTT
Sending and Receiving Data from the IBM IoT Nodes in Node-RED with the Intel Edison Using the Intel Galileo Quickstart Code
The IBM Bluemix Internet of Things (IoT) service provides a simple but powerful capability to interconnect different kinds of devices and applications all over the world. What makes this possible? The secret behind the Bluemix IoT service is MQTT, the Message Queue Telemetry Transport. In this tutorial, you’ll see how MQTT works and how you can easily build applications using the IoT service.
Meshblu is an open source machine-to-machine instant messaging network and API. Our API is available on HTTP REST, realtime Web Sockets via RPC (remote procedure calls), MQTT, and CoAP. We seamlessly bridge all of these protocols. For instance, an MQTT device can communicate with any CoAP or HTTP or WebSocket connected device on Meshblu.
Meshblu auto-assigns 36 character UUIDs and secret tokens to each registered device connected to the network. These device “credentials” are used to authenticate with Meshblu and maintain your device’s JSON description in the device directory.
Meshblu allows you to discover/query devices such as drones, hue light bulbs, weemos, insteons, raspberry pis, arduinos, server nodes, etc. that meet your criteria and send IM messages to 1 or all devices.
You can also subscribe to messages being sent to/from devices and their sensor activities.
With the new features introduced with HTML5 you can now even build websites which behave like a native desktop applications and work on tablets and smartphones the same way they do on a desktop computer. So using a browser like any app on any other mobile device is a very tempting idea. A browser is installed on nearly every desktop computer/laptop/tablet/smartphone around the world. And honestly wouldn’t it be nice if you could use one standardized protocol to get real push messages on all types of devices, browsers, tablets, smartphones, embedded devices, sensors, etc. The protocol you are looking for is MQTT and it is very simple and quick to implement.
Voice controlling an Zumo Robot for Arduino using NodeJS, MQTT, WebSockets, Johnny-Five and the Google Speech API
The software for Version 1.0 of the Robot can be found here. The is a stable release of the Robot is based upon an Arduino Uno, Zumo Shield and JCY-MY Bluetooth module.
Version 2.0 of the Robot is now under development. This utilises a Raspberry PI, and adds WiFi and a USB Web Camera to the mix. Note that the contents of the Master Branch will be unstable during the development process.
In a professional Internet of Things environment the availability and the scalability of your services is a key factor you need to take care of. For MQTT environments this means your broker needs a stable connection, always-on functionality and the capability of updating your private cloud infrastructure while it’s running in production. In this article we’ll share step by step all we’ve learned on building such an environment for Lelylan.
Want to build an Internet of Things (IoT) application on IBM Bluemix™? It’s not as difficult as you might think. Most IoT apps consist of three pieces: a connectedthing, an application to view and manage the thing, and analytics to detect events triggered by the thing. TheInternet of Things service on Bluemix — IoT Foundation — makes it trivially easy to connect a thing to applications and analytics services. To demonstrate how easy it is, I built an IoT starter kit for connected cars. The Connected Vehicle kit consists of three pieces:
- A vehicle simulator (a Node.js app)
- HTML5 applications to view and manage vehicles on a map
- The Geospatial Analytics service on Bluemix, and Node-RED for analytics
This tutorial guides you through configuring and deploying the Connected Vehicle starter kit on Bluemix and building analytics with the Geospatial Analytics service and Node-RED.
“The Connected Vehicle application uses IoT Foundation for near-real-time messaging between simulated vehicles and the Map and Tester apps”