This module enables Companion to control BSS Soundweb London BLU devices such as:
This module is only compatible with Companion v3 and will be available in Companion from v3.3.0
.
Fixes and minor improvements.
Fixes and minor improvements.
This is the first release of the module and is compatible with Companion v3.3.0
and later.
It's recommended to use fnm for managing Node versions: https://github.com/Schniz/fnm#installation
winget install Schniz.fnm
brew install fnm
(See further below for specific instructions on setting up fnm for specific terminals.)
A .node-version file has been provided, which means that once fnm is installed and the shell is correctly configured, in theory you can cd into the repo directoy and fnm should automatically switch to the correct version of Node and request to install it if it is not available.
If this doesn't work, just run fnm use
and it should switch to the correct version of Node.
Once Node has been installed, be sure to enable corepack so you can use package managers such as yarn without installing them globally:
corepack enable
Add the following to the end of your profile file:
fnm env --use-on-cd | Out-String | Invoke-Expression
On Windows, PowerShell comes pre-installed, but there are two versions of it. Read more about it here. The profile is located at different places depending on which version you're using:
~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
Add the following to your .bashrc
or .zshrc
profile:
eval "$(fnm env --use-on-cd)"
The .bashrc
or .zshrc
file can typically be found in your home directory.
If you enabled corepack, then this should allow you to use yarn
without installing it globally. However, if necessary (or preferable) you may install yarn globally by running:
npm install --global yarn
Once you have cd'd into the root of the repo, simply run:
yarn
To build/transpile the project into Javascript, run the following, which calls a script in package.json.
yarn build
This activates the file watcher so as you update Typescript files, they are automatically transpiled into Javascript.
yarn dev
To run the module in Companion, you need to provide Companion a path to a directory containing your development modules. This can be done from the desktop server application window. Click the gear icon and a 'Developer Modules Path' field appears, where you can set the path.
Once this has been done, Companion will watch the files in your development path and will 'live reload' any modules whose files have been changed.
Companion imports/runs the file identified in mainfest.json under runtime.entrypoint
. This should be the transpiled (.js) version of main.ts, which will appear at: dist/main.js
, but only once the project has been built using yarn build
or yarn dev
.
Once you have built the project, you can run yarn dev
as detailed above, which will then watch your source code and auto-transpile typescript to javascript as you work. In turn, Companion will then live reload any edited development modules automatically.
yarn version --major
yarn version --minor
yarn version --patch
yarn version --premajor --preid rc
yarn version --preminor --preid rc
yarn version --prepatch --preid rc
yarn version --premajor --preid beta
yarn version --preminor --preid beta
yarn version --prepatch --preid beta