• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Elena

    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 Mango 5 Documentation Website
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    Elena

    @Elena

    0
    Reputation
    122
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Elena Unfollow Follow

    Latest posts made by Elena

    • RE: Email Event Handler - support for multistate and binary values

      Both 'renderedValue' and 'rendered' return 'undefined' in email unfortunately.

      Would you be able to help with the script please?

      posted in Dashboard Designer & Custom AngularJS Pages
      E
      Elena
    • RE: Email Event Handler - support for multistate and binary values

      thanks Matt.

      more context...
      We've got event handlers, and they are working fine.

      But now we need to enhance the emails to show a bit more data at the time of the event, thus populate some data points values into the email e.g.
      State (multistate type data point with 15 rendered values e.g. 1=Ready, 2=Fault etc) or
      Alarm (binary type, 0=Inactive, 1=Active).

      I'm defining these data points in Event Handler Script:

      model.put("p1",p1.value)
      model.put("p2",p2.value)
      

      and adding code into Custom Email Template:

      <table>
      <tr>
      <th>State</th>
      <td>${p1}</td>
      </tr>
      <tr>
      <th>Alarm</th>
      <td>${p2}</td>
      </tr>
      </table>
      

      result as per initial post:
      when only multistate data point defined in the code above, I'm getting an email and it contains State value as '1', not as I would expect - 'Ready'
      65d6896e-a4fa-47cb-9ca8-9a3543739deb-image.png

      and when binary data point is in the code - email is not getting send

      posted in Dashboard Designer & Custom AngularJS Pages
      E
      Elena
    • Email Event Handler - support for multistate and binary values

      MangoGT 3.7.7
      How to make an Event Handler to email rendered multistate values and binary points please?
      At the moment multistate data point returns raw value and binary blocks emails from sending altogether (errors in .ma file).

      .ma file :

      ERROR 2021-05-04T09:27:34,289 (com.serotonin.m2m2.rt.event.handlers.EmailHandlerRT.sendEmail:468) - Error sending email 
      java.lang.NullPointerException: null
      	at com.serotonin.m2m2.rt.event.handlers.EmailHandlerRT.sendEmail(EmailHandlerRT.java:292) ~[mango-3.7.7.jar:?]
      	at com.serotonin.m2m2.rt.event.handlers.EmailHandlerRT.sendEmail(EmailHandlerRT.java:208) ~[mango-3.7.7.jar:?]
      	at com.serotonin.m2m2.rt.event.handlers.EmailHandlerRT.scheduleTimeout(EmailHandlerRT.java:165) ~[mango-3.7.7.jar:?]
      	at com.serotonin.m2m2.rt.event.handlers.EmailHandlerRT.scheduleTimeout(EmailHandlerRT.java:79) ~[mango-3.7.7.jar:?]
      	at com.serotonin.m2m2.util.timeout.ModelTimeoutTask.run(ModelTimeoutTask.java:36) ~[mango-3.7.7.jar:?]
      	at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.7.jar:?]
      	at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.7.jar:?]
      	at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.7.jar:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
      	at java.lang.Thread.run(Thread.java:830) [?:?]
      
      posted in Dashboard Designer & Custom AngularJS Pages
      E
      Elena
    • RE: How to log out a user from Mango

      Still not solved.
      The problem is - I've got legacy users which have been deleted from the mango server when people left the company.
      I'm unable to add them back (error says username already exist) and I can't see them in JSON export for Users.

      posted in How-To
      E
      Elena
    • RE: Mailing List "Valaidation Exception" on attempted save

      this issue is still valid in Mango version 3.7,
      have to use old UI to add emails.

      posted in Mango feedback
      E
      Elena
    • RE: How to log out a user from Mango

      Thanks Matt.
      This didn't work for me. I've set the value to 5 minutes and after 15+ minutes everyone was still showing as Active in Events and I was able to navigate around without logging in again.

      posted in How-To
      E
      Elena
    • How to log out a user from Mango

      Hello,
      We've got a situation when people are logging into the Mango and leaving their sessions running for a while, which is increasing internet traffic.
      Is there a way to gracefully log out someone without restarting the Mango please?
      Appreciate your help.
      Elena

      posted in How-To
      E
      Elena