/Ruby-MQTT-Intro

A couple of example programs on how to work with the Paho Ruby API for MQTT messaging

Primary LanguageRubyEclipse Public License 1.0EPL-1.0

Ruby-MQTT-Intro

The files in this project are support for a little introductory MQTT video found here:

Introduction to MQTT using the Eclipse Paho Project's Ruby API

The video gives an introduction to MQTT and builds a little distributed weather monitoring application using an Eclipse Mosquitto MQTT broker and the Paho Project's Ruby API.

Installation

The only requirements for these examples are the Eclipse Mosquitto Broker, the Elipse Paho Ruby Gem and a free tier acount on OpenWeatherMap.org

Elipse Mosquitto

Paho Ruby Gem -- Gem installation instructions found on this page

OpenWeatherMap.org -- Click the 'subscribe' button on their API page to gain access to the free tier and an API key.

Resources

MQTT Homepage: http://www.mqtt.org/

MQTT Protocol Specification v3.1.1: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html

Eclipse Paho Project: https://www.eclipse.org/paho/

Eclipse Paho Ruby Gem: https://github.com/eclipse/paho.mqtt.ruby

Eclipse Mosquitto Project: https://mosquitto.org/

AWS IoT Core: https://aws.amazon.com/iot-core/

Openweathermap.org: https://openweathermap.org/