Skip to end of banner
Go to start of banner

Scripts Example List

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Disconnected Units Script

A script that runs on units and checks whether they have been disconnected for more than 5 hours and sends a one-time email notification if that is the case.

Important Remarks

  • Schedule this script to run every half hour

  • In the “Send Email” function, replace the email address to which the message will be sent

  • Due to the fact that the test is performed every half hour, and the test in the code examines whether the unit has been disconnected for more than five hours, the notification of the disconnection can arrive (at the latest) five and a half hours after the actual disconnection took place

  • The attached file must be downloaded to your computer and loaded into the Galooli automation solution once the data has been edited

Script File

Alarm Active Script

The script checks whether there are any active alarms on the units. A notification is sent to the user if the alarm has been active for more than one execution. During the alarm activation, only one notification will be sent to each site.

Important Remarks

  • Schedule this script to run every 5-15 minutes. The scheduling will affect how much time the alarm should be active before the user is notified.

  • In the “Alarm State” variable, paste the unique identifier of the alarm you are interested in.

  • In the “Send Email” function, replace the email address to which the message will be sent.

  • The attached file must be downloaded to your computer and loaded into the Galooli automation solution once the data has been edited.

Script File

 

  • No labels