<?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[Send publisher when datasource modbus fail]]></title><description><![CDATA[<p dir="auto">Currently, we have Mango 3 in our projects, and we are testing the new version of Mango 5 for the next one we are going to implement. In Mango 3, we usually use many Modbus I/P type datasources for communication with peripherals. To determine if the devices are out of communication, we have MetadaSource that checks every minute the last time values were received for each measurement. If that time exceeds 2 minutes, we set a virtual DataPoint to a value of 0, which triggers an HTTP Publisher to an endpoint on a server that manages the corresponding JSON to indicate that this measurement is out of communication. Before that, we used event management through the "Poll aborted" option, but we stopped doing so because sometimes there were communication drops and the event did not trigger correctly, so we were unaware of the issue.</p>
<p dir="auto">We would like to know if there is a better option in Mango 5 for sending a publisher if a Modbus I/P datasource stops communicating with the corresponding peripheral. We have seen significant changes in event management at the DataPoints level, allowing customization, but we only see information being sent via email, Slack, or other methods, not through a Publisher.</p>
]]></description><link>https://forum.mango-os.com/topic/5828/send-publisher-when-datasource-modbus-fail</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 19:44:30 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5828.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Jun 2024 14:55:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Send publisher when datasource modbus fail on Thu, 13 Jun 2024 19:25:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaballeroa" aria-label="Profile: jcaballeroa">@<bdi>jcaballeroa</bdi></a> given that the changes implemented appear to be mainly ui focused, I do not think you'll find a better way at this stage.</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/28203</link><guid isPermaLink="true">https://forum.mango-os.com/post/28203</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Thu, 13 Jun 2024 19:25:06 GMT</pubDate></item></channel></rss>