Skip to end of banner
Go to start of banner

How To Create Automations?

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 12 Next »

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”.

image-20240703-112403.png
  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 Fields” option can be utilized to add live or summary fields to the script if necessary.

    image-20240709-113901.png

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

    image-20240709-113951.png

  4. 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. It is recommended that the keys be taken from the "+Add Fields" section.

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


8. Click on “Save”.


Automation Example

  1. You choose an automation template 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.

image-20240709-120929.png
  1. In the automation script locate the original field of the script (row 9), mark the field including the brackets and remove the key - {DATA:Real_Time.Analog_Bead.1150016}

    image-20240709-120859.png

  2. In the "+Add Fields" tab, locate the relevant field called "Site_Global.Grid_Available" and click on it.

image-20240709-121711.png

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.

  • No labels