#GlobalAzure #ViseoSpirit
Microsoft Azure#GlobalAzure #ViseoSpirit
Tout commence par une idée…
Microsoft Azure#GlobalAzure #ViseoSpirit
3
Microsoft Azure#GlobalAzure #ViseoSpirit
1. Une idée
2. Un pitch
3. Une équipe
4. Des rôles
5. Du code!
Un Hackaton, c’est quoi?
4
Seulement 2 jours!
Microsoft Azure#GlobalAzure #ViseoSpirit
Microsoft Azure#GlobalAzure #ViseoSpirit
48h plus tard…
6
ça brille!
Microsoft Azure#GlobalAzure #ViseoSpirit
• Résultat fonctionnel
– Aucun capteur intégré
– Fonctionne
– Latence faible
– Connexion non-fiable
– Communication uni-directionnelle (pas de notification côté
mobile)
– Code….. « sale » , tout est codé en dur
48h plus tard…
7
Microsoft Azure#GlobalAzure #ViseoSpirit
• Résultat fonctionnel
Encore beaucoup de travail pour
arrivé au produit fini!
48h plus tard…
8
Microsoft Azure#GlobalAzure #ViseoSpirit
Et maintenant?
9
Appli mobile
Hardware
Cloud
Design objet
Business
Balloons
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’est-ce qui reste à faire?
– Design
• Faire un objet qui s’intégre chez +60ans
• Doit plaire aux petits enfants
• Alliance entre “modernité” et “tradition”
• Choix forme, matériaux
• Intégration des composants elec. & mécaniques
(interaction “réponse”)
Et maintenant?
10
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’est-ce qui reste à faire?
– Business
• Créer le discours commercial
• Markéter l’offre (cible?)
• Quel type de capteur intégrer?
Et maintenant?
11
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’est-ce qui reste à faire?
– Hardware
• Intégration capteurs
• Changement carte
• Réduction taillle?
• Changement système d’éclairage?
Et maintenant?
12
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’est-ce qui reste à faire?
– Software
• Refaire partie cloud
• Refaire appli mobile pour gérer notif bi-directionnelle
• Refaire partie MCU
Et maintenant?
13
CONCLUSION : TOUT REFAIRE
Microsoft Azure#GlobalAzure #ViseoSpirit
Contrainte
14
L’équipe
Moi
Microsoft Azure#GlobalAzure #ViseoSpirit
Les échéances
15
FINALEHACKATON TECH DAYS
DEMO
FONCTIONNELLE
+10j +45j +60j
Microsoft Azure#GlobalAzure #ViseoSpirit
16
Et maintenant,
“y’a pu qu’à”!
Microsoft Azure#GlobalAzure #ViseoSpirit
Et maintenant?
17
Appli mobile
Hardware
Cloud
Design objet
Business
Balloons
Microsoft Azure#GlobalAzure #ViseoSpirit
• Choix des capteurs Penser le hardware
AVEC discours commercial
– Ex: Ne pas traiter « l’urgence »
• Ex. détecteur de fumée, chute de personne
– + Complexe (ex: fiabilité)
– + grande responsabilité (que faire si problème?)
Considérations
18
Microsoft Azure#GlobalAzure #ViseoSpirit
• Positionnement?
Considérations
19
Emotionnel
Fonctionnel
Urgence Bien-être
Balloons
Bracelet connectéDétecteur de fumée
Microsoft Azure#GlobalAzure #ViseoSpirit
• Modèle économique
Considérations
20
Vente directe
objet
B2C
• Vente objet
• Analyse/vente
data
B2B
• ETHIQUE
• VIE PRIVEE
Microsoft Azure#GlobalAzure #ViseoSpirit
• Choix technologie peut imposer choix
business
Ex : Connectivité
Abonnement? Inclus?
Considérations
21
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’en est-il aujourd’hui?
– Modèle B2C local
• + simple
• distrib limité
• tests end-user
– Puis, recherche distributeur
Solutions retenues
22
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’en est-il aujourd’hui?
– Choix de vendre un produit « clé en main » (zero config)
– Question de distribution data reste en suspens
Idées = médical, assurances, maisons de retraite
Comment les trouver/contacter?
Solutions retenues
23
Microsoft Azure#GlobalAzure #ViseoSpirit
Et maintenant?
24
Appli mobile
Hardware
Cloud
Design objet
Business
Balloons
Microsoft Azure#GlobalAzure #ViseoSpirit
Considérations métaphysiques
25
?
Microsoft Azure#GlobalAzure #ViseoSpirit
Cube ou sphère?
Considérations métaphysiques
26
Microsoft Azure#GlobalAzure #ViseoSpirit
• Système mécanique
• Objet autonome ou branché?
Considérations
27
• Choix des matériaux
• Verre? Plastique roto-moulé? Pourquoi?
• Socle métal? bois? Lequel?
• Eclairage constant ou juste sur reception pensée?
 choix marketing : cible (personnes agées) vont-elles accepter un objet allumé tout
le temps?
 Détermine hardware
