How to bulk select event handler for events of some points that has specific point tags?
-
Hello Everybody!!
When have more than 50.000 points in our system and we added Building Tag to each point. Currently, we are using Set Point Event Handler to send notifications to other systems. For example, when we add new Set Point Event Handler for just events of Building A, we need to select event handlers each event of Building A one by one.
Is there any easy method to select Event Handler for each event of point which has Building Tag 'Building A'?
Also, is that possible to select events in the script of Set Point Event Handler?
Thanks!!
-
Hi Hazel, just trying to get my head around what you are saying...
For example, when we add new Set Point Event Handler for just events of Building A, we need to select event handlers each event of Building A one by one.
So I take it this means you're adding an event detector to each individual point.
Is there any easy method to select Event Handler for each event of point which has Building Tag 'Building A'?
You want to apply en masse to every point that has the "Building A" tag the same event handler when something is tripped?
Also, is that possible to select events in the script of Set Point Event Handler?
I do not believe so.
Can you expand on what this entire system is supposed to be doing? It doesn't seem to scale nicely and whilst you can bulk add event detectors with a script, it will get very messy if they attach to the wrong points.
If you can expand upon the task at hand there may be a solution that scales better
Fox
-
@mattfox said in How to bulk select event handler for events of some points that has specific point tags?:
that
Hi Hazel
Bulk event detector creation via CSV import/export is in the pipeline at the moment you have 2 options, creating them one by one or using a personal script to edit the JSON or hit the API.
Improvements to the event handler page are also in the pipeline where you will be able to filter point events by tags and link them to the handler. At the moment this is the same as above. To link the event detector to the handler you will need to modify the handlers JSON to include the point XID, event detectors XID and eventtype.
"eventTypes": [ { "sourceType": "DATA_POINT", "dataPointXID": "bluetankDS_DI_2", "detectorXID": "ED_cadafff8-c8f4-4a11-a58e-69adfb60477f_5" } ],
-
-
I am also looking forward to it as I'm in the same boat as you. I have not been able to get it prioritised before the next major release on my own. We don't announce release dates so at the moment the best information I can give you is that it is in the pipeline for the next major release.
-
It will definitely be helpful. I asked for events that can be enforced at the datasource, template and point levels but I think the idea fell flat...
With the next major release are we looking at a mango 4 or 3.8?
Just thinking about licensing... -
Good question, I'm not sure that has been decided yet. So I'm hesitant to give an answer. The event handler page becomes unusable on systems with large amounts of data point event detectors. IMO this is a bug that needs to be fixed and not a v4 feature.
-
Yes due to the lack of support with the event detectors and handlers I've primarily focused on using meta point scripts because they can be made on the fly quite easily and allow me to run history checks etc. The alarms raised are sent out via third parties anyway so it has enabled me to get by so to speak. It's just a pain I can't apply site wide some set " default point parameters" for all my points since I have to be proactive with point value health, but at the cost of having to manually go through a list because there are so many control points.