﻿<?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 Lumières - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/lumieres/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/lumieres/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:29:27 +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 Lumières - Constellation</title>
	<link>https://developer.myconstellation.io/tag/lumieres/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hue : connectez vos lampes Hue dans Constellation</title>
		<link>https://developer.myconstellation.io/package-library/hue/</link>
					<comments>https://developer.myconstellation.io/package-library/hue/#comments</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Fri, 28 Oct 2016 12:27:35 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Hue]]></category>
		<category><![CDATA[Philips]]></category>
		<category><![CDATA[Lampe]]></category>
		<category><![CDATA[Lumières]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3614</guid>

					<description><![CDATA[<p>Le  package Hue permet de connecter et contrôler vos différentes lampes connectées Philips Hue dans Constellation. Vous devez disposer d’un pont Philips Hue (Hue Bridge) pour pouvoir utiliser ce package. Le code source de ce package est disponible sur : https://github.com/myconstellation/constellation-packages/tree/master/Hue</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/hue/">Hue : connectez vos lampes Hue dans Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le  package Hue permet de connecter et contrôler vos différentes lampes connectées <a href="http://www2.meethue.com/fr-fr/">Philips Hue</a> dans Constellation.</p>
<p align="center"><a href="http://www2.meethue.com/fr-fr/"><img class="colorbox-3614"  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-166.png" alt="image" width="350" height="175" border="0" /></a></p>
<p align="left">Vous devez disposer d’un <a href="http://www2.meethue.com/fr-fr/productdetail/philips-hue-bridge">pont Philips Hue</a> (Hue Bridge) pour pouvoir utiliser ce package.</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-167.png"><img class="colorbox-3614"  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-150.png" alt="image" width="350" height="171" border="0" /></a></p>
<p style="text-align: left;" align="center">Le code source de ce package est disponible sur : <a href="https://github.com/myconstellation/constellation-packages/tree/master/Hue">https://github.com/myconstellation/constellation-packages/tree/master/Hue</a></p>
<h3>Installation</h3>
<h4>Prérequis : créer un utilisateur sur le pont Philips Hue</h4>
<p>Identifiez tout d’abord l’adresse IP (ou DNS) de votre pont Philips (avec un scan UPnP, en consultant les baux de votre serveur DHCP ou avec le client mobile officiel de Hue).</p>
<p>En entrant l’adresse de votre navigateur, vous devrez tomber sur la home page du bridge :</p>
<p><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-168.png"><img class="colorbox-3614"  loading="lazy" style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; padding-right: 0px; margin-right: auto; border: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-151.png" alt="image" width="350" height="308" border="0" /></a></p>
<p>Rendez-vous maintenant sur l’outil intégré de l’exécution de requête HTTP à l’adresse : http://&lt;bridge ip address&gt;/debug/clip.html</p>
<p align="center"> <a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-169.png"><img class="colorbox-3614"  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-152.png" alt="image" width="350" height="308" border="0" /></a></p>
<p align="left">Dans le corps de la requête (Request Body) entrez le JSON suivant :</p>
<p></p><pre class="crayon-plain-tag">{"devicetype": "constellation#connector"}</pre><p></p>
<p>Avant d’exécuter la requête, appuyez sur le bouton “Link” sur le Bridge :</p>
<p align="center"><img class="colorbox-3614"  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-170.png" alt="image" width="240" height="176" border="0" /></p>
<p align="left">Vous disposez maintenant de 30 secondes pour enregistrer votre utilisateur. Exécutez donc la requête sans tarder en cliquant sur le bouton “POST”.</p>
<p align="left">En retour (Commande Response) vous obtiendrez l’identifiant de votre utilisateur, ici nommé “83b7780291a6ceffbe0bd049104df” :</p>
<p></p><pre class="crayon-plain-tag">[{"success":{"username": "83b7780291a6ceffbe0bd049104df"}}]</pre><p></p>
<p align="left">Retenez cet identifiant, c’est cela qu’utilisera le package Constellation pour se connecter à vos Hue.</p>
<p>Pour plus d’informations : <a title="http://www.developers.meethue.com/documentation/configuration-api#71_create_user" href="http://www.developers.meethue.com/documentation/configuration-api#71_create_user">http://www.developers.meethue.com/documentation/configuration-api#71_create_user</a></p>
<h4>Installation du package Constellation</h4>
<p>Depuis le “Online Package Repository” de votre Console Constellation, déployez le package Hue :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-171.png"><img class="colorbox-3614"  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-153.png" alt="image" width="350" height="211" 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 obligatoirement spécifier l’adresse de votre Bridge Hue (IP ou DNS) ainsi que votre utilisateur créé ci-dessus.</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-172.png"><img class="colorbox-3614"  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-154.png" alt="image" width="350" height="214" border="0" /></a></p>
<p align="left">Vous pouvez également déployer ce package manuellement dans la configuration de votre Constellation :</p>
<p></p><pre class="crayon-plain-tag">&lt;package name="Hue"&gt;
  &lt;settings&gt;
    &lt;setting key="BridgeAddress" value="192.168.x.x" /&gt;
    &lt;setting key="BridgeUsername" value="83b7780291a6ceffbe0bd049104df" /&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="478"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>BridgeAddress</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="478">Adresse IP ou DNS du pont Hue.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>BridgeUsername</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="478">Identifiant de l’utilisateur utilisé pour se connecter sur le pont Hue.</td>
</tr>
</tbody>
</table>
<h4>Les StateObjects</h4>
<p>Vous retrouverez autant de StateObjects que de lampes Hue appariées sur le pont ainsi qu’un StateObject pour la configuration du pont :</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>BridgeCondig</strong></td>
<td valign="top" width="10">Q42.HueApi.BridgeConfig</td>
<td valign="top" width="446">Représente la configuration du pont Hue (nom, adresse MAC et IP, config réseau, versions, liste des utilisateurs, etc..)</td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; Nom de la lampe &gt;&gt;</strong></td>
<td valign="top" width="10">Q42.HueApi.Light</td>
<td valign="top" width="446">Représente l’état d’une lampe Hue (ID, état On/Off, luminosité, couleur Hue, effet, alerte, modèle, version logicielle, etc…)</td>
</tr>
</tbody>
</table>
<p><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-173.png"><img class="colorbox-3614"  loading="lazy" style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; padding-right: 0px; margin-right: auto; border: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-155.png" alt="image" width="350" height="160" border="0" /></a></p>
<h4 align="left">Les MessageCallbacks</h4>
<p>Le package expose 3 MessageCallbacks :</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="141"><u>Réponse (saga)</u></td>
<td valign="top" width="407"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>SendCommandTo</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Envoi une commande à une ou plusieurs lampes</td>
</tr>
<tr>
<td valign="top" width="10"><strong>Set</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Envoi une commande à une lampe (état, couleur, intensité)</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SetBrightness</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Défini l’intensité d’une lampe</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SetColor</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Défini la couleur d’une lampe</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SetCommandToAll</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Envoi une commande à toutes les lampes</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SetState</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Défini l’état (On/Off) d’une lampe</td>
</tr>
<tr>
<td valign="top" width="10"><strong>ShowAlert</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Affiche une alerte sur une lampe</td>
</tr>
</tbody>
</table>
<h3 align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-174.png"><img class="colorbox-3614"  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-156.png" alt="image" width="350" height="277" border="0" /></a></h3>
<h3 align="left">Quelques exemples</h3>
<ul>
<li>Tamiser les lumières lors du démarrage d’un film</li>
<li>Piloter les lumières en fonction de la luminosité ambiante</li>
<li>Piloter des configurations de lumières avec un interrupteur Legrand connecté à un module Fibaro</li>
<li>Afficher une alerte sur une lampe lorsqu’il pleut ou que quelqu’un sonne à la porte</li>
</ul>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/hue/">Hue : connectez vos lampes Hue dans 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/hue/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-21 17:37:59 by W3 Total Cache
-->