DRAFT MATERIALS

Supports

References

IAm Lab

Middleware for IoT : MQTT Lab

MQTT API and languages

Todo JY

MQTT Brokers

Todo JY

Arduino MQTT Publishers and Subscribers

Todo JY

OpenHab MQTT Broker

OpenHab distribution and installation manual for PC

Word document listing the installation steps

List of connected Devices for MQTT on OpenHab

This particular setup of OpenHAB supports several ZWave devices:

And EnOcean devices:

But thanks to OpenHAB, many devices can be supported with little to no pain.

Sample code and tests

After installing Mosquitto, OpenHAB and the bindings, you can test the setup with a few simple commands. (maybe add a defined item to test)

Note that if the server is running on localhost:1883 parameters -h and -p can be omitted.

mosquitto_sub -t openhab/{item}/state [-h {host} -p {port}]

mosquitto_sub -t openhab/{item} [-h {host} -p {port}]

mosquitto_pub -t openhab/{item}/commandssub [-h {host} -p {port}] [-l | -m [ON | OFF]]

(-l reads messages from the console window, -m sends the message immediately)

Sample MQTT bean code

Todo JY

Rasbperry MQTT broker with Jeedom MQTT Broker

stéph ?

Middleware for IoT : Web of Things

Installation and Description of HDSN Kit

The HDSN kit is a commercial system designed to collect data from an environment using an array of sensors connected to a base.
Among the sensors available are temperature sensors, energy sensors, air quality sensors or wind speed sensors.
This kit uploads data to the manufacturer's cloud-based system every 20 minutes, and that can data can be retrieved using the supplied API.

Installing the system
Installing sensor modules
(Optional) Setting up the dashboard

Documentation on HDSN Web site for data access

Accessing the data programmatically can be done using the manufacturer-supplied REST API.
Online API reference

Documentation and sample codes on HDSN Web services access to Data

Example REST requests in Postman format to get data from a sensor using the API: hdsn_postman.zip

Semantic Web of Things

Lecture SWoT

Tutorial SWoT

Tools

Protégé : Ontology Design

Wikipedia Protégé

Site Officiel Protégé

Installation de Protégé

Configuration d'Installation : Pellet Reasoner Plugin