<?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[adjusting event detector thresholds via dashboard]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I need to give a customer access to edit event detector threshold values via a dashboard.</p>
<p dir="auto">Is there a way I can do this?</p>
<p dir="auto">Is there something in the API I can use for this, or even an example I could look at?</p>
<p dir="auto">Ideally it'd need to be dynamic so something like, for a given device, list all the event detectors that exist so you can select one and edit it.</p>
<p dir="auto">Thanks<br />
Shaun</p>
]]></description><link>https://forum.mango-os.com/topic/2965/adjusting-event-detector-thresholds-via-dashboard</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 00:09:37 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2965.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Sep 2017 17:28:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Wed, 08 Sep 2021 10:06:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> Is there any way to add dynamic name of event detector using $index.</p>
<pre><code>&lt;div ng-repeat="point in soapDispenserLevel"&gt;
      &lt;ma-point-event-detector point="point" detector-type="LOW_LIMIT" alarm-level="DO_NOT_LOG" detector="soapDispenserLevel{{$index}}" &gt;&lt;/ma-point-event-detector&gt;
&lt;/div&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/26984</link><guid isPermaLink="true">https://forum.mango-os.com/post/26984</guid><dc:creator><![CDATA[ricardo]]></dc:creator><pubDate>Wed, 08 Sep 2021 10:06:41 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Wed, 22 Nov 2017 20:26:44 GMT]]></title><description><![CDATA[<p dir="auto">Its a full production release. Sorry I should have mentioned.<br />
Its in UI v3.2.8. Also install Mango API 3.2.4.</p>
<p dir="auto">It will create a new point event detector when they don't exist or update an existing one with the same alarm level.</p>
]]></description><link>https://forum.mango-os.com/post/16289</link><guid isPermaLink="true">https://forum.mango-os.com/post/16289</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 22 Nov 2017 20:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Wed, 22 Nov 2017 19:20:11 GMT]]></title><description><![CDATA[<p dir="auto">Christmas has come early, Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: Jared-Wiltshire">@<bdi>Jared-Wiltshire</bdi></a>! Do I need to retrieve this directive via the beta channel or is there a new update available?</p>
]]></description><link>https://forum.mango-os.com/post/16285</link><guid isPermaLink="true">https://forum.mango-os.com/post/16285</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Wed, 22 Nov 2017 19:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Tue, 21 Nov 2017 17:13:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: MattFox">@<bdi>MattFox</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/shaun" aria-label="Profile: shaun">@<bdi>shaun</bdi></a></p>
<p dir="auto">There's now a component for getting and saving event detectors - <code>&lt;ma-point-event-detector&gt;</code>.<br />
Here's an example of how to use it.</p>
<pre><code>&lt;ma-watch-list-get ng-model="designer.watchList" parameters="designer.parameters" on-points-change="designer.points = $points" id="5ea22e95-d861-4b05-ae99-0a50106bc47b" watch-list-xid="WL_ac76beaa-10f4-40f0-b714-d0fda1c1e801"&gt;&lt;/ma-watch-list-get&gt;
&lt;div class="ma-designer-root" id="db465455-2b87-4245-af82-86e1bb7b0434" style="width: 1366px; height: 768px; position: relative;"&gt;
    &lt;ma-point-value id="349d93d6-89ed-4c42-9e14-784e1e64263b" enable-popup="hide" style="position: absolute; left: 277.453px; top: 162px;" point="designer.points | filter:{name:'Voltage'}:true | maFirst"&gt;&lt;/ma-point-value&gt;
    &lt;ma-point-event-detector point="designer.points | filter:{name:'Voltage'}:true | maFirst" detector-type="LOW_LIMIT" alarm-level="CRITICAL" detector="criticalLowDetector"&gt;&lt;/ma-point-event-detector&gt;
    &lt;ma-point-event-detector point="designer.points | filter:{name:'Voltage'}:true | maFirst" detector-type="LOW_LIMIT" alarm-level="WARNING" detector="warningLowDetector"&gt;&lt;/ma-point-event-detector&gt;
    &lt;ma-point-event-detector point="designer.points | filter:{name:'Voltage'}:true | maFirst" detector-type="HIGH_LIMIT" alarm-level="WARNING" detector="warningHighDetector"&gt;&lt;/ma-point-event-detector&gt;
    &lt;ma-point-event-detector point="designer.points | filter:{name:'Voltage'}:true | maFirst" detector-type="HIGH_LIMIT" alarm-level="CRITICAL" detector="criticalHighDetector"&gt;&lt;/ma-point-event-detector&gt;
    
    &lt;md-input-container id="207b9fc3-d8d9-457d-b667-cc02c347f854" style="position: absolute; left: 77px; top: 110px;"&gt;
        &lt;label&gt;Critical low level&lt;/label&gt;
        &lt;input type="number" ng-model-options="{debounce: 1000}" ng-model="criticalLowDetector.limit" ng-change="criticalLowDetector.saveAndNotify();"&gt;
    &lt;/md-input-container&gt;
    &lt;md-input-container id="5ad3a950-d19f-4879-aed4-5d28dd70567d" style="position: absolute; left: 77px; top: 174px;"&gt;
        &lt;label&gt;Warning low level&lt;/label&gt;
        &lt;input type="number" ng-model-options="{debounce: 1000}" ng-model="warningLowDetector.limit" ng-change="warningLowDetector.saveAndNotify();"&gt;
    &lt;/md-input-container&gt;
    &lt;md-input-container id="5f3c58da-5323-4881-a90d-1477c72b66d1" style="position: absolute; left: 386px; top: 110px;"&gt;
        &lt;label&gt;Warning high level&lt;/label&gt;
        &lt;input type="number" ng-model-options="{debounce: 1000}" ng-model="warningHighDetector.limit" ng-change="warningHighDetector.saveAndNotify();"&gt;
    &lt;/md-input-container&gt;
    &lt;md-input-container id="9f82d6c8-5f53-4a72-a53e-09f54a2cf959" style="position: absolute; left: 387px; top: 174px;"&gt;
        &lt;label&gt;Critical high level&lt;/label&gt;
        &lt;input type="number" ng-model-options="{debounce: 1000}" ng-model="criticalHighDetector.limit" ng-change="criticalHighDetector.saveAndNotify();"&gt;
    &lt;/md-input-container&gt;
