events - autolog/TouchPortal GitHub Wiki
Both Indigo and Touch Portal use the term 'Events'. Touch Portal Events can cause things to happen when something else happens. You use Events in the Touch Portal Desktop (TPD) software for individual buttons and build them on the Events tab. Indigo uses the term to refer to Events used in Indigo Triggers.
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.
The image above shows three events that could be triggered by the
change of condition of different Indigo Devices. For example,
do something
when the On/Off state of the Living Room - Desk Lamp
changes to ON
. You can use an event to do things like change the
physical appearance of a Touch Portal button:
or launch an application or run a bash file.
Events related to a specific Indigo device are created by the plugin. There are also many other events available in Touch Portal and more are being added all the time.
When you add (publish) a new item -- like an Indigo device for example -- you may need to refresh lists of devices in Touch Portal in order to get them to appear. However, in order to see the new device Action in the Touch Portal UI (see image above) you will need to reload Touch Portal. Unfortunately, we aren't able to code around this requirement.
See also Touch Portal Actions.
Indigo Events
Information on Touch Portal Plugin Events for Indigo can be found on the Triggers page.