Action Configuration
Table of Contents
- What is an Action?
- Action Overview Display
- Creating a New Action
- Action Management
- Local Folder Settings
1. What is an Action?
In Gravio HubKit, you can configure features called “Actions”. An Action is like a small computer program, composed of multiple “steps”. Actions can be created using the Action Editor.
2. Action Overview Display
When you click the Action Editor icon, a list of actions currently available in the HubKit will be displayed.
There are two tabs at the bottom of the screen:
- HubKit - Actions installed in this HubKit
- Local Folder - Actions that can be edited on your local computer (for deployment to other HubKits)
3. Creating a New Action
- Click the “+” (plus) icon in the top right corner
- A name input field will appear - enter the action name
- Action files are saved with the
.acs
extension and can be shared
- It is recommended to name actions based on what they do (result-based names rather than trigger-based names)
4. Action Management
Created actions will appear in the Action Overview screen and can be executed from triggers.
Each action has two buttons:
- Export button - Exports the action as a file, allowing sharing on GitHub or with other users
- Lock button - Locks the action to prevent accidental editing
Additionally, there is a button at the top of the screen to import .acs
extension action files.
5. Local Folder Settings
The “Local Folder” tab allows you to set up a location for creating your own local actions without deploying them to Gravio HubKit.
When opening the Local Folder for the first time:
- You need to set the folder location
- Select a folder to save Gravio actions
- After selecting the folder, click the “+” icon in the top right to create a local action
- Double-click the action file to start editing
This allows you to develop actions in your local environment and deploy them to HubKit when ready.