• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Delay SMS notification from Event Handler

    User help
    3
    4
    488
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ryanlo
      last edited by

      Hi all,

      I have configured the event handler to send email and SMS notification when the generator has low fuel.

      It appears there was a low fuel event at 21/02 00:46 in which the email notification was sent.
      However the text message may have only been sent out ~48 hours later, on the morning of 23/02.

      How do I fix this delay issue? Or is this an issue from the SMS provider?

      Thanks,
      Ryan

      MattFoxM terrypackerT 2 Replies Last reply Reply Quote 0
      • MattFoxM
        MattFox @ryanlo
        last edited by MattFox

        Hi @ryanlo I'd suggest testing the logic yourself with a virtual datapoint as the trigger. Set the virtual point from the data point details page and wait to see if anything comes through in a timely manner. If it doesn't, check your event handler to see how long it expects the value to breach the limits defined before firing the event handler. Try and log as much as you can, then watch to confirm in the logs (even via the console is fine: sudo tail -f /opt/mango-data/logs/ma.log or whatever the datasource log file is called).
        Should you see the change firing the event then you know it's the cell provider. However if you set the value and nothing happens, best to find out if there's something else like a script in between generating your delay... Let me know what you find

        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • terrypackerT
          terrypacker
          last edited by

          @ryanlo the other thing you could do, if you think its the SMS relay then add another reliable email address to the handler so it send the message to multiple addresses. If the SMS address is delayed but the other one (gmail or something) gets it almost immediately you will know its the relay and not Mango.

          1 Reply Last reply Reply Quote 0
          • terrypackerT
            terrypacker @ryanlo
            last edited by

            @ryanlo In addition to what @MattFox is saying you should also see an Event / Alarm in the UI to correspond to the event being detected. The handler should be linked to that event and as Matt said, if you setup logging correctly you will also see it in the logs.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post