Microsoft Azure#GlobalAzure #ViseoSpirit
• Système mécanique
• Objet branché
Solution retenue
28
• Socle bois + bulbe plastique semi-opaque
• Eclairage constant
Microsoft Azure#GlobalAzure #ViseoSpirit
29
Microsoft Azure#GlobalAzure #ViseoSpirit
Et maintenant?
30
Appli mobile
Hardware
Cloud
Design objet
Business
Balloons
Microsoft Azure#GlobalAzure #ViseoSpirit
• Quel MCU?
– Ex : Yun = non stable, changer pour Intel?
• Quels capteurs? Comment les intégrer?
• LED : que choisir?
Considérations techniques
31
Microsoft Azure#GlobalAzure #ViseoSpirit
• Système d’éclairage
Et maintenant?
32
Plusieurs petites 1 seule puissante
Microsoft Azure#GlobalAzure #ViseoSpirit
• Système d’éclairage
Et maintenant?
33
« Fait main » « Intégré »
- maitrise de bout en bout de la chaine
- facilement reparable
- amelioration des connaissances
- pas dependant des soudures
- moins long à intégrer/programmer
- materiel “propre”
- normes de sécurité
Microsoft Azure#GlobalAzure #ViseoSpirit
• Quantité de données ( determine archi soft.)
• Latence (machine + réseau)
• Connectivité
– Les solutions techniques
– Savoir s’adapter au grand public (ex: personnes agées)
• Ex : Wifi = impossible
Considérations techniques
34
Microsoft Azure#GlobalAzure #ViseoSpirit
Connectivité
35
Facilité de
configuration
Internet à
domicile
Pricing
Ethernet + - fixe
Wifi - - fixe
GSM/3G + + abonnement
SIGFOX ? + abonnement
Microsoft Azure#GlobalAzure #ViseoSpirit
Connectivité
36
Facilité de
configuration
Internet à
domicile
Pricing
Ethernet + - fixe
Wifi - - fixe
GSM/3G + + abonnement
SIGFOX ? + abonnement
Microsoft Azure#GlobalAzure #ViseoSpirit
• Lumière
• Capteurs
• Alim/autonomie
• Connectivité
• Système mécanique
Solutions retenues
37
Microsoft Azure#GlobalAzure #ViseoSpirit
Et maintenant?
38
Appli mobile
Hardware
Cloud
Design objet
Business
Balloons
Microsoft Azure#GlobalAzure #ViseoSpirit
• Qu’est-ce qui reste à faire?
– Software
• Architecture logicielle
peu fiable (oui et non)
Peu (pas) maintenable
 mise en oeuvre complexe
 mise à l’echelle impossible
Et maintenant?
39
Microsoft Azure#GlobalAzure #ViseoSpirit
48h plus tard…
40
Service Bus
MCU
Worker Role
REST
TCP
Microsoft Azure#GlobalAzure #ViseoSpirit
48h plus tard…
41
MCU
MCU
MCU
MCU
MCU
MCU
MCU
MCU
MCU
SCALABILITE?
Microsoft Azure#GlobalAzure #ViseoSpirit
Le problème
42
MCU
MCU
MCU
MCU
MCU
MCU
MCU
MCU
MCU
REST
TCP
Socket
- Maintenir n connexion ouvertes?
- Stateful  NOT CLOUD COMPATIBLE
MAIS ENCORE?
Microsoft Azure#GlobalAzure #ViseoSpirit
• Archi logicielle
– Trames de bytes avec Arduino = source d’erreurs
Considérations techniques
43
REST is magic!
Microsoft Azure#GlobalAzure #ViseoSpirit
• Archi logicielle
– Intelligence doit-elle être côté MCU ou côté cloud?
• Quantité de calculs pour chaque entité
• Pour chaque member de l’équipe
• Influence sur architecture logicielle
Considérations techniques
44
Microsoft Azure#GlobalAzure #ViseoSpirit
• Archi logicielle
– Facilité de déploiement
– Maintenance
– Coût!
Considérations techniques
45
Microsoft Azure#GlobalAzure #ViseoSpirit
• EventHub?  Gros flux de données
• Latence = 3,4 secondes  OK
Choix software
46
Microsoft Azure#GlobalAzure #ViseoSpirit
Différentes approches
47
MCU
UDP Socket
MCU
TCP Socket
• Long polling  Charge réseau
• Stateful  non cloud-compatible
Microsoft Azure#GlobalAzure #ViseoSpirit
Différentes approches
48
MCU
REST
MCU
UDP
MCU
REST
Socket
MCU
TCP Socket
Microsoft Azure#GlobalAzure #ViseoSpirit
Solution retenue
49
Microsoft Azure#GlobalAzure #ViseoSpirit
A la fin…
50
Microsoft Azure#GlobalAzure #ViseoSpirit
Et après
51
Microsoft Azure#GlobalAzure #ViseoSpirit
GAB 2015 LYON ORAGANIZER
LOCAL SPONSORS WORLDWIDE SPONSORS
…
#GlobalAzure #ViseoSpirit

Gab2015 christophe havard_hackaton_zone61_les_dessous_de_la_création_d_un_objet_connecté