Automation Scripts List

Active Alarms Notification

Be notified automatically when a unit has an active for longer than 10 (or more) minutes.

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 “Galooli.SendEmail” function (line 48), 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.

Unit Disconnection Notification

Be notified by email when units are disconnected for a long period of time.

Important Remarks

  • Schedule this script to run every half hour

  • In the “Galooli.SendEmail” function (line 22), 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

Notification Escalation

Determine which people should be notified based on severity or number of notifications.

Important Remarks

  • Schedule this script to run every one hour

  • In the “Galooli.SendSMS” functions (lines 16, 20, 25), place the phone number to which the messages will be sent

  • In the “Galooli.Log” functions (lines 17, 21, 26), place the names of the recipients

Stop The Generator When Batteries Are Fully Charged

When the battery SOC (state of charge) is over 90% (or other threshold), turn off the generator to prevent redundant running time.

Important Remarks

  • Schedule this script to run every 10 minutes

  • As part of the condition that check the battery SOC you can change the threshold if necessary (line 12)

  • In the “Galooli.SendEmail” function (line 16), place the emails of the recipients

Start The Generator When Battery Level Is Low

When the battery SOC (state of charge) is below 40% (or other threshold) start the generator to prevent loss of backup or downtime.

Important Remarks

  • Schedule this script to run every 10 minutes

  • As part of the condition that check the battery SOC you can change the threshold if necessary (line 12)

  • In the “Galooli.SendEmail” function (line 16), place the emails of the recipients

Stop Generator When Battery Voltage Is High

Stop the generator when battery voltage exceeds 53V (or other threshold).

Important Remarks

  • Schedule this script to run every 10 minutes

  • As part of the condition that check the battery voltage you can change the threshold if necessary (line 12)

  • In the “Galooli.SendEmail” function (line 16), place the emails of the recipients

Start Generator When Battery Voltage Is Low

Start the generator when battery voltage falls bellow 47V (or other threshold).

Important Remarks

  • Schedule this script to run every 10 minutes

  • As part of the condition that check the battery voltage you can change the threshold if necessary (line 12)

  • In the “Galooli.SendEmail” function (line 16), place the emails of the recipients

Generators Working Mode Control

Change the generator’s working mode if the unit has an active alarm.

Important Remarks

  • Schedule this script to run every one hour

  • In the “Galooli.SendEmail” function (line 17), place the emails of the recipients

Generator Maintenance Update

Update the generator maintenance hours for the next cycle once the set limit has been reached. Your unit details will be sent when an update occurs.

Important Remarks

  • Schedule this script to run ones a day

  • Update the maintenance KPI (line 16)

  • In the “Galooli.SendEmail” function (line 24), place the emails of the recipients

Set Value If Event Is Active

Update Additional-info data fields when an event occurs.

Important Remarks

  • Schedule this script to run every 10 minutes

  • In the “Galooli.SendEmail” function (line 18), place the emails of the recipients


Warning: Safety Hazard - Automatic Activation of Equipment 

Automatic activation of equipment poses an extremely serious safety hazard. Although Galooli enables remote equipment activation, it is crucial that all personnel and sub-contractors, both with direct and indirect access to equipment, whether conducting site maintenance or has any other interaction with the equipment, shall be informed and be fully aware of the potential risks and consequences associated with automatic activation, and shall implement any necessary and/or required precautions. Galooli hereby unconditionally waives, to the fullest extent permitted by applicable laws, any and all liability for any resulting damage, injury or loss whatsoever, whether direct or indirect, to any person or equipment. In order to establish and maintain a safe working environment, Galooli strongly recommends adhering to the following safety guidelines when working with equipment capable of automatic activation: (1) Always operate under the assumption that equipment may be automatically activated, regardless of its current state; (2) Before commencing any work, ensure that all energy sources to the equipment are securely locked out and tagged out; (3) Employ both physical and digital warning measures, such as barriers and prominently displayed signs, to alert others to ongoing maintenance activities; and (4) It is highly advised to disable the automatic equipment function before undertaking maintenance, inspections, or any other activities involving physical access to the equipment. 

Your safety is of paramount importance. Take these precautions with the utmost seriousness to effectively mitigate potential risks associated with automatic activation.