<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Door, Window and Push-button Sensor]]></title><description><![CDATA[<p dir="auto">Bonjour</p>
<p dir="auto">j'utilise le code donné dans exemple mais je souhaiterai avoir QUATRES info porte ouverte<br />
mais quand je modifie le code plus rien ne marche</p>
<p dir="auto">#define CHILD_ID 3<br />
<strong>#define BUTTON_PIN  3  // Arduino Digital I/O pin for button/reed switch</strong></p>
<p dir="auto">MySensor gw;<br />
Bounce debouncer = Bounce();<br />
int oldValue=-1;</p>
<p dir="auto">merci de votre aide !</p>
<p dir="auto">pour  les relais la programmation est facile :</p>
<p dir="auto">#define RELAY_1  3  // Arduino Digital I/O pin number for first relay (second on pin+1 etc)<br />
<strong>#define NUMBER_OF_RELAYS 1 // Total number of attached relays</strong><br />
#define RELAY_ON 1  // GPIO value to write to turn on attached relay<br />
#define RELAY_OFF 0 // GPIO value to write to turn off attached relay</p>
]]></description><link>https://forum.mysensors.org/topic/1921/door-window-and-push-button-sensor</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 17:38:01 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/1921.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Sep 2015 16:48:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Door, Window and Push-button Sensor on Thu, 03 Sep 2015 17:48:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nonobike" aria-label="Profile: nonobike">@<bdi>nonobike</bdi></a>,</p>
<p dir="auto">This is a english speaking forum. Please try to translate your question.</p>
]]></description><link>https://forum.mysensors.org/post/20369</link><guid isPermaLink="true">https://forum.mysensors.org/post/20369</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Thu, 03 Sep 2015 17:48:49 GMT</pubDate></item></channel></rss>