Showing posts with label mqtt. Show all posts
Showing posts with label mqtt. Show all posts

2/28/18

Continuing with our Raspberry Pi experiments in today's Wednesday Evening Training

This evening, we continued our labs on MQTT and Node-RED by exchanging temperature and humidity measurements between our Raspberry Pi's. We used Gmail as a message bridge and Bart built a Java MQTT client that we will test in the next session.

To be continued...

Do you want to try yourself? 
Based on measuring with the  DHT11 or DHT22 sensor, a nice place to start reading is https://flows.nodered.org/node/node-red-contrib-dht-sensor. Install this node in your node-RED environment (you might need to download & install the driver), connect it to a timer and debug node and you're off.

#werkenbijcapgemini #lifeatcapgemini #capgemini #wednesdayeveningtraining #raspberrypi #mqtt #node-red #iot








Yessss! We've got our own fixed place on the CoZone board! :)

2/15/18

This week's Wednesday Evening Training: Building distributed applications using a Raspberry Pi, Node-RED & MQTT

This week's Wednesday Evening Training: Building distributed applications using a Raspberry Pi, Node-RED & MQTT

In this session, we continued our exploration of the Raspberry Pi and node-RED, extended with MQTT and Mosquitto.

Node-RED is a flow-based development tool for wiring together hardware devices, APIs and online services as part of the Internet of Things. Node-RED provides a browser-based flow editor, which can be used to create JavaScript functions. MQTT (MQ Telemetry Transport or Message Queuing Telemetry Transport) is an ISO standard (ISO/IEC PRF 20922) publish-subscribe-based messaging protocol. It works on top of the TCP/IP protocol. It is designed for connections with remote locations where a "small code footprint" is required or the network bandwidth is limited. The publish-subscribe messaging pattern requires a message broker, like Mosquitto.

Using Node-RED, MQTT and Mosquitto, distributed applications can be built based on multiple machines (e.g. Raspberry Pi’s) that exchange messages. This offers great opportunities!

Marcel Molenaar has showed us demo's and explained us how the technology worked. We've had plenty of opportunity to experiment with the technology, sending eachother's Pi's messages and turning on and off LED's, beepers and other apparatus. Thanks Marcel!

Wanne see the video? https://www.facebook.com/HansRontheWeb/videos/1611952195508122/

To be continued!

#werkenbijcapgemini #lifeatcapgemini #capgemini #wednesdayeveningtraining #raspberrypi #mqtt #mosquitto #nodered