How To Create Automations?

Creating a request to our Automation service was never easier!

Using our premium Automation solution, you can enter the required data, such as the automation schedule plan, add a script, or upload your own script, and you are good to go.

See below for detailed, step-by-step instructions

New Automation Creation

  1. Enter the My Automations tool.

  2. Click on “New”.

 

  1. Choose one of the Galooli automation templates or create your own from scratch.

  1. Add the automation Name, Assets, CRON (schedule plan), and activate the automation if needed. If you need to use a schedule plan other than what is offered by the system today, you can use one of the many tools available online to convert CRON expressions to readable text format

     

  2. The "+ Add Functions" option can be utilized to add some functions to the script if necessary.

  3. Follow these steps before saving the automation:

    • Pay attention to the green highlight information that emphasizes the actions that will be taken by the automation.

    • When certain parts of the script need to be modified a unique key should be used. The keys should be taken form the Galooli Pro Application >> choose the relevant field >> Forms Gate Info.

    • Any relevant parameters, such as e-mail addresses, phone numbers, etc., should be entered.


7. Click on “Save”.


Automation Example

  1. You choose an automation for "Stop generator when battery voltage is high”. You have now decided that you would like to change the automation condition to stop the generator when the grid is available instead of when the battery voltage is high.

  1. To use the grid availability condition instead of the voltage condition, open the Galooli Pro application in a new tab >> locate the "Site global Grid available" field and select it >>click OK >> click on the three dots option >> Forms Gate Info >> copy the field key.

  1. Return to the automation script and paste the key under the original condition of the script for documentation purposes. After that change the original key of the condition with the new key and save the changes.

Additional Automation Functions

  • Upload - An automation C# code can be uploaded as a text document by the user. The code will appear in the “Automation Log”

  • Download - It is possible for the user to download the code, mainly for the purpose of sharing it with others or modifying it and re-uploading it. If no code has been uploaded previously or has been written and saved from the “Automation Log”, the download button will not be available

  • Verify - An option to verify the executability of the code by compiling it. If the verification fails, the following message will appear:

  • Execute - In this case, the automation will be executed immediately, rather than according to a schedule. The main objective is to ensure that the code actually performs as expected

  • Light Mode - Modifies the background of the code section.