Automations: How to create and use

What are Automations?

Automations are tasks we can plan in advance that will be executed automatically according to the schedule. You can for example create an automation for switching channels or schedule a reboot at a specific time on the selected devices.

Step 1: Create an automation and select devices

You can create an automation by pressing the "Add" button on the right top corner of the screen shown in the image below:

After creating the automation, you can name it and select which (standard) devices you want the automations to play on.

You can select devices by selecting devices/groups in the list or by using tags for the device selection.

GoBright-How-it-works.png

In case you are using tags all players that have this tag will be used for device selection unless you exclude a few specific devices by pressing the "Advanced" checkbox and selecting these devices.

In the tab "Plays on" you can see which (standard) devices will make use of this automation.

GoBright-How-it-works.png

Step 2: Adding actions to the selected devices

After selecting the preferred devices, you can create an action by selecting the add action button. The action will determine what the player will do around a certain time.

If you want the automation to play right at the time you plan it, make sure to set the first action time to 00:00.

The relative offset stands for the time between the scheduled actions. The second timestamp you are seeing is the calculated time based on the start time that this action will be executed.

Example:

(When the automation is planned for 26 October at 10:00 AM)

See image below:

First action: 10:00 AM (channel switch to channel Default)

Second action: 11:00 AM (channel switch to channel Default with ticker)

The last action: 11:15 AM (channel switch to channel Default)

In this case: all devices that are selected at the device selection will play this automation, because custom device selection for all actions is turned off.

When enabling the “custom device selection” option, the players that are selected here will be the players that this action would execute at.

This way you can create an automation where the custom selected devices will go to the default channel and the other custom selected devices will go to the other channel at the same time.

(Both actions would have to be scheduled at 0:00 for the players to switch to different channels at the same time).

After you finish selecting the devices and the actions, click on Save on the right top of the screen.

Automations: Add Schedules / Execute Now

After creating the automation, you can add the schedule by clicking "Add schedule" to plan the automation at specific time or you can execute the created actions now by clicking "Execute now".

After giving the schedule a name, you will see this overview:

Here you can see, based on the scheduled date & time, when the selected actions will take place. Now click on "Add schedule" to finish planning the automation.

Schedules: Overview of scheduled automations

At the automations page you can now select the schedules tab to see the scheduled automations.

In the image below you can see when the automation will start and what the state of the automation is in.

Different status:

  • Scheduled: scheduled automation has been planned for a date
  • Cancelled: scheduled automation has been cancelled
  • Ongoing: scheduled automation is currently playing
  • Superseded: scheduled automation has been overwritten
  • Finished: scheduled automation is done playing

Webhooks: Creating Webhooks

A webhook URL is provided by the receiving application and acts as a phone number that the other application can call when an event happens. 

You can create a webhook by clicking on the "Add button" on the right top of the screen.

After clicking on the "Add button", you can name the automation and select which created automation you want to create the webhook for.

 

When looking in the webhooks page you now see the created webhook. You can find the URL by clicking on the created webhook in the list.

0 out of 0 found this helpful