<?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[Triggering a counter data point to enable and restart]]></title><description><![CDATA[<p dir="auto">Heya,</p>
<p dir="auto">This seems like a simple thing to do but I haven't found anything that is. Maybe it has been a long week. heh</p>
<p dir="auto">What I have is a virtual point set to increment by 1 in a virtual data source that will poll every 1 second. I have a meta point that will reset that virtual point to 0 and enable it based on conditions of another point.</p>
<p dir="auto">Is this the way to create a counter that is triggered? It seems sorta complex.</p>
<p dir="auto">Thanks<br />
Ian</p>
]]></description><link>https://forum.mango-os.com/topic/4708/triggering-a-counter-data-point-to-enable-and-restart</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 04:23:05 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4708.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Feb 2020 22:44:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Triggering a counter data point to enable and restart on Mon, 17 Feb 2020 21:27:44 GMT]]></title><description><![CDATA[<p dir="auto">Use an event handler and trigger it which runs a script which increments, enables/disables values using a the supplied scripting context points when it has fired. Use the Set Point value type handler.</p>
]]></description><link>https://forum.mango-os.com/post/24689</link><guid isPermaLink="true">https://forum.mango-os.com/post/24689</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 17 Feb 2020 21:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to Triggering a counter data point to enable and restart on Mon, 17 Feb 2020 10:39:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iperry" aria-label="Profile: iperry">@<bdi>iperry</bdi></a> said in <a href="/post/24677">Triggering a counter data point to enable and restart</a>:</p>
<blockquote>
<p dir="auto">enable it</p>
</blockquote>
<p dir="auto">I think you might be better off using a scripting data source running on a cron pattern.  You can have all your logic in one script to increment and reset as needed by bringing in extra context points.</p>
]]></description><link>https://forum.mango-os.com/post/24682</link><guid isPermaLink="true">https://forum.mango-os.com/post/24682</guid><dc:creator><![CDATA[CraigWeb]]></dc:creator><pubDate>Mon, 17 Feb 2020 10:39:56 GMT</pubDate></item></channel></rss>