<?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[How to publish the statistics of any Data Points??]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">Just wondering if it is possible to publish (like via Modbus TCP) the statistics (Max, or Min, or Ave) of any Data Points? If yes, how??</p>
<p dir="auto">Thanks,<br />
Saeed</p>
]]></description><link>https://forum.mango-os.com/topic/4902/how-to-publish-the-statistics-of-any-data-points</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 06:16:19 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4902.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Aug 2020 02:35:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to publish the statistics of any Data Points?? on Fri, 14 Aug 2020 02:02:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skazemi" aria-label="Profile: skazemi">@<bdi>skazemi</bdi></a><br />
use the modbus publisher, then do data transfer your statistics to these points.<br />
<img src="https://camo.nodebb.org/ca76af66c42b2d2fe02c353f27fde79a584eafc5?url=https%3A%2F%2Fi.imgur.com%2FMcmaFsZ.png" alt="0_1597370821267_Screen Shot 2020-08-14 at 12.04.27 pm.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/25638</link><guid isPermaLink="true">https://forum.mango-os.com/post/25638</guid><dc:creator><![CDATA[cwangv]]></dc:creator><pubDate>Fri, 14 Aug 2020 02:02:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to publish the statistics of any Data Points?? on Fri, 14 Aug 2020 02:55:29 GMT]]></title><description><![CDATA[<p dir="auto">I'm still learning about modbus at this time. But if you can make those individual points "settable"  then use the <code>setValue()</code> call to write your statistical values back to the modbus endpoint then you're away.</p>
<p dir="auto">Look at the setting values example. Just make sure what you are setting is within the parameters of the datatype of your modbus datapoint.</p>
<p dir="auto">/ui/examples/setting-point-values/set-point</p>
<p dir="auto">/ui/examples/statistics/get-statistics</p>
<p dir="auto">Edit: If you're using the publisher, you will likely have to use the mango javascript code then you can return the value to set it for a meta datapoint. Attach this meta datapoint to your modbus tcp/ip publisher and you're away.</p>
<p dir="auto">/ui/help/scripting-editor/help</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/25637</link><guid isPermaLink="true">https://forum.mango-os.com/post/25637</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Fri, 14 Aug 2020 02:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to publish the statistics of any Data Points?? on Fri, 14 Aug 2020 04:57:31 GMT]]></title><description><![CDATA[<p dir="auto">Hi Craig</p>
<p dir="auto">Thanks, I want to publish them on Modbus/TCP, do we have any article regarding this??</p>
<p dir="auto">Saeed</p>
]]></description><link>https://forum.mango-os.com/post/25636</link><guid isPermaLink="true">https://forum.mango-os.com/post/25636</guid><dc:creator><![CDATA[skazemi]]></dc:creator><pubDate>Fri, 14 Aug 2020 04:57:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to publish the statistics of any Data Points?? on Wed, 12 Aug 2020 06:22:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skazemi" aria-label="Profile: skazemi">@<bdi>skazemi</bdi></a></p>
<p dir="auto">What protocol would you like to publish on?  You can make meta points that update to a points stats value you choose then publish them.</p>
]]></description><link>https://forum.mango-os.com/post/25622</link><guid isPermaLink="true">https://forum.mango-os.com/post/25622</guid><dc:creator><![CDATA[CraigWeb]]></dc:creator><pubDate>Wed, 12 Aug 2020 06:22:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to publish the statistics of any Data Points?? on Tue, 11 Aug 2020 04:22:33 GMT]]></title><description><![CDATA[<p dir="auto">Please enable the api menu from administration-&gt;edit menu -&gt; api docs then save. This will provide all the information you need on mangoUI components. Also refer to the examples page at the bottom of the menu for how they are used.</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/25617</link><guid isPermaLink="true">https://forum.mango-os.com/post/25617</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Tue, 11 Aug 2020 04:22:33 GMT</pubDate></item></channel></rss>