﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tag Pression - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/pression/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/pression/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:35:03 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.11</generator>

<image>
	<url>https://developer.myconstellation.io/wp-content/uploads/2016/02/256x256-e1457476015859.png</url>
	<title>Tag Pression - Constellation</title>
	<link>https://developer.myconstellation.io/tag/pression/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Créer un boitier connecté « Mix box » permettant de contrôler votre ordinateur</title>
		<link>https://developer.myconstellation.io/tutorials/creer-un-boitier-connecte-mix-box-permettant-de-controler-votre-ordinateur/</link>
					<comments>https://developer.myconstellation.io/tutorials/creer-un-boitier-connecte-mix-box-permettant-de-controler-votre-ordinateur/#respond</comments>
		
		<dc:creator><![CDATA[Sebastien Warin]]></dc:creator>
		<pubDate>Wed, 16 May 2018 14:24:43 +0000</pubDate>
				<category><![CDATA[Tutoriels]]></category>
		<category><![CDATA[MessageCallback]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[Pression]]></category>
		<category><![CDATA[WindowsControl]]></category>
		<category><![CDATA[tutoriel]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=5991</guid>

					<description><![CDATA[<p>Tutoriel proposé par Marc-Antoine DUVAL, Joël GUILLEM et Quentin LEVERT. Dans ce tutoriel, nous allons créer un boitier qui est relié à un ou plusieurs ordinateurs de la maison grâce à un ESP8266 connecté à constellation. Des LEDs permettent à</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/tutorials/creer-un-boitier-connecte-mix-box-permettant-de-controler-votre-ordinateur/">Créer un boitier connecté « Mix box » permettant de contrôler votre ordinateur</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em>Tutoriel proposé par Marc-Antoine DUVAL, Joël GUILLEM et Quentin LEVERT.</em></p>

<p>Dans ce tutoriel, nous allons créer un boitier qui est relié à un ou plusieurs ordinateurs de la maison grâce à un ESP8266 connecté à constellation. Des LEDs permettent à l’utilisateur de suivre le résultat des commandes en temps réel. Le boitier permet de commander à distance le lecteur de vidéo VLC media player à travers différentes fonctionnalités. Il gère :</p>
<ul>
<li>Le volume</li>
<li>La marche avant / marche arrière au cours d’un visionnage</li>
<li>La mise en lecture / pause d’une vidéo</li>
<li>La fermeture de VLC</li>
</ul>
<h2>Prérequis</h2>
<ul>
<li>Un ESP8266, nous utilisons un D1-mini</li>
<li>6 boutons poussoirs tactiles blancs</li>
<li>2 LEDs RGB</li>
<li>Une plaque de plexiglas noire</li>
<li>Une imprimante laser</li>
<li>Un serveur constellation</li>
<li>Le package « Windows Control » déployé sur une ou plusieurs sentinelles</li>
</ul>
<h2>Etape 1 : Réaliser le montage des boutons et LEDs</h2>
<p>Dans un premier temps, nous allons réaliser le montage électronique des composants. Tout d’abord il est nécessaire de brancher l’ESP8266 à la breadboard et de l’alimenter en le connectant en mini-USB à une source d&rsquo;alimentation. Il faut ensuite brancher la masse de l’ESP à la colonne de masse de la breadboard.</p>
<p>Pour les besoins de l’explication du montage, tous les autres composants seront connectés à la breadboard, cependant il est tout à fait possible de les connecter une fois insérés dans le boitier (voir Etape 2). Le schéma global est présenté ci-après.</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2018/05/Cablage.png"><img class="colorbox-5991"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="Cablage" src="https://developer.myconstellation.io/wp-content/uploads/2018/05/Cablage_thumb.png" alt="Cablage" width="354" height="357" border="0" /></a></p>
<p>&nbsp;</p>
<p>Ici nous avons choisi 2 LEDs RGB afin d’améliorer l’effet visuel pour obtenir une LED de couleur jaune. La première LED verte pourra être connectée directement au pin D8 de l’ESP. Quant à la seconde LED RGB, il suffit de connecter les pattes correspondant aux LEDs rouge et verte à la même ligne, puis de lier cette ligne au pin D7 de l’ESP.</p>
<p>Les boutons poussoirs sont à connecter avec les broches 1 et 3 d’un côté et les broches 2 et 4 de l’autre. Le branchement est classique, à savoir les pin D1 à D6 connectés directement sur la patte 1 de chaque bouton, puis retour à la masse sur la patte 3 des boutons. Lorsque l’on appuie sur le bouton, le pin correspondant passera donc en état bas (LOW) et est en état haut (HIGH) tant que l’on n’appuie pas.</p>
<p>Une fois le câblage terminé, nous allons passer à la réalisation du boitier qui contiendra à l’intérieur l’ESP et la breadboard.</p>
<h2>Etape 2 : Réaliser le boitier</h2>
<p>Dans un second temps, il nous faut un boitier que nous pourrons ouvrir pour mettre notre ESP. Le design de la face de devant doit aussi correspondre au nombre de boutons et LED que l’on souhaite mettre en place.</p>
<p>Afin de résoudre cette problématique, nous avons décidé d’imprimer le boitier grâce à une imprimante laser. Nous avons utilisé une plaque de plexiglas noir d’une épaisseur de 3mm.</p>
<p>Tout d’abord, nous avons créé le fond de la boite sans le couvercle. Nous avons utilisé le site : <a href="http://carrefour-numerique.cite-sciences.fr/fablab/wiki/doku.php?id=projets:generateur_de_boites">http://carrefour-numerique.cite-sciences.fr/fablab/wiki/doku.php?id=projets:generateur_de_boites</a> qui permet de générer automatique le fichier .svg qui sera reconnu et utilisé pour l’impression laser. Il suffit d’entrer les dimensions voulues.</p>
<p>Ensuite nous avons utilisé SolidWorks afin de créer notre face avant personnalisée. Nous avons choisi percer 2 trous pour les LEDs et 6 pour les boutons carrés. Après la réalisation de la pièce, plusieurs étapes sont alors nécessaires pour exporter le fichier SolidWorks en fichier .svg.</p>
<ul>
<li>Sélectionner la vue correspondant à la pièce à réaliser</li>
<li>Enregistrer le fichier SolidWorks au format .DXF.</li>
<li>Sélectionner la vue à exporter. Ici, on sélectionne la vue en cours.</li>
</ul>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2018/05/face_avant.png"><img class="colorbox-5991"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="Choix de la face à sauvegarder" src="https://developer.myconstellation.io/wp-content/uploads/2018/05/face_avant_thumb.png" alt="Choix de la face à sauvegarder" width="354" height="194" border="0" /></a></p>
<ul>
<li>Installer Inkscape, ce logiciel permettra de créer le fichier pour l’imprimante laser.</li>
<li>Importer le fichier dans Inkscape. Il faut désactiver mise à l’échelle automatique.</li>
<li>Sauvegarder le fichier qui sera utilisé pour l’impression laser.</li>
</ul>
<p>Enfin, nous avons assemblé toutes les pièces du boitier :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2018/05/Boitier.jpg"><img class="colorbox-5991"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="Boitier" src="https://developer.myconstellation.io/wp-content/uploads/2018/05/Boitier_thumb.jpg" alt="Boitier" width="254" height="316" border="0" /></a></p>
<h2>Etape 3 : Programmation</h2>
<p>Dans un premier temps, il faut vous assurer que votre ESP8266 soit connecté à votre constellation, si vous ne savez pas comment vous y prendre, je vous invite donc à suivre le tutoriel réalisé par Sébastien Warin : <a href="https://developer.myconstellation.io/getting-started/connecter-un-arduino-ou-un-esp8266-constellation/">https://developer.myconstellation.io/getting-started/connecter-un-arduino-ou-un-esp8266-constellation/</a> .</p>
<p>Pour commencer, il faut déclarer le matériel dans la méthode setup de notre ESP8266, conformément à <b>l&rsquo;étape 1, </b>nous avons choisi les pin 1 à 6 en mode PULLUP pour les boutons et les pins 7 &amp; 8 pour les LEDs :</p>
<p></p><pre class="crayon-plain-tag">pinMode(D1,INPUT_PULLUP);
  pinMode(D2,INPUT_PULLUP);
  pinMode(D3,INPUT_PULLUP);
  pinMode(D4,INPUT_PULLUP);
  pinMode(D5,INPUT_PULLUP);
  pinMode(D6,INPUT_PULLUP);
  pinMode(D7,OUTPUT);
  pinMode(D8,OUTPUT);
  digitalWrite(D7,LOW);
  digitalWrite(D8,LOW);</pre><p></p>
<p>Nous avons associé à chaque bouton un messageCallback avec les paramètres permettant d&rsquo;effectuer l&rsquo;action voulu. Pour faire cela, nous avons réalisé une fonction « checkButtonState » qui permet de gérer les évènements d&rsquo;appuie sur les boutons et d&rsquo;appeler le messageCallback correspondant au bouton. Juste avant l&rsquo;appel du messageCallback, la led cablée au pin D7 est allumée pour une période de 2 secondes afin de montrer à l&rsquo;utilisateur que l&rsquo;ESP8266 a bien réalisé l&rsquo;action. Cela permettra en cas de disfonctionnement, que l&rsquo;utilisateur puisse savoir si c&rsquo;est le hardware ou la transmission Wifi/Constellation qui est défectueux.</p>
<p>Le tableau ci-dessous récapitule les actions, messageCallback et pins qui sont associés ensemble :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2018/05/image-8.png"><img class="colorbox-5991"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2018/05/image_thumb-6.png" alt="image" width="450" height="109" border="0" /></a></p>
<p>Ci-dessous le code de la fonction checkButtonState :</p>
<p></p><pre class="crayon-plain-tag">void checkButtonState(){
  
  static int lastButtonStateD1 = HIGH;
  static int lastButtonStateD2 = HIGH;
  static int lastButtonStateD3 = HIGH;
  static int lastButtonStateD4 = HIGH;
  static int lastButtonStateD5 = HIGH;
  static int lastButtonStateD6 = HIGH;
  static long led1TimeLitUP = 0;
  // If the led is lit up for 2 secondes, we shut off the led
  if(millis() - led1TimeLitUP &gt;2000){
      digitalWrite(D7, LOW);
    }
  // We retrieve the pin value
  int reading = digitalRead(D1);
// If pin value has changed
  if (reading != lastButtonStateD1){
   // And if pin value is high which mean button is pushed, then we make the associated action
    if (reading == HIGH){
      // We lit up the led in order to show to the user that the messageCallback is sending
       digitalWrite(D7,HIGH);
       // "led1TimeLitUp" take the value of the moment when it has been litted up
       led1TimeLitUP = millis();
       // we use the messageCallback to do the wanted action
       constellation.sendMessage(Package, "WindowsControl", "VolumeUp","{}");
     
      }
      lastButtonStateD1 = reading ;
     
      return;
  }
  reading = digitalRead(D2);
  if (reading != lastButtonStateD2){
     if (reading == HIGH){
        digitalWrite(D7,HIGH); 
        led1TimeLitUP = millis();
        constellation.sendMessage(Package, "WindowsControl", "VolumeDown", "{}"); 
        
      }
      lastButtonStateD2 = reading;
      return;
    }
  reading = digitalRead(D3);
  if (reading != lastButtonStateD3){
     if (reading == HIGH){
        digitalWrite(D7,HIGH); 
        led1TimeLitUP = millis();
        constellation.sendMessage(Package, "WindowsControl", "SendKey", "SpaceBar");
       
      }
      lastButtonStateD3 = reading;
      return;
    }
    
  reading = digitalRead(D4);
  if (reading != lastButtonStateD4){
     if (reading == HIGH){
        digitalWrite(D7,HIGH); 
        led1TimeLitUP = millis();
        constellation.sendMessage(Package, "WindowsControl", "SendCombinationOfKey", "['ALT', 'Left']");
        
      }
      lastButtonStateD4 = reading;
      return;
    }
   reading = digitalRead(D5);
    if (reading != lastButtonStateD5){
     if (reading == HIGH){
        digitalWrite(D7,HIGH); 
        led1TimeLitUP = millis();
        constellation.sendMessage(Package, "WindowsControl", "SendCombinationOfKey", "['ALT', 'Right']");
      
      }
      lastButtonStateD5 = reading;
      return;
    }
    reading = digitalRead(D6);
    if (reading != lastButtonStateD6){
     if (reading == HIGH){
        digitalWrite(D7,HIGH); 
        led1TimeLitUP = millis();
        constellation.sendMessage(Package, "WindowsControl", "SendCombinationOfKey", "['CTRL', 'Q']");
        
      }
      lastButtonStateD6 = reading;
      return;
    }  
  }</pre><p></p>
<p>Et voilà notre boitier de contrôle est opérationnel. Il ne reste plus qu’à l’alimenter et vous avons à notre disposition des boutons physiques pour piloter notre Windows facilement.</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/tutorials/creer-un-boitier-connecte-mix-box-permettant-de-controler-votre-ordinateur/">Créer un boitier connecté « Mix box » permettant de contrôler votre ordinateur</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://developer.myconstellation.io/tutorials/creer-un-boitier-connecte-mix-box-permettant-de-controler-votre-ordinateur/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NetAtmo : vos capteurs NetAtmo dans votre Constellation</title>
		<link>https://developer.myconstellation.io/package-library/netatmo/</link>
					<comments>https://developer.myconstellation.io/package-library/netatmo/#comments</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Fri, 21 Oct 2016 15:23:47 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Pression]]></category>
		<category><![CDATA[CO²]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Meteo]]></category>
		<category><![CDATA[NetAtmo]]></category>
		<category><![CDATA[Capteur]]></category>
		<category><![CDATA[Temperature]]></category>
		<category><![CDATA[Humidité]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3355</guid>

					<description><![CDATA[<p>Le package NetAtmo permet de connecter votre station météo NetAtmo dans Constellation. La version actuelle du package ne gère que les stations météo et modules associées et non les autres objets NetAtmo tel que le thermostat ou la caméra Welcome.</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/netatmo/">NetAtmo : vos capteurs NetAtmo dans votre Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le package NetAtmo permet de connecter votre station météo NetAtmo dans Constellation.</p>
<p>La version actuelle du package ne gère que les stations météo et modules associées et non les autres objets NetAtmo tel que le thermostat ou la caméra Welcome.</p>
<p align="center"><a href="http://www.netatmo.com"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-89.png" alt="image" width="240" height="167" border="0" /></a></p>
<p align="left">Le code source de ce package est en ligne sur : <a href="https://github.com/myconstellation/constellation-packages/tree/master/NetAtmo">https://github.com/myconstellation/constellation-packages/tree/master/NetAtmo</a></p>
<h3>Installation</h3>
<h4>Prérequis : créer une application NetAtmo</h4>
<p>Pour pouvoir utiliser le service NetAtmo vous devez créer un compte développeur sur : <a title="https://dev.netatmo.com/" href="https://dev.netatmo.com/">https://dev.netatmo.com/</a></p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-90.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-82.png" alt="image" width="350" height="270" border="0" /></a></p>
<p>Une fois inscrit, créer une application en cliquant sur “Create an app” :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-91.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-83.png" alt="image" width="350" height="270" border="0" /></a></p>
<p align="left">Entrez les informations pour votre connecteur :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-92.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-84.png" alt="image" width="350" height="270" border="0" /></a></p>
<p align="left">Puis en enregistrant, vous obtiendrez un peu plus bas sur cette page, le “Client ID” et “Client Secret” de votre application NetAtmo qui servira pour la configuration du package Constellation :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-93.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-85.png" alt="image" width="350" height="270" border="0" /></a></p>
<h4>Installation du package Constellation</h4>
<p>Depuis le “Online Package Repository” de votre Console Constellation, déployez le package NetAtmo :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-94.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-86.png" alt="image" width="350" height="216" border="0" /></a></p>
<p>Une fois le package télécharger votre repository local, sélectionnez la sentinelle sur laquelle déployer le package.</p>
<p>Pour finir, sur la page de Settings, vous devez définir différents paramètres :</p>
<ul>
<li><u>Netatmo.ClientId</u> : le “Client ID” de votre application NetAtmo créée précédemment</li>
<li><u>Netatmo.ClientSecret</u> : le “Client Secret” de votre application NetAtmo créée précédemment</li>
<li><u>Netatmo.Username</u> : votre utilisateur NetAtmo</li>
<li><u>Netatmo.Password</u> : votre mot de passe NetAtmo pour l’utilisateur utilisé</li>
</ul>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-95.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-87.png" alt="image" width="350" height="264" border="0" /></a></p>
<p align="left">Vous pouvez aussi redéfinir le setting “RefreshInterval” qui représente l’intervalle de temps en seconde de rafraichissement des données de votre station météo sur le service NetAtmo. Par défaut ce paramètre est fixé à 300 secondes soit 5 minutes. Notez par ailleurs que votre station météo NetAtmo remonte ses mesures toutes les 5 minutes.</p>
<p>Bien entendu vos  pouvez également déployer ce package manuellement dans la configuration de votre Constellation :</p>
<p></p><pre class="crayon-plain-tag">&lt;package name="NetAtmo"&gt;
  &lt;settings&gt;
    &lt;setting key="Netatmo.ClientId" value="xxxxxx" /&gt;
    &lt;setting key="Netatmo.ClientSecret" value="xxxxx" /&gt;
    &lt;setting key="Netatmo.Username" value="xxx@xxx.com" /&gt;
    &lt;setting key="Netatmo.Password" value="xxxxxx" /&gt;
  &lt;/settings&gt;
&lt;/package&gt;</pre><p></p>
<h3>Détails du package</h3>
<h4>Les Settings</h4>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="10"><u>Nom</u></td>
<td valign="top" width="10"><u>Type</u></td>
<td valign="top" width="10"><u>Détail</u></td>
<td valign="top" width="456"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>Netatmo.ClientId</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="456">Client ID de l’application NetAtmo associée</td>
</tr>
<tr>
<td valign="top" width="10"><strong>Netatmo.ClientSecret</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="456">Client Secret de l’application NetAtmo associée</td>
</tr>
<tr>
<td valign="top" width="10"><strong>Netatmo.Username</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="456">Nom d’utilisateur du compte NetAtmo</td>
</tr>
<tr>
<td valign="top" width="10"><strong>Netatmo.Password</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="456">Mot de passe de l’utilisateur NetAtmo</td>
</tr>
<tr>
<td valign="top" width="10"><strong>RefreshInterval</strong></td>
<td valign="top" width="10">Int32</td>
<td valign="top" width="10">Optionnel<br />
Par défaut : 300</td>
<td valign="top" width="456">Intervalle de temps en seconde d’interrogation du service NetAtmo</td>
</tr>
</tbody>
</table>
<h4>Les StateObjects</h4>
<p>Vous retrouverez autant de StateObjects que vous avez de mesures pour chaque modules connectés à votre station. Ces StateObjects sont mis à jour pour l’intervalle défini dans la configuration (toutes les 5 minutes par défaut).</p>
<p>Par exemple</p>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="10"><u>Nom</u></td>
<td valign="top" width="10"><u>Type</u></td>
<td valign="top" width="446"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom de la station &gt;&gt;.Info</strong></td>
<td valign="top" width="10">NetAtmo.Device</td>
<td valign="top" width="446">Description de la station NetAtmo (IP, firmware, modules attachés, qualité du Wifi, etc..)</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module&gt;&gt;.Info</strong></td>
<td valign="top" width="10">NetAtmo.Module</td>
<td valign="top" width="446">Description du module NetAtmo (ID, firmware, état RF, niveau de batterie, etc..)</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module/station&gt;&gt;.Temperature</strong></td>
<td valign="top" width="10">NetAtmo.TemperatureMeasurement</td>
<td valign="top" width="446">Mesure de la température</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module/station&gt;&gt;.Humidity</strong></td>
<td valign="top" width="10">NetAtmo.HumidityMeasurement</td>
<td valign="top" width="446">Mesure de l’humidité relative</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module/station&gt;&gt;.Rain</strong></td>
<td valign="top" width="10">NetAtmo.RainMeasurement</td>
<td valign="top" width="446">Mesure de la pluie</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module/station&gt;&gt;.CarbonDioxide</strong></td>
<td valign="top" width="10">NetAtmo.CarbonDioxideMeasurement</td>
<td valign="top" width="446">Mesure du CO²</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module/station&gt;&gt;.Noise</strong></td>
<td valign="top" width="10">NetAtmo.NoiseMeasurement</td>
<td valign="top" width="446">Mesure du niveau sonore</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; nom du module/station&gt;&gt;.Pressure</strong></td>
<td valign="top" width="10">NetAtmo.PressureMeasurement</td>
<td valign="top" width="446">Mesure de la pression atmosphérique</td>
</tr>
</tbody>
</table>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-96.png"><img class="colorbox-3355"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-88.png" alt="image" width="350" height="220" border="0" /></a></p>
<h4 align="left">Les MessageCallbacks</h4>
<p>Ce package n’expose pas de MessageCallback.</p>
<h3 align="left">Quelques exemples</h3>
<ul>
<li>Notifier l’utilisateur si il pleut alors qu’une fenetre est restée ouverte</li>
<li>Afficher les mesures des modules NetAtmo dans une application graphique pour Windows (WPF)</li>
<li>Afficher la qualité de l’air sur une matrice de LED pilotée par un Arduino/ESP</li>
<li>Piloter le thermostat Nest depuis une autre pièce en fonction de la température d’un module NetAtmo</li>
</ul>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/netatmo/">NetAtmo : vos capteurs NetAtmo dans votre Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://developer.myconstellation.io/package-library/netatmo/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Mise en cache de page à l’aide de Disk: Enhanced 

Served from: developer.myconstellation.io @ 2026-01-23 01:55:03 by W3 Total Cache
-->