Projet ENSIMAG 3A ILBI Infrastructure Logicielle pour les Bâtiments Intelligents Didier Donsez Vivien Quema Grenoble INP Université Joseph Fourier Prenom.Nom@imag.fr From Processing.org 1
Sommaire Introduction Projet Expérimentation Technologies à mettre en oeuvre Calendrier Rendu 2
Projet ENSIMAG 3A ILBI Infrastructure Logicielle pour les Bâtiments Intelligents Didier Donsez Vivien Quema Grenoble INP Université Joseph Fourier Prenom.Nom@imag.fr From Processing.org 3
Petit rappel Échelle logarithmique Niveau de compétence de l usager moyen Ingénieur Cadre Teen Nombre d usagers (humains) Ménagère de moins de 50 ans Senior Nombre de machines Bébé temps 4
L'Internet des Choses : la Vision Mark Weiser 1991 The most profound technologies are those thatdisappear. They weave themselves into thefabric of everyday life until they areindistinguishable from it Kevin Ashton,1999 The problem is, people have limited time, attention and accuracy all of which means they are not very good at capturing data about things in the real world. And that's a big deal. We're physical, and so is our environment If we had computers that knew everything there was to know about things using data they gathered without any help from us we would be able to track and count everything, and greatly reduce waste, loss and cost. 5
L'Internet des Choses (IoT) RFID / NFC phones SCADA sensor nodes robot Instrumentation Communication Médiation Prise de Décision Réaction Exploration 6
IoT Roadmap 7
Les Services Machine-à-Machine (M2M): Nouvelle vague du "e-business" : Services à valeur ajoutée basés sur les dispositifs enfouies Intégration sécurisée et agile Extract Transform Load Environnement Physique Infrastructure IT Action Anal y se des environnements physiques / opérationnels et des infrastructures IT Support "temps réel" (just-in-time) à la prise de décision Intégration avec d'autres contextes d'entreprise Création de nouveaux services Création de nouveaux modèles économiques 8
Habitat Intelligent (Smart Building) Objectif : Sécurité, Sureté, Energie, Confort, Assistance,... Exemple : Canopea (vainqueur Solar Decathlon 2012) By courtesy GE2Lab 9
Le Projet 10
Projet 1) Mise en œuvre des solutions logicielles existantes OpenHAB sur Raspberry Pi m2m.eclipse.org sur Cloud Azure Avec des capteurs/actionneurs pour l'habitat COTS : Capteurs/Actionneurs enocean DIY : Arduino + transceiver NRF24L01 Webcam (surveillance) Téléphones Android NFC PhoneGap 11
Matériel (par groupe) 1 téléphone NFC Orange/Intel 4 Arduino Uno; 2 plaques de prototypage ; 1 capteurs de pression ; 1 carte de 4 relais 5 volts ; 4 LED 12V, 3 modules NRF24 (en commande) 1 MSP 430 : carte micro-contrôleur 1 Raspberry Pi ; 1 Dongle wifi; 1 clavier K400; 1 webcam USB ; 1 Kit ESK300 EnOcean (en commande) 13
Environnement logiciel et Technologies à mettre en oeuvre --> Forge --> Eclipse IDE --> IDE Arduino + IDE Energia / MSP430 --> OpenHAB (plateforme Domotique) --> m2m.eclipse.org (Serveur MQTT, stockage données capteurs/évenements) --> Hébergement Cloud Azure --> JMX pour l'administration à distance de OpenHAB --> VisualVM plugin pour la console d'administration OpenHAB (Netbeans IDE) --> PhoneGap pour l'ihm usager Android/iPhone/Windows Phone (plugin Eclipse) --> Media Center UPnP AV (XMBC) --> Bonjour (DNS-SD, mdns) : «plug and play» --> OpenCV (image stream processing) --> Gstreamer (video/audio streaming) --> Google Calendar Et d'autres technologies que vous voudriez ajouter 14
Technologies 15
Arduino (http://arduino.cc/) Micro-controleur AVR8 6 Entrées Analogiques 11 IO Digitales (0-1) dont 6 O PWM RX / TX Capteurs / Actionneurs DIY IDE Arduino KISS > 10000 sketchs / snippets MSP430 uc 16 bits Energia IDE 16
enocean Communication RF très basse consommation Capteur sans batterie Energy Harvesting Contacteur de porte, poignée de porte, thermomètre,... 17
OpenHAB https://code.google.com/p/openhab open Home Automation Bus (openhab) Universal integration platform for home automation things based on OSGi Java (Equinox OSGi) Event bus DSL for ECA and HCI 18
OpenHAB Demo http://demo.openhab.org:8080/greent/ 19
20
OpenHAB Event Bus 21
Projet Intergiciel M2M & IoT m2m.eclipse.org MQTT, OMA DM, REST, OSGi,... 22
Calendrier - Comprendre les différentes techno (--> 3 semaines) - Cahier des charges de l'application (--> 1 semaine) -- à rendre le vendredi précédent la séance 4 - Apprendre les différentes techno (--> 2 semaines) - Réalisation (--> temps restant) - Démonstration (20 janvier) 1ère séance : présentation globale + composition d'équipes + remise du matériel 2ème séance : Arduino / MSP 430 3ème séance : OSGI + Equinox + ipojo 23
Formations prévues Cours et tutoriel Arduino Cours et tutoriel OSGi 24
Bonus : + 1 point Maquette de maison instrumentée Découpeuse Laser Trotec (fabmstic @ MJK) Plans SVG à fournir (BoxMaker, OO, Inscape, Shetchup, ) pour MDF 3mm (meubles) et MDF 5mm (murs) Contact : amr.alzouhri-alyafi@imag.fr Exemple : 25
Rendu - Cahier des charges (qui contient les diagrammes UML) - Code source - Wiki : journal d'activité, documentation technique, manuel utilisateur - Poster A0 (sera imprimé par Ensimag) - Flyer (A4 en trois volet) - Vidéo / screencast de démonstration - Slides de présentation - Maquette en MDF (bonus) A rédiger/déposer sur le wiki http://fablab.ensimag.fr 26
Q&A 27
Lectures IoT Comic Book A Survey of Middleware for Internet of Things http://dx.doi.org/10.1016/j.comcom.2011.11.003 Vision and Challenges for Realising the Internet of Things (March 2010) http://link.springer.com/chapter/10.1007/978-3-642-21937-5_27 Combining heterogeneous service technologies for building an Internet of Things middleware http://www.alexandra.dk/uk/services/publications/documents/iot_comic_book.pdf http://www.internet-of-things-research.eu/pdf/iot_clusterbook_march_2010.pdf Key Challenges in Cloud Computing to Enable Future Internet of Things http://fr.slideshare.net/llorente/challenges-in-cloud-computing-to-enable-future-internet-of-things-v03 28