<?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[Opening and closing spigot when value changes]]></title><description><![CDATA[<p>I am reciving a 1 or 0 from a sensor, ç<br />
Its constantly comparing the value to trigger a message when the sensor is activated and sends a 1</p>
<p>I don't want the system to bang the message continuosly, so im wondering how can i open and close the<br />
send of the message using a spigot that closes and opens depending if the values have changed.</p>
<p>any idea on how to proceed?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 12:10:36 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13060.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Oct 2020 19:58:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Opening and closing spigot when value changes on Mon, 05 Oct 2020 19:58:28 GMT]]></title><description><![CDATA[<p>I am reciving a 1 or 0 from a sensor, ç<br />
Its constantly comparing the value to trigger a message when the sensor is activated and sends a 1</p>
<p>I don't want the system to bang the message continuosly, so im wondering how can i open and close the<br />
send of the message using a spigot that closes and opens depending if the values have changed.</p>
<p>any idea on how to proceed?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes</guid><dc:creator><![CDATA[tiemget]]></dc:creator><pubDate>Mon, 05 Oct 2020 19:58:28 GMT</pubDate></item><item><title><![CDATA[Reply to Opening and closing spigot when value changes on Mon, 05 Oct 2020 20:08:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/tiemget">@tiemget</a> The [change] does what you need and no [spigot} needed.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/2</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Mon, 05 Oct 2020 20:08:44 GMT</pubDate></item><item><title><![CDATA[Reply to Opening and closing spigot when value changes on Mon, 05 Oct 2020 22:36:38 GMT]]></title><description><![CDATA[<p>But the message I want to bang is a contant so i would have to open the spigot, i thought of something like this but i don't think it quite works.<br />
<img src="/uploads/files/1601937345643-capture-d-e-cran-2020-10-06-a-00.35.40.png" alt="Capture d’écran 2020-10-06 à 00.35.40.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/3</guid><dc:creator><![CDATA[tiemget]]></dc:creator><pubDate>Mon, 05 Oct 2020 22:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to Opening and closing spigot when value changes on Mon, 05 Oct 2020 23:12:47 GMT]]></title><description><![CDATA[<p>Think some more context is needed, the patch itself would help, perhaps some info on what this sensor is as well. I am not quite understanding what you are trying to accomplish.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/4</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Mon, 05 Oct 2020 23:12:47 GMT</pubDate></item><item><title><![CDATA[Reply to Opening and closing spigot when value changes on Tue, 06 Oct 2020 06:12:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/tiemget">@tiemget</a> You would need a trigger in there to control the order of operations.<br />
Or this might work although as @old says...... hard to know  for sure......<br />
David.<br />
<img src="/uploads/files/1601964770529-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13060/opening-and-closing-spigot-when-value-changes/5</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 06 Oct 2020 06:12:53 GMT</pubDate></item></channel></rss>