S.A.R.A.H : Framework de maison connectée 
Octobre 2014 @ Paris 
Jean-Philippe ENCAUSSE 
Créateur de S.A.R.A.H. 
@JpEncausse 
http://blog.encausse.net/
2 
Self 
Actuated 
Residential 
Automated 
Habitat 
EUReKA
3 
Qui suis-je ? 
Développeur, Geek Passionné …
4 
Un choc des titans… 
vs 
Merci @JeremiePat @kifkiflamouche
5 
3 grands piliers du WEB 
10.000 API 
21%
6 
2ème Révolution : Mobile
7 
Responsive Design
8 
Un pied dans le physique 
Battery 
Gamepad 
UserMedia 
NFC 
Geolocation 
Vibrating
9 
…
10 
Do It Yourself !
11 
10 ans plus tard…
12 
Internet of Things
13 
Internet of Things 
Maison 
Gadgets 
Quantified Self 
Domotique
14 
Home Automation 2.0 
SmartThings 
Ninja Sphere 
Mother
15 
Connect things of Internet
16 
Plugin 
exports.action = function(data, callback, config, SARAH) { 
config = config.modules.eedomus; 
var url = config.api_url + '&api_user='+config.api_user 
url +='&periph_id='+data.periphId; 
var request = require('request'); 
request({ 'uri' : url }, function (err, response, body) { 
callback({'tts': 'Je le fais tout de suite'}); 
}); 
} 
http://127.0.0.1:8080/sarah/eedomus?periphId=001
17
18 
S.A.R.A.H. : Démo
19 
Speech 
QRCode 
Gesture 
Calendar 
Flux RSS 
Tags NFC 
HTTP 
HTTP 
HTTP 
HTTP
20 
Une grammaire XML 
<grammar version="1.0" xml:lang="fr-FR" mode="voice" root="ruleMeteo" > 
<rule id=" ruleMeteo" scope="public"> 
<example>Sarah quelle est la météo ?</example> 
<tag>out.action=new Object(); </tag> 
<item weight="2">Sarah</item> 
<one-of> 
<item>quelle est la météo</item> 
<item>Il fait quel temps</item> 
</one-of> 
<one-of> 
<item>aujourd’hui</item> 
<item>demain<tag>out.action.date="3";</tag></item> 
</one-of> 
<tag>out.action._attributes.uri="http://127.0.0.1:8080/sarah/meteo";</</rule> 
</grammar>
21 
Des QRCodes
22 
Des gestures 
<gestures gestureResetTimeout="500"> 
<gesture url="http://127.0.0.1:8080/sarah/gesture?g=7"> 
<component 
firstJoint="WristRight" 
secondJoint="Spine" 
beginningRelationship="RightOf" 
endingRelationship="LeftOf" /> 
</gesture> 
</gestures>
23 
Reconnaissance faciale 
Détection de mouvement Détection d’humeur Détection de la taille Détection du pitch de la voix Position de la tête 
OpenCV
24 
Shall we play a game?
25 
Un portail d’applications
26 
Un moteur de règles
27 
Apprendre des usages 
Poser des questions 
? 
? 
? 
? 
? 
? 
La fenêtre est restée ouverte depuis 15 minutes. 
Pense à sortir les poubelles ce soir. 
Il faut commander des yaourts. 
Cinémagraphe
28 
Et merci aussi à tous les autres !!! 
Janvier 2013 
-200 download / release Janvier 2014 
-2000 download / release 
-1400 membres sur G+ Octobre 2014 
-6000 download / release 
-2300 membres sur G+
29 
Un « MarketPlace » de + 200 plugins 
•Configuration 
•Script 
•Documentation
30 
Un « MarketPlace » de + 200 plugins 
Cisco IBSG predicts there will be 25 billion devices connected to the Internet by 2015 and 50 billion by 2020 
McKinsey forecasts Things’ economic impact will exceed $2,7trillion by 2025
31 
De nombreux usages
32 
Assistant Personnel 
The IoT is removing mundane repetitive tasks enabling more people to do more rewarding tasks and leaving the machines to do the repetitive jobs.
33 
Santé, Senior, Accessibilité 
At age 20, we worry about what others think of us. At age 40, we don't care what they think of us. At age 60, we discover they haven't been thinking of us at all.
34 
Ecologie et Energie 
The best time to plant a tree was 20 years ago. The next best time is today.
35 
Smart Cities 
Cities have the capability of providing something for everybody, only because and only when they are created by everyone.
36 
Ecommerce 
iBeacon: connect people throught technologies.
37 
? 
? 
? 
? 
? 
? 
Questions 
Merci !
38

