faqs - autolog/TouchPortal GitHub Wiki

Can I reload the Indigo Plugin in Touch Portal Desktop (TPD) by stopping and restarting the plugin in Touch Portal Settings?

Unfortunately, no.

Touch Portal loads plugins when TPD is first launched. If you stop a plugin in TPD, the software is essentially just shutting off communication channels. Restarting the plugin re-enables communication with the plugin already in memory.

To update the Indigo Plugin for TPD, it is necessary to exit and relaunch the TPD software.

My Touch Portal button logic is no longer working. What gives?

From time to time, the code behind various actions and events changes to provide for greater functionality or to fix a bug. Unfortunately, Touch Portal is unable to update existing logic with the new features and fixes.

Every effort will be made to avoid making changes that will break existing logic.

I changed the name of an Indigo [action/device/variable] and now everything seems to be out of whack. What gives?

You may find that renaming an Indigo object can have unintended consequences. Since the Touch Portal Plugin for Indigo works with Indigo objects, it uses the object's name to make it convenient for you. However, the underlying logic relies on the object's Indigo ID number so a simple name change shouldn't break anything.

However, by necessity, it's a little bit more complicated than that. When you first publish an Indigo object in the plugin, you can elect to use a custom name (or not). If you create a custom name, renaming the underlying Indigo object should be transparent to Touch Portal. If you left the custom name field blank, then the plugin will use the Indigo name by default when it describes the object to Touch Portal. This is where things can get a little weird.

If you choose to refresh the list of [actions/devices/variables] in Touch Portal, the new name (if you are NOT using a custom name) will now be visible to Touch Portal. In these instances, the Touch Portal list field will become blank and your logic may no longer work. In this case, it will be necessary to re-select the object by its new name to make things right again.