﻿<?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 Relay - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/relay/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/relay/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:32:16 +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 Relay - Constellation</title>
	<link>https://developer.myconstellation.io/tag/relay/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>RelayBoard : pilotez vos cartes de relais USB SainSmart dans Constellation</title>
		<link>https://developer.myconstellation.io/package-library/relayboard/</link>
					<comments>https://developer.myconstellation.io/package-library/relayboard/#respond</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Thu, 27 Oct 2016 14:08:58 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[SainSmart]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Relais]]></category>
		<category><![CDATA[Relay]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3539</guid>

					<description><![CDATA[<p>Le package RelayBoard vous permet de piloter des cartes de relais USB de 4 ou 8 canaux disponible chez SainSmart. Le code source est disponible sur : https://github.com/myconstellation/constellation-packages/tree/master/RelayBoard Installation Depuis le “Online Package Repository” de votre Console Constellation, déployez le</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/relayboard/">RelayBoard : pilotez vos cartes de relais USB SainSmart dans Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le package RelayBoard vous permet de piloter des cartes de relais USB de 4 ou 8 canaux disponible chez <a href="http://www.sainsmart.com/">SainSmart</a>.</p>
<p align="center"><a href="http://www.sainsmart.com/sainsmart-4-channel-12-v-usb-relay-board-module-controller-for-automation-robotics-1.html"><img class="colorbox-3539"  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-142.png" alt="image" width="240" height="184" border="0" /></a><a href="http://www.sainsmart.com/sainsmart-4-channel-5v-usb-relay-board-module-controller-for-automation-robotics.html"><img class="colorbox-3539"  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-143.png" alt="image" width="176" height="180" border="0" /></a></p>
<p>Le code source est disponible sur : <a href="https://github.com/myconstellation/constellation-packages/tree/master/RelayBoard">https://github.com/myconstellation/constellation-packages/tree/master/RelayBoard</a></p>
<h3>Installation</h3>
<p>Depuis le “Online Package Repository” de votre Console Constellation, déployez le package RelayBoard :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-144.png"><img class="colorbox-3539"  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-130.png" alt="image" width="350" height="214" 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>Vous pouvez spécifier dans les Settings, le numéro de série de votre carte autrement le package se connectera sur la première carte disponible. Vous pouvez spécifier le nombre de relais disponibles sur votre carte (4 ou 8) :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-145.png"><img class="colorbox-3539"  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-131.png" alt="image" width="350" height="213" 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="RelayBoard" /&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>SerialNumber</strong></td>
<td valign="top" width="10">String</td>
<td valign="top" width="10">Optionnel</td>
<td valign="top" width="478">Numéro de série de la carte SainSmart. Si non renseigné, le package se connectera sur la première carte connectée.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>RelayCount</strong></td>
<td valign="top" width="10">Int32</td>
<td valign="top" width="10">Optionnel<br />
Par défaut : 8</td>
<td valign="top" width="478">Nombre de relais disponibles sur votre carte SainSmart.</td>
</tr>
</tbody>
</table>
<h4>Les StateObjects</h4>
<p>Vous retrouverez autant de StateObjects que de relais ainsi qu’un StateObject représentant votre carte SainSmart :</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>Relay&lt;&lt; ID &gt;&gt;</strong></td>
<td valign="top" width="10">Boolean</td>
<td valign="top" width="446">Etat du relais (ON / Off)</td>
</tr>
<tr>
<td valign="top" width="10"><strong>RelayBoard_&lt;&lt; Serial Number &gt;&gt;</strong></td>
<td valign="top" width="10">RelayBoard</td>
<td valign="top" width="446">Informations sur la carte de relais USB (S/N, Id, port COM, version du driver, ..)</td>
</tr>
</tbody>
</table>
<h3 align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-146.png"><img class="colorbox-3539"  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-132.png" alt="image" width="350" height="146" border="0" /></a></h3>
<h4 align="left">Les MessageCallbacks</h4>
<p>Le package expose 1 MessageCallback :</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>SetSwitch</strong></td>
<td valign="top" width="141">Aucune</td>
<td valign="top" width="407">Défini l’état d’un relais (On ou Off)</td>
</tr>
</tbody>
</table>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-147.png"><img class="colorbox-3539"  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-133.png" alt="image" width="350" height="131" border="0" /></a></p>
<h3 align="left">Quelques exemples</h3>
<ul>
<li>Afficher et contrôler les relais depuis une page Web</li>
<li>Piloter l’allumage des amplis de manière automatique en fonction de la source audio avec un package C#</li>
</ul>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/relayboard/">RelayBoard : pilotez vos cartes de relais USB SainSmart 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/relayboard/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 02:52:12 by W3 Total Cache
-->