Sarah : l’Internet des Objets au service de la maison connectée

  • 1.
    S.A.R.A.H : Frameworkde maison connectée Octobre 2014 @ Paris Jean-Philippe ENCAUSSE Créateur de S.A.R.A.H. @JpEncausse http://blog.encausse.net/
  • 2.
    2 Self Actuated Residential Automated Habitat EUReKA
  • 3.
    3 Qui suis-je? Développeur, Geek Passionné …
  • 4.
    4 Un chocdes titans… vs Merci @JeremiePat @kifkiflamouche
  • 5.
    5 3 grandspiliers du WEB 10.000 API 21%
  • 6.
  • 7.
  • 8.
    8 Un pieddans le physique Battery Gamepad UserMedia NFC Geolocation Vibrating
  • 9.
  • 10.
    10 Do ItYourself !
  • 11.
    11 10 ansplus tard…
  • 12.
  • 13.
    13 Internet ofThings Maison Gadgets Quantified Self Domotique
  • 14.
    14 Home Automation2.0 SmartThings Ninja Sphere Mother
  • 15.
    15 Connect thingsof Internet
  • 16.
    16 Plugin exports.action= function(data, callback, config, SARAH) { config = config.modules.eedomus; var url = config.api_url + '&api_user='+config.api_user url +='&periph_id='+data.periphId; var request = require('request'); request({ 'uri' : url }, function (err, response, body) { callback({'tts': 'Je le fais tout de suite'}); }); } http://127.0.0.1:8080/sarah/eedomus?periphId=001
  • 17.
  • 18.
  • 19.
    19 Speech QRCode Gesture Calendar Flux RSS Tags NFC HTTP HTTP HTTP HTTP
  • 20.
    20 Une grammaireXML <grammar version="1.0" xml:lang="fr-FR" mode="voice" root="ruleMeteo" > <rule id=" ruleMeteo" scope="public"> <example>Sarah quelle est la météo ?</example> <tag>out.action=new Object(); </tag> <item weight="2">Sarah</item> <one-of> <item>quelle est la météo</item> <item>Il fait quel temps</item> </one-of> <one-of> <item>aujourd’hui</item> <item>demain<tag>out.action.date="3";</tag></item> </one-of> <tag>out.action._attributes.uri="http://127.0.0.1:8080/sarah/meteo";</</rule> </grammar>
  • 21.
  • 22.
    22 Des gestures <gestures gestureResetTimeout="500"> <gesture url="http://127.0.0.1:8080/sarah/gesture?g=7"> <component firstJoint="WristRight" secondJoint="Spine" beginningRelationship="RightOf" endingRelationship="LeftOf" /> </gesture> </gestures>
  • 23.
    23 Reconnaissance faciale Détection de mouvement Détection d’humeur Détection de la taille Détection du pitch de la voix Position de la tête OpenCV
  • 24.
    24 Shall weplay a game?
  • 25.
    25 Un portaild’applications
  • 26.
    26 Un moteurde règles
  • 27.
    27 Apprendre desusages Poser des questions ? ? ? ? ? ? La fenêtre est restée ouverte depuis 15 minutes. Pense à sortir les poubelles ce soir. Il faut commander des yaourts. Cinémagraphe
  • 28.
    28 Et merciaussi à tous les autres !!! Janvier 2013 -200 download / release Janvier 2014 -2000 download / release -1400 membres sur G+ Octobre 2014 -6000 download / release -2300 membres sur G+
  • 29.
    29 Un «MarketPlace » de + 200 plugins •Configuration •Script •Documentation
  • 30.
    30 Un «MarketPlace » de + 200 plugins Cisco IBSG predicts there will be 25 billion devices connected to the Internet by 2015 and 50 billion by 2020 McKinsey forecasts Things’ economic impact will exceed $2,7trillion by 2025
  • 31.
  • 32.
    32 Assistant Personnel The IoT is removing mundane repetitive tasks enabling more people to do more rewarding tasks and leaving the machines to do the repetitive jobs.
  • 33.
    33 Santé, Senior,Accessibilité At age 20, we worry about what others think of us. At age 40, we don't care what they think of us. At age 60, we discover they haven't been thinking of us at all.
  • 34.
    34 Ecologie etEnergie The best time to plant a tree was 20 years ago. The next best time is today.
  • 35.
    35 Smart Cities Cities have the capability of providing something for everybody, only because and only when they are created by everyone.
  • 36.
    36 Ecommerce iBeacon:connect people throught technologies.
  • 37.
    37 ? ? ? ? ? ? Questions Merci !
  • 38.