﻿<?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 Batterie - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/batterie/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/batterie/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:36: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 Batterie - Constellation</title>
	<link>https://developer.myconstellation.io/tag/batterie/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>BatteryChecker : vos batteries et onduleurs dans Constellation</title>
		<link>https://developer.myconstellation.io/package-library/batterychecker/</link>
					<comments>https://developer.myconstellation.io/package-library/batterychecker/#comments</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Fri, 21 Oct 2016 09:47:02 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Batterie]]></category>
		<category><![CDATA[Onduleur]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3265</guid>

					<description><![CDATA[<p>Le package BatteryChecker synchronise l’état de vos batterie (ou onduleurs) dans les StateObjects Constellation afin de pouvoir exploiter cette donnée dans vos pages Web, programmes, objets connectés ou autre. Attention ce package exploite la couche WMI (Windows Management Instrumentation) pour</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/batterychecker/">BatteryChecker : vos batteries et onduleurs dans Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le package BatteryChecker synchronise l’état de vos batterie (ou onduleurs) dans les StateObjects Constellation afin de pouvoir exploiter cette donnée dans vos pages Web, programmes, objets connectés ou autre.</p>
<p>Attention ce package exploite la couche WMI (<em>Windows Management Instrumentation</em>) pour récupérer l’état des batteries et onduleurs. De ce fait, ce package ne fonctionnera que sur des sentinelles Windows.</p>
<h3>Installation</h3>
<p>Depuis le “Online Package Repository” de votre Console Constellation, déployez le package BatteryChecker :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-60.png"><img class="colorbox-3265"  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-57.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>Pour finir, sur la page de Settings, vous pouvez redéfinir l’intervalle de rafraichissement des StateObjects de vos batteries/onduleurs. Par défaut la valeur est configurée à 5000 ms, c’est à dire que les StateObjects de vos batteries seront rafraichit toutes les 5 secondes.</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-61.png"><img class="colorbox-3265"  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-58.png" alt="image" width="350" height="188" 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="BatteryChecker" /&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="456"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>RefreshInterval</strong></td>
<td valign="top" width="10">Int32</td>
<td valign="top" width="10">Optionnel<br />
Par défaut : 5000</td>
<td valign="top" width="456">Intervalle de temps en milliseconde pour la mise à jour de l’état des batteries dans Constellation.</td>
</tr>
</tbody>
</table>
<h4>Les StateObjects</h4>
<p>Vous retrouverez autant de StateObjects que vous avez de batteries ou onduleurs :</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>&lt;Serial Number&gt;</strong></td>
<td valign="top" width="10">BatteryChecker.BatteryState</td>
<td valign="top" width="446">StateObject dont le nom est le n° de série de votre batterie/onduleur, et la valeur contient différentes informations sur son état, temps de charge estimé en %, temps de charge restant en minutes, etc ..</td>
</tr>
</tbody>
</table>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-62.png"><img class="colorbox-3265"  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-59.png" alt="image" width="350" height="104" border="0" /></a></p>
<h4 align="left">Les MessageCallbacks</h4>
<p>Le package n’expose aucun MessageCallback.</p>
<h3 align="left">Quelques exemples</h3>
<ul>
<li>Envoyer une notification en cas de  batterie trop faible</li>
<li>Afficher la charge de la batterie sur un anneau de LED avec un Arduino/ESP</li>
<li>Afficher l’état de la batterie sur un Dashboard HTML</li>
</ul>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/batterychecker/">BatteryChecker : vos batteries et onduleurs 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/batterychecker/feed/</wfw:commentRss>
			<slash:comments>2</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-22 02:13:29 by W3 Total Cache
-->