• 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

    Is there any way to export an event detector?

    How-To
    3
    9
    1.4k
    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.
    • T
      till
      last edited by

      For each mango unit I install, I add an event detector to a certain data point. Is there a way to export one, so that I can modify as required and then import for each unit?
      Thanks

      cwangvC 1 Reply Last reply Reply Quote 0
      • cwangvC
        cwangv @till
        last edited by

        @till
        you can export the event handlers in below window
        2021-07-22_15-41-38-import export.jpg

        here is what the json file looks like, you can just add/modify, then re-import it, I think that should work.
        2021-07-22_15-42-29-json file.jpg

        JoelHaggarJ 1 Reply Last reply Reply Quote 0
        • JoelHaggarJ
          JoelHaggar @cwangv
          last edited by JoelHaggar

          Event detectors are exported with the Data Point. I believe you can import event detectors on their own but I don't think we have that documented. We have plans to make this easier but if you are using Mango v4 there are some very helpful scripting tools for bulk configuring event detectors

          cwangvC 1 Reply Last reply Reply Quote 0
          • cwangvC
            cwangv @JoelHaggar
            last edited by

            @joelhaggar
            the video link is not working.

            JoelHaggarJ 1 Reply Last reply Reply Quote 0
            • JoelHaggarJ
              JoelHaggar @cwangv
              last edited by

              Sorry about that. Try this one:

              JoelHaggarJ 1 Reply Last reply Reply Quote 0
              • JoelHaggarJ
                JoelHaggar @JoelHaggar
                last edited by

                Also, this is the link to the script example repo: https://github.com/infiniteautomation/script-examples

                1 Reply Last reply Reply Quote 0
                • T
                  till
                  last edited by

                  We're on 3.7.7.
                  Event detectors are exported with the data points, great. In my scenario I'm adding an event detector to a data point that is being published to me from another Mango, i.e. I'm not actually creating the data point, which means I cannot add the detector while I import it. So, being able to import the event detector on its own, attaching it to a given xid would be great. You say it's possible but not documented?
                  Thanks!

                  cwangvC 1 Reply Last reply Reply Quote 0
                  • cwangvC
                    cwangv @till
                    last edited by

                    @till
                    give me suggestion a try. just add one.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      till @cwangv
                      last edited by

                      @cwangv
                      Yes, thanks. Seems like there is no harm in just importing it over the existing one that I receive through the Persistent TCP data source.

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