<?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[metadata points to calculate duty cycle and measure on and off time]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I'm monitoring an air conditioner and part of the stats I'm collecting is compressor On/Off via a binary value.</p>
<p dir="auto">From this I'd like to calculate</p>
<ol>
<li>Duty Cycle over the last 60 minutes</li>
<li>On-time (either most recent or perhaps an average of on-time over the last 60 mins?)</li>
<li>Off-time (either most recent or perhaps an average of on-time over the last 60 mins?)</li>
</ol>
<p dir="auto">I'm totally lost as to how to even start to calculate this stuff with a metadata point. Can anyone provide any hints?</p>
<p dir="auto">Cheers!</p>
]]></description><link>https://forum.mango-os.com/topic/2521/metadata-points-to-calculate-duty-cycle-and-measure-on-and-off-time</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 21:23:31 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2521.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Nov 2016 08:17:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to metadata points to calculate duty cycle and measure on and off time on Wed, 02 Nov 2016 04:55:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi Phil,</p>
<p dir="auto">Thanks for the info... I'll check it out.</p>
<p dir="auto">Cheers!</p>
]]></description><link>https://forum.mango-os.com/post/13105</link><guid isPermaLink="true">https://forum.mango-os.com/post/13105</guid><dc:creator><![CDATA[shaun]]></dc:creator><pubDate>Wed, 02 Nov 2016 04:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to metadata points to calculate duty cycle and measure on and off time on Tue, 01 Nov 2016 17:27:18 GMT]]></title><description><![CDATA[<p dir="auto">I would suggest you check out the output of <code>print( p123.past(HOUR) );</code> in a meta point with your Binary point in context. There's a good chance it has all the information you're looking for in it. You can find more details about the statistics or point values functions in the Mango Java Script help, which you can access through either the Meta Point or the Meta Data Source help dialogues, near the bottom in the 'Related Items' section.</p>
]]></description><link>https://forum.mango-os.com/post/13100</link><guid isPermaLink="true">https://forum.mango-os.com/post/13100</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 01 Nov 2016 17:27:18 GMT</pubDate></item></channel></rss>