| Both sides previous revision Previous revision Next revision | Previous revision |
| indigo_2025.1_documentation:overview [2025/10/22 20:05] – [Run Apple Shortcut] davel17 | indigo_2025.1_documentation:overview [2025/10/22 20:48] (current) – [Web Server Event] davel17 |
|---|
| | Webhook Method\\ [GET] | this type of webhook will accept a GET and will pass through any query arguments as the data element. GET webhooks do not have settings for processing the associated payload. | | | Webhook Method\\ [GET] | this type of webhook will accept a GET and will pass through any query arguments as the data element. GET webhooks do not have settings for processing the associated payload. | |
| |
| You can find more information on the [[indigo_2025.1_documentation:webhooks|Webhooks]] page. | You can find more information on the [[indigo_2025.1_documentation:webhooks|Webhooks]] page. You can find more information about using substitutions on the Indigo [[indigo_2025.1_documentation:substitutions|substitutions page]]. |
| ===== Schedules ===== | ===== Schedules ===== |
| |
| {{open_file_action.png?nolink|Open File Action Image}} | {{open_file_action.png?nolink|Open File Action Image}} |
| |
| This will open the specified file (full path using *nix slashes ("/")) using the default application. If it's the path to an application (e.g. "/Applications/TextEdit.app") then it will launch that app. You can also add command-line options and include markup that will do variable (<nowiki>%%v:VARIDHERE%%</nowiki>) and device state (<nowiki>%%d:DEVIDHERE:STATEIDHERE%%</nowiki>) substitutions. <color red>Note</color>: file paths that contain spaces will need to have the spaces escaped with a backslash - /some\ path/that\ has/escaped\ spaces/. | This will open the specified file (full path using *nix slashes ("/")) using the default application. If it's the path to an application (e.g. "/Applications/TextEdit.app") then it will launch that app. You can also add command-line options and include [[indigo_2025.1_documentation:substitutions|Indigo substitutions]]. <color red>Note</color>: file paths that contain spaces will need to have the spaces escaped with a backslash - /some\ path/that\ has/escaped\ spaces/. |
| == Run Shell Script == | == Run Shell Script == |
| {{run_shell_script_action.png?nolink|Run Shell Script Action Image}} | {{run_shell_script_action.png?nolink|Run Shell Script Action Image}} |
| |
| == Write to Log == | == Write to Log == |
| {{write_to_log_action_2023_1.png?nolink|Write to Log Action Image}} | {{:indigo_2025.1_documentation:write_to_log.png?600|}} |
| |
| This will write the specified text into the event log - optionally with the specified type string. In addition, you can select from three logging levels: ''**Info (normal)**'', ''**Warning**'', or ''**Error**''. The log message will be appropriately colored based on the chosen logging level. | This will write the specified text into the event log - optionally with the specified type string. The **Text to Log** field supports the various [[indigo_2025.1_documentation:substitutions|Indigo substitutions]]. |
| | |
| | In addition, you can select from three logging levels: ''**Info (normal)**'', ''**Warning**'', or ''**Error**''. The log message will be appropriately colored based on the chosen logging level. |
| == Email Event Log Data == | == Email Event Log Data == |
| {{email_log_action.png?nolink|Email Log Action Image}} | {{email_log_action.png?nolink|Email Log Action Image}} |
| {{:indigo_2023.2_documentation:insert_event_data_into_variable.png?600|}} | {{:indigo_2023.2_documentation:insert_event_data_into_variable.png?600|}} |
| |
| Click the ''**Edit Action Settings...**'' button and it will open a dialog (shown above). Here you will select the variable and, optionally, the ''**Path specifier**'' if you want to access specific parts of the event data. More information can be found on the [[indigo_2025.1_documentation:events_data_path_specifiers|Path Specifiers]] page. | Click the ''**Edit Action Settings...**'' button and it will open a dialog (shown above). Here you will select the variable and, optionally, the ''**Path string**'' if you want to access specific parts of the event data. More information can be found on the [[indigo_2025.1_documentation:events_data_path_specifiers|Path Strings]] page. |
| === Toggle Variable === | === Toggle Variable === |
| {{toggle_variable_action.png?nolink|Toggle Variable Action Image}} | {{toggle_variable_action.png?nolink|Toggle Variable Action Image}} |