﻿<?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 Sun - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/sun/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/sun/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:36:51 +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 Sun - Constellation</title>
	<link>https://developer.myconstellation.io/tag/sun/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>DayInfo : heures de lever/coucher du soleil et fête du jour</title>
		<link>https://developer.myconstellation.io/package-library/dayinfo/</link>
					<comments>https://developer.myconstellation.io/package-library/dayinfo/#respond</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Fri, 21 Oct 2016 08:33:42 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[DayInfo]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[Soleil]]></category>
		<category><![CDATA[Fete]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3256</guid>

					<description><![CDATA[<p>Le package DayInfo vous permet de connaitre la fête du jour ainsi que les heures du lever et coucher du soleil pour une position GPS donnée.</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/dayinfo/">DayInfo : heures de lever/coucher du soleil et fête du jour</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le package DayInfo vous permet de connaitre la fête du jour ainsi que les heures du lever et coucher du soleil pour une position GPS donnée.</p>
<h3 id="installation">Installation</h3>
<p>Depuis le “Online Package Repository” de votre Console Constellation, installez et déployez le package sur la sentinelle de votre choix (compatible Windows et Linux).</p>
<p>Sur la page de Settings, vous devez obligatoirement définir une position GPS (latitude et longitude) ainsi que le “timezone”.</p>
<p>Par exemple pour Paris:</p>
<ul>
<li>Timezone : 1</li>
<li>Latitude : 48.866667</li>
<li>Longitude : 2.333333</li>
</ul>
<p>Pour avoir un calcul des horaires du soleil plus précis, entrez votre position GPS exacte. Pour connaitre la position GPS précise pour une adresse donnée : <a href="http://www.coordonnees-gps.fr/">http://www.coordonnees-gps.fr/</a></p>
<p>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="DayInfo&gt;
  &lt;settings&gt;
    &lt;setting key="TimeZone" value="1" /&gt;
    &lt;setting key="Latitude" value="50,4130" /&gt;
    &lt;setting key="Longitude" value="3,0852" /&gt;
  &lt;/settings&gt;
&lt;/package&gt;</pre><p></p>
<h3 id="settings">Settings</h3>
<table>
<thead>
<tr>
<th>Nom</th>
<th>Type</th>
<th>Requis ?</th>
<th>Description du Setting</th>
</tr>
</thead>
<tbody>
<tr>
<td>TimeZone</td>
<td>Int32</td>
<td>OUI</td>
<td>Timezone de votre position (ex: 1 pour la France)</td>
</tr>
<tr>
<td>Latitude</td>
<td>Double</td>
<td>OUI</td>
<td>Latitude GPS de votre position</td>
</tr>
<tr>
<td>Longitude</td>
<td>Double</td>
<td>OUI</td>
<td>Longitude GPS de votre position</td>
</tr>
</tbody>
</table>
<h3 id="stateobjects">StateObjects</h3>
<p>Vous retrouverez 2 StateObjects publiés chaque jour par le package :</p>
<table>
<thead>
<tr>
<th>Nom</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>NameDay</td>
<td>String</td>
<td>La fête du jour</td>
</tr>
<tr>
<td>SunInfo</td>
<td>Objet SunInfo</td>
<td>Information sur les horaires du soleil pour votre position GPS</td>
</tr>
</tbody>
</table>
<h3 id="messagecallbacks">MessageCallbacks</h3>
<p>Le package expose 2 MessageCallbacks :</p>
<table>
<thead>
<tr>
<th>Signature</th>
<th>Réponse (saga)</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>GetNameDay(Date date)</td>
<td>String</td>
<td>La fête pour le jour spécifié</td>
</tr>
<tr>
<td>GetSunInfo(Date date, int timezone, double latitude, double longitude)</td>
<td>Objet SunInfo</td>
<td>Information sur les horaires du soleil pour le jour spécifié</td>
</tr>
</tbody>
</table>
<h3 id="quelques-exemples">Quelques exemples</h3>
<ul>
<li>Exploiter les horaires du soleil dans vos algorithmes C# pour gérer les volets ou les éclairages</li>
<li>Afficher la fête jour dans vos Dashboards HTML ou WPF</li>
</ul>
<h3 id="license">License</h3>
<p>Apache License</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/dayinfo/">DayInfo : heures de lever/coucher du soleil et fête du jour</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/dayinfo/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-24 22:13:14 by W3 Total Cache
-->