&lt;/div&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/16260</link><guid isPermaLink="true">https://forum.mango-os.com/post/16260</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 21 Nov 2017 17:13:44 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Mon, 30 Oct 2017 16:22:11 GMT]]></title><description><![CDATA[<p dir="auto">I definitely have adding a component to modify the event detectors on my list!</p>
]]></description><link>https://forum.mango-os.com/post/16013</link><guid isPermaLink="true">https://forum.mango-os.com/post/16013</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 30 Oct 2017 16:22:11 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Mon, 30 Oct 2017 03:25:49 GMT]]></title><description><![CDATA[<p dir="auto">That did the trick! Many thanks Mr Dunlap!</p>
]]></description><link>https://forum.mango-os.com/post/16003</link><guid isPermaLink="true">https://forum.mango-os.com/post/16003</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 30 Oct 2017 03:25:49 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Mon, 30 Oct 2017 00:38:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello Mr. Fox,</p>
<p dir="auto">Is it possible you have the env.properties entry</p>
<p dir="auto"><code>swagger.mangoApiVersion=v1</code></p>
<p dir="auto">when you could perhaps have</p>
<p dir="auto"><code>swagger.mangoApiVersion=v[12]</code></p>
<p dir="auto">? I believe an update on other things event detector related will be forthcoming.</p>
]]></description><link>https://forum.mango-os.com/post/16000</link><guid isPermaLink="true">https://forum.mango-os.com/post/16000</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 30 Oct 2017 00:38:34 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Sun, 29 Oct 2017 20:08:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello again gentlemen,<br />
Just following up on this development. Is there any further news regarding release time? Also, how do I enable the event detector api? Am running mango 3.2.2 and I cannot see the option in the swagger/index API list.</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/15999</link><guid isPermaLink="true">https://forum.mango-os.com/post/15999</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 29 Oct 2017 20:08:11 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Tue, 26 Sep 2017 03:10:50 GMT]]></title><description><![CDATA[<p dir="auto">I concur, I will require this ability myself for custom alarms set by individual users for datapoints reaching certain values. Please do keep us updated.</p>
]]></description><link>https://forum.mango-os.com/post/15593</link><guid isPermaLink="true">https://forum.mango-os.com/post/15593</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Tue, 26 Sep 2017 03:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Tue, 26 Sep 2017 03:06:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/joelhaggar" aria-label="Profile: JoelHaggar">@<bdi>JoelHaggar</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a><br />
Thanks for the help...</p>
<p dir="auto">Joel, we'd be looking to implement as soon as the feature was available :)<br />
If its not too much trouble, please let me know when this is ready for testing - I'd be happy to test this ahead of a production release!</p>
<p dir="auto">As for permissions, if you did have the ability to permit changes to event detectors separate to data points, that would give some extra security and protection from users, but it would probably be fine to give them edit permission to the data point.</p>
<p dir="auto">Phil, this sounds like it might be an option for us in the event that our customer requires us to have this implemented before the work Joel talks about is ready.</p>
<p dir="auto">Thanks<br />
Shaun</p>
]]></description><link>https://forum.mango-os.com/post/15592</link><guid isPermaLink="true">https://forum.mango-os.com/post/15592</guid><dc:creator><![CDATA[shaun]]></dc:creator><pubDate>Tue, 26 Sep 2017 03:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Mon, 25 Sep 2017 20:42:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi Shaun,</p>
<p dir="auto">There are some existing options already. Have a look in swagger at the event-detectors endpoints:</p>
<p dir="auto"><img src="https://camo.nodebb.org/c11ef25dfab2286f5fe61878fd22528c60e08627?url=https%3A%2F%2Fi.imgur.com%2FDOU5E01.png" alt="0_1506371943710_eventDetectors.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Alternatively script contexts have the context object <code>JsonEmport</code> documented in the in-mango "Mango JavaScript" help. One can use that to make any changes that would be possible through the JSON emport utilities, but it's not as direct as the API. There is a script-utils endpoint that enables you to run scripts through the API.</p>
]]></description><link>https://forum.mango-os.com/post/15583</link><guid isPermaLink="true">https://forum.mango-os.com/post/15583</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 25 Sep 2017 20:42:41 GMT</pubDate></item><item><title><![CDATA[Reply to adjusting event detector thresholds via dashboard on Mon, 25 Sep 2017 17:46:15 GMT]]></title><description><![CDATA[<p dir="auto">We started working on this very thing last week and will be adding in the API endpoints needed and making some Angular directives.  The only think I'm not clear on will be permissions.  Currently for a user to change a event detector setting they would need edit permissions on the data point.  Would that be ok or would you need a separate permission level just to edit the event detectors?  How soon do you need to supply this to your customer?  I think it's going to be at least a couple weeks before we release it.</p>
]]></description><link>https://forum.mango-os.com/post/15569</link><guid isPermaLink="true">https://forum.mango-os.com/post/15569</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Mon, 25 Sep 2017 17:46:15 GMT</pubDate></item></channel></rss>