Overview
We have released a Bitfocus Companion module the 2nd and 3rd Generation AIM Managers.
Note
What is Bitfocus Companion
Companion by Bitfocus is an open-source tool that provides a library of free modules to control and automate a number of devices with devices such as the Elgato StreamDeck. With this tool we have been able to provide a module to help control Infinity products through the ALIF AIM API.
How do I install Companion?
Companion works as a local server on the device it is installed. It can be installed on Linux, Windows, or Mac. To download, you must create a Bitfocus account, where you can then download and install the software. Bitfocus Companion
Further installation guidance can be found on the Companion Github Wiki
Windows:
- Download the MSI file from Bitfocus.
- Run the installation.
- Run Companion.
Linux (Desktop):
- Download the tar file from Bitfocus.
- Extract the tar file, ensuring to place the extracted folder in a location you have rights to.
- To run the server, run the companion-launcher file
- If you want to run Companion on startup and for other settings, refer to the README file in the extracted folder.
Linux (Headless):
- Download the tar file from Bitfocus.
- Extract the tar file, ensuring to place the extracted folder in a location you have rights to.
- Refer to the README file located within the folder for instructions on configuring for a Headless Server.
Adding Adder modules to Companion
Companion allows you to add custom modules via a development folder. Some Adder Modules are already included, however, a few are still waiting for the next Companion release. In order to use these now, you can add them via the development settings.
Note
- Download the Module
- Extract the module to the folder you want to point to.
- Best practice, the top folder should be "companion-module-dev" with your custom modules located within:
companion-module-dev/
├── companion-module-adder-avm/
├── companion-module-adder-infinity-aim/
└── companio-module-adder-infinity-alif/
- Best practice, the top folder should be "companion-module-dev" with your custom modules located within:
- When starting companion, select the settings cog on the top right. This will allow for selecting a development folder for custom modules.
- Select your folder, companion will restart and have access to the module.
- Connect to the GUI and explore the connections to see the current modules.
Using the AIM Module
Adding and Configuring an AIM Connection
- On the Connections Tab, select "Adder: AIM"
- The configuration page will pop up:
- Add the IP Address of the AIM manager
- Enter the Username and Password you want to use the API with
Note
Currently, if another user is logged in or has established the connection of a receiver, the connection through the API will fail as the API cannot force the channel to be disconnected. - Enabling the Poll option allows the module to poll the AIM server regularly to fetch the current status of connections.
- Setting the Poll interval sets how frequently the module polls the AIM server, this should be set in Milliseconds (ie 5000 would be 5 seconds).
- Press Save to apply the configuration.
Connecting a Receiver to a Channel
- Under the Buttons Tab, select the button to be configured and press "Create Button".
- Select the Folder Icon next to Add Press Action.
- A Pop up box will open, select AIM and select the action you want to use.
- Press the "Learn" button to get a current list of Receivers and Channels the configured user has access to.
- Select the Receiver, Channel, and connection mode (View only, Shared, Exclusive, Private) you want to connect.
- The button is saved automatically when options are selected.
Connecting Presets
- Like Channels, an existing preset on the AIM can be used to connect on a button press.
- Select the folder near Add Press Action
- Select Connect Preset as the action.
- Press the Learn Button to get a list of current AIM presets.
- Select the Preset you want to connect.
- The Button is saved automatically when an option is selected.
Combining Multiple Actions
Note
- You can add multiple actions to one button by selecting Add Press Action
- This allows for combining multiple actions in a single press. Below are some examples:
Disconnecting Receivers and Presets
- Both Connecting Channels and Presets come with a corresponding action to disconnect.
- Disconnecting a Receiver disconnects the current channel.
- Disconnecting a Preset disconnects all receivers in that preset.
Adding Feedback to Buttons
Note
- The first gives 3 feedbacks automatically. All colours can be changed. This feedback works for both Presets and Multiple Receiver connections.
- Connected - All Receivers/Preset connections have connected successfully without errors.
- Warning - Some of the Receivers connections have returned with errors.
- Error - All Receivers/Preset connections have returned connection errors.
- Disconnected - Reverts to the default user defined button
- The second feedback provides a simple boolean, but allows the user to configure the feedback options.
- Returns True on all connections successful
- Returns False if none of the connections are successful
- Under the Feedback tab of the button, select the folder icon next to Add Feedback.
- In the popup menu, select AIM then Channel Connection Status.
- Configure the Background and Text colours if you do not want to use the defaults.
- The Feedback is automatically applied.
Note