<?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[Meta Data Point does not work with two context points]]></title><description><![CDATA[<p dir="auto">I will start with a simple explanation and add any further detail if needed. I have a Meta Data Source with a point that calculates a very simple difference between two context data points. The script validates during the set up, but the point does not calculate when saved. It works fine if I only use one data point context and a hard number but not two context data points. It does not matter from what other data sources I use, it always fails with two context points. I can have both checked for context, or just one, but still no go. The naming is fine or it wouldn't validate. So I am at a loss with this very simple point.</p>
<p dir="auto">Any ideas?</p>
<p dir="auto">Any further info needed?</p>
<p dir="auto">Thanks in advance.<br />
PS - I also searched this forum for anything, and did not find much.</p>
<p dir="auto">Version is 3.7.x with all updates completed a few days ago.</p>
]]></description><link>https://forum.mango-os.com/topic/4931/meta-data-point-does-not-work-with-two-context-points</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 17:06:16 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4931.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Sep 2020 19:14:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Meta Data Point does not work with two context points on Tue, 15 Sep 2020 20:59:52 GMT]]></title><description><![CDATA[<p dir="auto">Joel,</p>
<p dir="auto">I am embarrassed, but you helped me find it with the json. I did not realize I had limits set on the discard values. I new it was something simple. Problem solved. I must have copied this point.</p>
]]></description><link>https://forum.mango-os.com/post/25752</link><guid isPermaLink="true">https://forum.mango-os.com/post/25752</guid><dc:creator><![CDATA[jvaughters]]></dc:creator><pubDate>Tue, 15 Sep 2020 20:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to Meta Data Point does not work with two context points on Tue, 15 Sep 2020 20:54:16 GMT]]></title><description><![CDATA[<p dir="auto">Here is the json.</p>
<p dir="auto">{<br />
"dataPoints":[<br />
{<br />
"xid":"DP_0f1ff7a5-96bf-4daa-a8a6-fe14e1afaab4",<br />
"name":"Delta Upstairs Attic",<br />
"enabled":true,<br />
"loggingType":"INTERVAL",<br />
"intervalLoggingPeriodType":"MINUTES",<br />
"intervalLoggingType":"AVERAGE",<br />
"purgeType":"YEARS",<br />
"pointLocator":{<br />
"dataType":"NUMERIC",<br />
"updateEvent":"NONE",<br />
"contextUpdateEvent":"CONTEXT_UPDATE",<br />
"context":[<br />
{<br />
"varName":"p59",<br />
"dataPointXid":"DP_937c0338-c38c-45cb-9167-b5fec4e5ce81",<br />
"updateContext":true<br />
},<br />
{<br />
"varName":"p58",<br />
"dataPointXid":"DP_a79ff828-72d6-480a-b2fc-6df058f76707",<br />
"updateContext":false<br />
}<br />
],<br />
"logLevel":"NONE",<br />
"variableName":"delta_upstairs_attic",<br />
"scriptPermissions":[<br />
"superadmin"<br />
],<br />
"executionDelaySeconds":0,<br />
"logCount":5,<br />
"logSize":1.0,<br />
"script":"var tempvar1 = p59.value;\nvar tempvar2 = p58.value;\nreturn tempvar1 - tempvar2;",<br />
"settable":false,<br />
"updateCronPattern":""<br />
},<br />
"eventDetectors":[<br />
],<br />
"plotType":"SPLINE",<br />
"rollup":"NONE",<br />
"unit":"",<br />
"simplifyType":"NONE",<br />
"chartColour":"",<br />
"chartRenderer":{<br />
"type":"IMAGE",<br />
"timePeriodType":"DAYS",<br />
"numberOfPeriods":1<br />
},<br />
"dataSourceXid":"DS_4ddc2b19-9bce-44f9-bf79-812775e6a2da",<br />
"defaultCacheSize":1,<br />
"deviceName":"Calcs",<br />
"discardExtremeValues":true,<br />
"discardHighLimit":200.0,<br />
"discardLowLimit":40.0,<br />
"intervalLoggingPeriod":1,<br />
"intervalLoggingSampleWindowSize":0,<br />
"overrideIntervalLoggingSamples":false,<br />
"preventSetExtremeValues":false,<br />
"purgeOverride":false,<br />
"purgePeriod":1,<br />
"readPermission":"superadmin, user",<br />
"setExtremeHighLimit":1.7976931348623157E308,<br />
"setExtremeLowLimit":-1.7976931348623157E308,<br />
"setPermission":"superadmin, user",<br />
"tags":{<br />
},<br />
"textRenderer":{<br />
"type":"ANALOG",<br />
"useUnitAsSuffix":false,<br />
"suffix":"",<br />
"format":"0.00"<br />
},<br />
"tolerance":0.0<br />
}<br />
]<br />
}</p>
]]></description><link>https://forum.mango-os.com/post/25751</link><guid isPermaLink="true">https://forum.mango-os.com/post/25751</guid><dc:creator><![CDATA[jvaughters]]></dc:creator><pubDate>Tue, 15 Sep 2020 20:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to Meta Data Point does not work with two context points on Tue, 15 Sep 2020 20:42:22 GMT]]></title><description><![CDATA[<p dir="auto">If you can share your script and a JSON export of your Data Point that would be the first step to find out what other questions there might be.</p>
]]></description><link>https://forum.mango-os.com/post/25750</link><guid isPermaLink="true">https://forum.mango-os.com/post/25750</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Tue, 15 Sep 2020 20:42:22 GMT</pubDate></item></channel></rss>