﻿<?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 Traffic - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/traffic/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/traffic/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:29: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 Traffic - Constellation</title>
	<link>https://developer.myconstellation.io/tag/traffic/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>GoogleTraffic : l&#8217;état du trafic routier dans Constellation</title>
		<link>https://developer.myconstellation.io/package-library/googletraffic/</link>
					<comments>https://developer.myconstellation.io/package-library/googletraffic/#respond</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Fri, 28 Oct 2016 12:46:58 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Route]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Traffic]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3627</guid>

					<description><![CDATA[<p>Le  package GoogleTraffic permet de calculer le temps de route entre deux adresses en tenant compte de l’état du trafic. Installation Depuis le “Online Package Repository” de votre Console Constellation, déployez le package GoogleTraffic : Une fois le package télécharger</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/googletraffic/">GoogleTraffic : l&rsquo;état du trafic routier dans Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le  package GoogleTraffic permet de calculer le temps de route entre deux adresses en tenant compte de l’état du trafic.</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-175.png"><img class="colorbox-3627"  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-157.png" alt="image" width="350" height="213" border="0" /></a></p>
<h3>Installation</h3>
<p>Depuis le “Online Package Repository” de votre Console Constellation, déployez le package GoogleTraffic :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-176.png"><img class="colorbox-3627"  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-158.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 pouvez optionnellement remplir votre adresse de domicile et une ou plusieurs adresse de destination avec une plage horaire :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-177.png"><img class="colorbox-3627"  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-159.png" alt="image" width="350" height="284" border="0" /></a></p>
<p align="left">Lorsque le package est dans une plage d’horaire spécifiée, il réalisera les itinéraires “de” et “vers” les destinations à l’intervalle spécifié dans l’attribut “refreshInterval” (ici 15 min). Les résultats sont publiés dans des StateObjects.</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="GoogleTraffic" /&gt;</pre><p></p>
<p align="left">Ou avec des deux itinéraire à suivre de 7h à 10h, de 11h45 à 14h30 et de 16h à 19h30 :</p>
<p></p><pre class="crayon-plain-tag">&lt;package name="GoogleTraffic"&gt;
  &lt;settings&gt;
    &lt;setting key="googleTrafficConfigurationSection"&gt;
        &lt;content&gt;
            &lt;googleTrafficConfigurationSection xmlns="urn:GoogleTraffic" refreshInterval="00:15:00"&gt;
                &lt;home name="Maison" address="108 rue Sebastopol" postalCode="59000" city="Lille" /&gt;
                &lt;destinations&gt;
                    &lt;address name="Adresse 1" address="48 rue de Douai" postalCode="59000" city="Lille" /&gt;
                    &lt;address name="Adresse 2" address="1 avenue victor huge" postalCode="92190 " city="Meudon" /&gt;
                &lt;/destinations&gt;
                &lt;timeRanges&gt;
                    &lt;timeRange from="07:00:00" to="10:00:00" /&gt;
                    &lt;timeRange from="11:45:00" to="14:30:00" /&gt;
                    &lt;timeRange from="16:00:00" to="19:30:00" /&gt;
                &lt;/timeRanges&gt;
            &lt;/googleTrafficConfigurationSection&gt;
       &lt;/content&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>googleTrafficConfigurationSection</strong></td>
<td valign="top" width="10">ConfigurationSection</td>
<td valign="top" width="10">Optionnel</td>
<td valign="top" width="478">Adresse IP ou DNS du 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>RouteHomeTo&lt;&lt;  Destination &gt;&gt;</strong></td>
<td valign="top" width="10">List&lt;TrafficData&gt;</td>
<td valign="top" width="446">La liste des itinéraires possibles de l’adresse “home” à la “destination” avec le temps de route avec et sans trafic et la distance.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>Route&lt;&lt;  Destination &gt;&gt;ToHome</strong></td>
<td valign="top" width="10">List&lt;TrafficData&gt;</td>
<td valign="top" width="446">La liste des itinéraires possibles de l’adresse “destination” à “home” avec le temps de route avec et sans trafic et la distance.</td>
</tr>
</tbody>
</table>
<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>GetRoute</strong></td>
<td valign="top" width="141">List&lt;TrafficData&gt;</td>
<td valign="top" width="407">Calcule et retourne la liste des itinéraires possibles entre deux adresses avec le temps de route avec et sans trafic et la distance.</td>
</tr>
</tbody>
</table>
<p><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-178.png"><img class="colorbox-3627"  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-160.png" alt="image" width="350" height="109" border="0" /></a></p>
<h3 align="left">Quelques exemples</h3>
<ul>
<li>Afficher le temps de route et le nom de la meilleur route sur une application Windows WPF</li>
<li>Créer un programme pour enregistrer le temps de route aux horaires de travail et exploiter les statistiques dans Excel.</li>
<li>Afficher l’état du trafic sur la route vers votre travail sur un anneau de LED RBG avec un Arduino/ESP</li>
</ul>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/googletraffic/">GoogleTraffic : l&rsquo;état du trafic routier 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/googletraffic/feed/</wfw:commentRss>
			<slash:comments>0</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:57:06 by W3 Total Cache
-->