Send publisher when datasource modbus fail
-
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.
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.
-
@jcaballeroa given that the changes implemented appear to be mainly ui focused, I do not think you'll find a better way at this stage.
Fox
-
thanks for creating this topic