﻿<?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 Plug - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/plug/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/plug/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Wed, 14 Aug 2019 08:55:57 +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 Plug - Constellation</title>
	<link>https://developer.myconstellation.io/tag/plug/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>TPLinkSmartHome : Prises et autres périphériques connectés</title>
		<link>https://developer.myconstellation.io/package-library/tplinksmarthome/</link>
					<comments>https://developer.myconstellation.io/package-library/tplinksmarthome/#respond</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Wed, 29 May 2019 13:21:06 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[TPLink]]></category>
		<category><![CDATA[Plug]]></category>
		<category><![CDATA[TPLinkSmartHome]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/miscellaneous/tplinksmarthome/</guid>

					<description><![CDATA[<p>Le package TPLinkSmartHome vous permet de contrôler et monitorer les périphériques TPLink Smart Home (kasa smarthome).<br />
ATTENTION, pour le moment seules les prises HS100 et HS110 sont prises en charge par ce package.</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/tplinksmarthome/">TPLinkSmartHome : Prises et autres périphériques connectés</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le package TPLinkSmartHome vous permet de contrôler et monitorer les périphériques TPLink Smart Home (kasa smarthome).<br />
<strong>ATTENTION, pour le moment seules les prises HS100 et HS110 sont prises en charge par ce package.</strong></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 un ou plusieurs périphériques.</p>
<p>Par exemple :</p>
<p></p><pre class="crayon-plain-tag">[{
        &quot;HostName&quot;: &quot;192.168.0.123&quot;,
        &quot;Type&quot;: &quot;PlugWithEnergyMeter&quot;
        }, {
        &quot;HostName&quot;: &quot;192.168.0.234&quot;,
        &quot;Type&quot;: &quot;Plug&quot;
    }]</pre><p></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=&quot;TPLinkSmartHome&quot;&gt;
    &lt;settings&gt;
        &lt;setting key=&quot;poolingInterval&quot; value=&quot;2000&quot; /&gt;
        &lt;setting key=&quot;devices&quot;&gt;
            &lt;content&gt;[{
            &quot;HostName&quot;: &quot;192.168.0.123&quot;,
            &quot;Type&quot;: &quot;PlugWithEnergyMeter&quot;
        }, {
            &quot;HostName&quot;: &quot;192.168.0.234&quot;,
            &quot;Type&quot;: &quot;PlugWithEnergyMeter&quot;
        }]&lt;/content&gt;
        &lt;/setting&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>devices</td>
<td>JsonObject</td>
<td>OUI</td>
<td>liste de périphériques</td>
</tr>
<tr>
<td>poolingInterval</td>
<td>int</td>
<td>NON</td>
<td>interval en millisecondes entre deux récupération de l&rsquo;état des périphériques (défaut : 2000ms)</td>
</tr>
</tbody>
</table>
<h3 id="stateobjects">StateObjects</h3>
<p>Vous retrouverez 1 StateObject publié par périphérique par le package :</p>
<table>
<thead>
<tr>
<th>Nom</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>TPLink-##Hostname##</td>
<td>JsonObject</td>
<td>les informations d&rsquo;un périphérique</td>
</tr>
</tbody>
</table>
<h3 id="messagecallbacks">MessageCallbacks</h3>
<p>Le package expose 3 MessageCallbacks :</p>
<table>
<thead>
<tr>
<th>Signature</th>
<th>Réponse (saga)</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>GetDailyStat(string hostname, int? year = null, int? month = null)</td>
<td>JsonObject</td>
<td>Les statistiques d&rsquo;utilisation quotidiennes pour une année et un mois donné (Pour les prises HS110 uniquement)</td>
</tr>
<tr>
<td>GetMonthStat(string hostname, int? year = null)</td>
<td>JsonObject</td>
<td>Les statistiques d&rsquo;utilisation mensuelles pour une année donnée (Pour les prises HS110 uniquement)</td>
</tr>
<tr>
<td>SetOutputState(string hostname, bool state)</td>
<td>void</td>
<td>Change l&rsquo;état (ON/OFF) d&rsquo;une prise (Pour les prises HS100 et HS110 uniquement)</td>
</tr>
<tr>
<td>SetLedOff(string hostname, bool isOff)</td>
<td>Object</td>
<td>Change l&rsquo;état (ON/OFF) de la LED d&rsquo;une prise (Pour les prises HS100 et HS110 uniquement)</td>
</tr>
</tbody>
</table>
<h3 id="quelques-exemples">Quelques exemples</h3>
<ul>
<li>Surveiller la consommation d&rsquo;une prise connectée</li>
<li>Contrôler à distance une prise connectée, éteindre la nuit certaines prises etc.</li>
</ul>
<h3 id="license">License</h3>
<p>Apache License</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/tplinksmarthome/">TPLinkSmartHome : Prises et autres périphériques connectés</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/tplinksmarthome/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:01:57 by W3 Total Cache
-->