Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
cours:ensitunis:accueil [2017/01/09 10:57] tigli [Agenda] |
cours:ensitunis:accueil [2017/01/11 11:24] tigli [Ambient Intelligence] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Research Seminars : Ambient Intelligence ... From IoT to CPS ====== | + | ====== Ambient Intelligence ====== |
===== Agenda ===== | ===== Agenda ===== | ||
Ligne 11: | Ligne 11: | ||
* Session 5 : Challenge 3 : Interopérabilité Sémantique des Objets Connectés | * Session 5 : Challenge 3 : Interopérabilité Sémantique des Objets Connectés | ||
+ | ===== Planning ===== | ||
^ ^ Mardi ^ Mercredi ^ Jeudi ^ | ^ ^ Mardi ^ Mercredi ^ Jeudi ^ | ||
Ligne 21: | Ligne 22: | ||
|13h00-14h30 | Intelligence Ambiante | Séminaire | Intelligence Ambiante | | |13h00-14h30 | Intelligence Ambiante | Séminaire | Intelligence Ambiante | | ||
| | Jean-Yves Tigli | Jean-Yves Tigli | Jean-Yves Tigli | | | | Jean-Yves Tigli | Jean-Yves Tigli | Jean-Yves Tigli | | ||
- | | |Salle 14 | |Salle 14 | | + | | | Salle 14 | | Salle 14 | |
|14h45-16h15 | Jean-Yves Tigli | Jean-Yves Tigli | Jean-Yves Tigli (EXAM) | | |14h45-16h15 | Jean-Yves Tigli | Jean-Yves Tigli | Jean-Yves Tigli (EXAM) | | ||
| | Salle 14 | Salle 14 | Salle 14 | | | | Salle 14 | Salle 14 | Salle 14 | | ||
Ligne 27: | Ligne 28: | ||
===== Research Talk ===== | ===== Research Talk ===== | ||
+ | ==== Jean-Yves Tigli ==== | ||
- | ===== Supports ===== | + | ==== Talk abstract ==== |
- | ===== References ===== | ||
- | ===== IAm Lab ===== | + | ===== Ambient Intelligence ===== |
- | ==== Middleware for IoT : MQTT Lab === | + | 1.1 Introduction to Ambient Intelligence |
- | === MQTT API and languages === | + | {{:cours:ensitunis:2016_2017_iot_lecture_1_internet_of_things_introduction.pdf|Introduction to IAm}} |
- | //Todo JY// | + | * Technological context in Software Industry for Ambient Computing |
+ | * Scientific Challenges for Software Research in Ambient Computing | ||
- | === MQTT Brokers === | + | 1.2 What does Mean Middleware ? |
- | //Todo JY// | + | |
- | === Arduino MQTT Publishers and Subscribers === | + | {{:cours:ensitunis:ensi_remminder_classical_middleware_and_communication_models.pdf| Classical Middleware and communication patterns}} |
- | //Todo JY// | + | |
- | === OpenHab MQTT Broker === | + | 2.1 Communication level : MQTT |
+ | {{:cours:ensitunis:ensi_mqtt_lecture_.pdf| Introduction to MQTT Middleware}} | ||
- | == OpenHab distribution and installation manual for PC == | + | 2.2 (tutorial) Applications for IoT and Sensors networks |
- | {{:cours:ensitunis:installation_openhab_demo.docx|Word document listing the installation steps}} | + | |
- | == List of connected Devices for MQTT on OpenHab == | + | {{:cours:ensitunis:tutorial_mqtt_ensi_2017.pdf|MQTT Tutorial}} |
- | This particular setup of OpenHAB supports several ZWave devices: | + | 3.1 Service oriented level : WoT and WSD |
- | * Fibaro button | + | |
- | * Smart plug | + | |
- | * Temperature/Light/Door sensor | + | |
- | * Temperature/Motion sensor | + | |
- | And EnOcean devices: | + | |
- | * Switches | + | |
- | * Smart plug | + | |
- | But thanks to OpenHAB, many devices can be supported with little to no pain. | + | {{:cours:ensitunis:ensi_lecture_find_layer_service_oriented_middleware_for_iam.pdf|Web Services en IAm}} |
- | == Sample code and tests == | + | 3.2 Composition Dynamics |
- | 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. | + | {{:cours:ensitunis:lecture_ensi_slides_composition.pdf| Composition de WSD}} |
- | * To subscribe to state updates for a certain item:\\ | + | 4.1 Tutorial Composition dynamique de WSD (WComp) |
- | ''mosquitto_sub -t openhab/{item}/state [-h {host} -p {port}]''\\ | + | |
- | * To subscribe to state updates for a certain item, with server generated timestamps:\\ | + | |
- | ''mosquitto_sub -t openhab/{item} [-h {host} -p {port}]''\\ | + | |
- | * To publish commands to an item:\\ | + | |
- | ''mosquitto_pub -t openhab/{item}/commandssub [-h {host} -p {port}] [-l | -m [ON | OFF]]'' \\ | + | |
- | //(''-l'' reads messages | + | {{:cours:ensitunis:tutorial_ensi_web_service_for_device_and_dynamic_composition.pdf|Recherche, Découverte, Composition Dynamiques en utilisant WComp}} |
- | from the console window, ''-m'' sends the message immediately)// | + | |
- | === Sample MQTT bean code === | + | 4.2 Semantic Interoperability level : web semantic to match provided and required WoT and WSD |
- | //Todo JY// | + | 5.1 Semantic Interoperability level : web semantic to match provided and required WoT and WSD |
- | + | 5.2 Exam | |
- | === 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 == | + | |
- | * Plug the base unit into the mains and an RJ45 port connected to the internet | + | |
- | * Open [[http://eu.e-sylife.com/|the web portal]] and register an account with the platform using the SN and security code found on the sticker on the base unit | + | |
- | * After a minute the base unit should synchronize and its sensors will be available in web portal's dashboard | + | |
- | + | ||
- | == Installing sensor modules == | + | |
- | * Open the web portal to the [[http://eu.e-sylife.com/en/pages/profil-modules/|module configuration page]] | + | |
- | * Click "Add a sensor" | + | |
- | * Input the module number and security number, both can be found on the sticker on the unit | + | |
- | * After waiting for about a minute, turn on the module by pulling the plastic tab on its backside, as close to the base unit as possible | + | |
- | * The module should start reporting data | + | |
- | + | ||
- | == (Optional) Setting up the dashboard == | + | |
- | * Open the web portal to the [[http://eu.e-sylife.com/en/pages/params/|parameter page]] | + | |
- | * For each sensor, input a name and check the configuration (units, modes) | + | |
- | + | ||
- | === Documentation on HDSN Web site for data access === | + | |
- | Accessing the data programmatically can be done using the manufacturer-supplied REST API.\\ | + | |
- | [[http://api.e-sylife.com/|Online API reference]] | + | |
- | + | ||
- | === Documentation and sample codes on HDSN Web services access to Data === | + | |
- | Example REST requests in [[https://www.getpostman.com/docs/introduction|Postman]] format to get data from a sensor using the API: {{:cours:ensitunis:hdsn_postman.zip|}} | + | |
- | * In Postman, click Import at the top left | + | |
- | * Drop both the environment and collection files into the window, click import | + | |
- | * Open the HDSN collection from the left column, then open the first request | + | |
- | * Select the HDSN environment in the top right drop down | + | |
- | * Select the "pre-request script" tab and replace the values with your identification data: APIUsername and APIPassword are for your HDSN **developer** account, and username and password are for your HDSN **dashboard** account. | + | |
- | * Then use the blue "Send" button to send the request. | + | |
- | * Sending the requests in order will complete a full path from developer authentication to retrieving value for a sensor. | + | |
- | + | ||
- | ===== Semantic Web of Things ====== | + | |
- | + | ||
- | ==== Lecture SWoT ==== | + | |
- | + | ||
- | ==== Tutorial SWoT ==== | + | |
- | + | ||
- | === Tools === | + | |
- | + | ||
- | == Protégé : Ontology Design == | + | |
- | + | ||
- | [[https://fr.wikipedia.org/wiki/Prot%C3%A9g%C3%A9_(logiciel)|Wikipedia Protégé]] | + | |
- | + | ||
- | [[http://protege.stanford.edu/|Site Officiel Protégé]] | + | |
- | + | ||
- | Installation de Protégé | + | |
- | + | ||
- | Configuration d'Installation : Pellet Reasoner Plugin | + | |
===== Tutorials Network Infrastructure ===== | ===== Tutorials Network Infrastructure ===== | ||
Ligne 153: | Ligne 81: | ||
+ | ====== ARCHIVES ===== | ||
+ | [[Draft Materials]] |