actions - autolog/TouchPortal GitHub Wiki

Both Indigo and Touch Portal use the term Actions to refer to things you can do within the software. Below you will find descriptions of the most common versions of both. One important thing to understand as you read on is that there are two types of state values in Touch Portal--custom states and plugin states. Custom states are those states that you create through the Touch Portal Desktop (TPD) software. Touch Portal Plugin states are states that are created by the Touch Portal Plugin for Indigo. These states are used by the plugin to track things like the on/off state of Indigo devices or the colour value for a multi-coloured light.

When TP is first started (or restarted) everything should be up to date. Otherwise, itโ€™s always good practice to refresh lists of actions, devices and variables when creating new TP controls.

Indigo Actions

Indigo Plugin Actions

Update Touch Portal Custom State - Boolean

To update a Touch Portal Custom State with a boolean value, select this Indigo Action item. To properly configure the device, select the Touch Portal Custom State to update and set the value to either True or False.

Update Touch Portal Custom State - Text

To update a Touch Portal Custom State with a text value, select this Indigo Action item. To properly configure the device, select the Touch Portal Custom State to update and enter the test you would like to store in the Touch Portal Custom State.

Refresh Touch Portal Plugin States

To refresh all Plugin States, select this Indigo Action item. It will cause the Touch Portal Plugin for Indigo to send the status of all published items to Touch Portal.

Touch Portal Actions

Touch Portal Actions are a key component of making use of the Touch Portal software to control Indigo.

Touch Portal Plugin Devices

Device - Turn On

To create a button within Touch Portal to turn on an Indigo device, you would select the Touch Portal Action "Device - Turn On" action. This action will only work with devices that support on/off commands. For example, you would use this command for a switch or relay, but not with a sensor.

Device - Turn Off

To create a button within Touch Portal to turn off an Indigo device, you would select the Touch Portal Action "Device - Turn Off" action. This action will only work with devices that support on/off commands. For example, you would use this command for a switch or relay, but not with a sensor.

Device - Toggle

To create a button within Touch Portal to toggle an Indigo device, you would select the Touch Portal Action "Device - Toggle" action. This action will only work with devices that support on/off commands. For example, you would use this command for a switch or relay, but not with a sensor.

Device - Set Brightness

To create a button within Touch Portal to set the brightness level of an Indigo device, you would select the Touch Portal Action "Device - Set Brightness" action. This action will only work with devices that support dimming.

Device - Brighten

To create a button within Touch Portal to increase the brightness of an Indigo device, you would select the Touch Portal Action "Device - Brighten" action. This action will only work with devices that support dimming.

Device - Dim

To create a button within Touch Portal to decrease the brightness of an Indigo device, you would select the Touch Portal Action "Device - Dim" action. This action will only work with devices that support dimming.

Device - Set Colour

To create a button within Touch Portal to set the colour of an Indigo device, you would select the Touch Portal Action "Action Group - Set Colour" action. This action will only work with devices that support colour values.

Touch Portal Plugin Actions

Action Group - Run

To create a button within Touch Portal to run an Indigo action, you would select the Touch Portal Action "Action Group - Run" action.

Touch Portal Plugin Variables

Variable - Set Value

To create a button within Touch Portal to set the value of an Indigo variable, you would select the Touch Portal Action "Variable - Set Value" action.

Variable - Set True

To create a button within Touch Portal to set the value of an Indigo variable to True, you would select the Touch Portal Action "Variable - Set True" action.

Variable - Set False

To create a button within Touch Portal to set the value of an Indigo variable to False, you would select the Touch Portal Action "Variable - Set False" action.

Variable - Toggle

To create a button within Touch Portal to toggle the value of an Indigo variable between to values, you would select the Touch Portal Action "Variable - Toggle" action.

See also Touch Portal Events.