• 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

    Disabling Event Handlers - User

    User help
    3
    7
    1.0k
    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.
    • H
      hayden_AUS
      last edited by

      Hi,

      I can't see how to give users permissions to Enable/disable event handlers, that have been created by admin.
      I gave access to the Event Handlers menu item, which is there, but I can't see any options in the actual individual event handlers, which are not visible.

      Does anyone know?
      (V3)

      MattFoxM 1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox @hayden_AUS
        last edited by

        @hayden_AUS
        What you're looking for is: Requires global Event Handler privileges
        Unfortunately, there is nothing clear to me right this minute that stands out as being able to make it permissable - to the extent I fear it's hardcoded for superadmin. I've dug through the source and nothing has made itself known yet...

        Fox

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

        H 1 Reply Last reply Reply Quote 0
        • H
          hayden_AUS @MattFox
          last edited by

          @MattFox Hi Matt, the application is a cold room used as a grow room.
          The room has set-points for alarms and also automation to turn off grow lights, when the temp gets to high.
          But we need to disable all the alarms and automation when they have the doors open for loading/unloading, using an easy method.

          I might try to setup the Event Handlers using external context points (maybe a virtual binary point,or physical switch) and scripts, if disabling the event handlers by a user is not possible.

          ...or just create another user with superadmin privileges.

          Thanks anyway for looking at it...

          MattFoxM 1 Reply Last reply Reply Quote 0
          • MattFoxM
            MattFox @hayden_AUS
            last edited by MattFox

            @hayden_AUS if you can utilise extra points, then definitely try triggering a script instead and using an if statement logic based upon a virtual datapoint value that your users can amend. This will be a means to enable and disable the behaviour inside your script OR letting the event handler also fire conditionally based upon your alarm value being high and your custom user value being low.
            That might give you the leverage you need

            Edit again: Set your alarm points fed via metapoints using the control points plus your user point and thus return a value!

            Fox

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

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

              @hayden_AUS we added permissions like this in Mango 4+, but there are only 2 levels for Event Handlers. View and Edit. If you wanted a user to be able to disable the event handler they would need to have the edit permission for that handler. Which would allow them to change any setting on it.

              In Mango 3 Event Handlers are a superadmin thing only.

              What @MattFox is suggesting is a common pattern that we use also, put your alarming logic inside Meta points and then set a basic event detector (State Detector) on the Meta point which can raise the event and handle it.

              MattFoxM H 2 Replies Last reply Reply Quote 0
              • MattFoxM
                MattFox @terrypacker
                last edited by

                @terrypacker thanks for helping out in the forum, glad to see you're still around!

                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
                • H
                  hayden_AUS @terrypacker
                  last edited by

                  @terrypacker Thanks, I will set them up using meta points as you suggest.

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