Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Passing data point event detectors from DGLux


  • Has anybody got any suggestions for how to set data point events from Mango in DGLux? I have tried passing a virtual data source point from DGLux to Mango with the set point value but am struggling with trying to associate it with a point event.
    e.g. datapoint 1.high level event = value from DGLux

    Looking forward to suggestions,
    Matt.


  • Hey Matt,

    We've had a few requests for features to integrate mango events into DGLux and it's on the table. There are a few current methods that can be used. Can you explain a bit more exactly what you to do and maybe I can help.

    Thanks,
    Joel.


  • Hi Joel,
    I have a DGLux dashboard which is dynamically created based on the point hierarchy in Mango. For each site we monitor, a new folder is created and data points are assigned. This works really well for both historic and realtime data in DGLux using SQL queries to build data tables.
    The next step is to create an alarms page in DGLux so for every data point the user can select a high point and low point alarm. I am using templates in Mango to set up each data point so setting up high and low point alarms when adding new datapoints is straightforward.
    Is it possible to access point event values directly from DGLux? I was thinking I could set high and low alarms for each data point when the point is created and set them to extremely high (or low) values. A list of point sources and alarms could then be created in DGLux and the values of these alarms modified from the dashboard.

    Cheers,
    Matt.


  • If you want alarms with dynamic setpoints that you can adjust from DGLux the easiest way to do this is to use a binary meta data point for the alarm and then, for example, two virtual points for your high level set point and your low level set point. These two virtual points plus the value point can be used to return a true or false in the meta script you can then also put a state event detector if you want to trigger an event in Mango when ever the meta point goes true. You could easily use the new template tool to create all of this each time you add a new device to your system.

    Let me know if this helps,
    Joel.


  • Thanks for your help Joel. Seems to work a treat. It would be nice if all this could be integrated into the data point down the track though. It would make scalability much less if an issue as for each data source you wouldn't need 2 extra points per event.

    Cheers,
    Matt.