Bitfocus Companion and Stream Deck
The Venueclock module for Bitfocus Companion puts your show on physical buttons: start, pause and skip timers, add a minute, send the speaker a message, and watch the countdown change colour on the deck itself.
The short version
- The module works with every Venueclock plan, Free included, and with any surface Companion drives: Stream Deck, X-keys, Loupedeck, a tablet or the web buttons.
- It talks to Venueclock over the HTTP API with an API token. Commands reach every connected screen the moment you press.
- It is open source under the MIT license. It is not in Companion's built-in module list yet, so for now you download the package and import it.
Install the module
Until the module ships inside Companion, download the package and import it. It works on every plan, Free included.
companion-module-venueclock-1.1.0.tgz
- Open the Companion admin page and go to Modules.
- Choose Import module package and pick
companion-module-venueclock-1.1.0.tgz. - Go to Connections, search for Venueclock and add it.
The module needs a Companion release that runs Node 26 modules (module API 2.1). To check the download, run shasum -a 256 companion-module-venueclock-1.1.0.tgz on a Mac or certutil -hashfile companion-module-venueclock-1.1.0.tgz SHA256 on Windows. It should print this checksum:
b7dbd51b3081c535e171eca45cbe8967ce5fa7b0e676a0be346d774de268bd1eDevelopers can run the source as a developer module instead: write to hello@venueclock.com for it, turn on developer modules in the Companion launcher's settings and point it at the folder that holds companion-module-venueclock.
Connect it to your show
- In Venueclock, open Account, then API and webhooks, and create a token. For a deck at the tech table choose "Read and control shows" and limit it to the show you are running. Copy the token: it is shown once.
- Open the show in Venueclock. Its id is the last part of the address, after
/shows/. - In the connection's settings in Companion, paste the token into API token and the id into Show id. Leave Venueclock address as
https://venueclock.com. - Save. The connection turns green within a second, and the variables fill in.
When the token is limited to one show you can leave the show id empty: the module finds the show by itself. Companion keeps the token in a secret field, so it is not shown again in the settings.
Ready-made buttons
Drag these from the Presets tab onto your deck:
- Transport
Start or pause (one button, green while running, amber while paused), Start, Pause, Reset, Previous and Next.
- Time
+1 min, -1 min, +5 min and +30 sec on the current timer.
- Display
The live countdown, which turns green while running, amber in the wrap-up window and red over time, like the screens; press it to start or pause. Also the current timer, what is next, and the projected end of the show.
- Messages
Flash the screen, "Please wrap up" in amber, "Time is up" in red, and Clear.
- Show
Black out the screens, which reads "Screens out" on a red button while any screen is dark, and End the show, red while the show is live.
Actions
- Start or resume, Pause, and Start or pause on one button.
- Stop and reset: stops the current timer and puts its full time back.
- Next timer and Previous timer. When a timer is running the new one starts at once; otherwise it waits, ready.
- Start a timer and Cue a timer, picked from the show's rundown in a list.
- Add or remove time, in minutes and seconds; negative numbers remove time.
- Send a message with your own text (Companion variables work in it), a colour and an optional flash; Show a saved message from the show's list; Clear the message.
- Black out the screens: black out, show the message only, bring them back, or toggle between black and back, on every screen or only the speaker, agenda or overlay screens. The moderator screen never goes out, and the timer keeps running.
- Flash the screens and End the show.
Feedbacks
Colour any button by the state of the show: timer is running, timer is paused, timer is in wrap-up, timer is red (over time), a message is on screen, screens are blacked out, the show is live, and a chosen timer is the current one.
Variables
Use them in button text as $(venueclock:display), replacing venueclock with your connection's label if you renamed it.
displayWhat the speaker screen shows, for example 4:05, or +0:12 over time
remainingTime left, for example 4:05, and negative over time (-0:12)
remaining_secondsTime left in whole seconds, negative over time
elapsedTime used on the current timer
overrunHow far over time, empty when not over
overtrue once the current timer is over time
durationThe current timer’s planned length, with any time added
timer_titleThe current timer’s title
timer_speakerThe current timer’s speaker
timer_numberThe current timer’s place in the rundown, 1 for the first
timer_countHow many timers the show has
timer_statusidle, running or paused
timer_stateready, running, warn (wrap-up), over or paused, as the screens show it
next_titleThe next timer’s title
next_speakerThe next timer’s speaker
previous_titleThe previous timer’s title
messageThe message on the speaker screen, empty when none
message_colordefault, go, amber or red, empty when none
show_titleThe show’s title
show_livetrue while the show is on air
show_idThe show’s id
ends_atThe projected end of the show, in the show’s time zone
over_underAhead or behind the planned end, for example +2:00 when running late
Timing and limits
- The module follows the show live: every change reaches the buttons as it happens, and it counts down on its own in between, corrected for the difference between your computer's clock and ours, so the countdown on the buttons moves every second and matches the screens.
- If the live connection drops, it reads the show once a second (you can set 0.5 to 10 seconds) until the connection is back. You can turn the live connection off in the settings.
- After a button press it shows the new state from the answer at once, without waiting for the next read.
- Following the show live, one connection uses about 4 of the token's 300 reads a minute; reading once a second uses 60. A token can follow a show from up to 10 connections at once, and if Venueclock answers "too many requests", the module slows down by itself.
When it does not connect
- Authentication failure
The token is mistyped or was revoked. Create a new one and paste it again.
- Bad configuration
The show id is wrong, the show was deleted, or the token is limited to a different show. With an empty show id, the token reaches several shows: enter the one you want.
- Connection failure
Companion cannot reach venueclock.com. Check the computer's internet connection; the module retries by itself, waiting longer each time.
- A command does nothing
Look in the connection's log in Companion: it names the reason, for example a read-only token (the countdown works, commands need "Read and control shows") or a plan that already has a room live.