Stream Deck and Companion

Control PalcoTimer with physical buttons using Stream Deck or Companion.

Introduction

PalcoTimer can be controlled by hardware devices like the Elgato Stream Deck or software like Bitfocus Companion. This allows operators to control timers with physical buttons, without navigating through the computer.

Bitfocus Companion

Bitfocus Companion is free software that transforms any device into a control panel. Works with Stream Deck, tablets, phones, and more.

Configuring

  1. Download and install Companion from bitfocus.io/companion
  2. Open Companion and access the web interface (port 8000)
  3. Go to "Connections" and add "Generic HTTP"
  4. Configure buttons with the control URLs below
Dica
We're developing an official PalcoTimer module for Companion. Soon you'll be able to add directly without configuring URLs.

Native Stream Deck

If you use native Stream Deck software (without Companion), you can use the "Web Request" or "Website" plugin to call control URLs.

Using the Website plugin

  1. Drag the "Website" action to a button
  2. Paste the desired control URL
  3. Check "Open in background"
  4. Configure the button icon and title

Control URLs

Use these URLs to control your room. Replace ABC123 with your room's Short Code (visible on the Integrations page):

Dica
Access your room's Integrations page in the Dashboard to see all URLs ready to copy, with the Short Code already filled in.

Transport Controls

ActionURL
Play / Starthttps://app.palcotimer.com/r/ABC123/api/play
Pausehttps://app.palcotimer.com/r/ABC123/api/pause
Stophttps://app.palcotimer.com/r/ABC123/api/stop
Resethttps://app.palcotimer.com/r/ABC123/api/reset
Next Timerhttps://app.palcotimer.com/r/ABC123/api/next
Previous Timerhttps://app.palcotimer.com/r/ABC123/api/previous

Time Adjustments

ActionURL
Add 1 minutehttps://app.palcotimer.com/r/ABC123/api/add_time
Add N secondshttps://app.palcotimer.com/r/ABC123/api/add_time?seconds=30
Remove 1 minutehttps://app.palcotimer.com/r/ABC123/api/subtract_time

Viewer Controls

ActionURL
Toggle Blackouthttps://app.palcotimer.com/r/ABC123/api/blackout
Blackout Onhttps://app.palcotimer.com/r/ABC123/api/blackout/on
Blackout Offhttps://app.palcotimer.com/r/ABC123/api/blackout/off
Toggle Flashhttps://app.palcotimer.com/r/ABC123/api/flash
Toggle Focushttps://app.palcotimer.com/r/ABC123/api/focus

Room State

ActionURL
Get State (JSON)https://app.palcotimer.com/r/ABC123/api/state

Code Example

// JavaScript/Node.js
fetch('https://app.palcotimer.com/r/ABC123/api/play')
  .then(response => response.json())
  .then(data => console.log(data));

// cURL
curl "https://app.palcotimer.com/r/ABC123/api/play"

// Python
import requests
response = requests.get('https://app.palcotimer.com/r/ABC123/api/play')
print(response.json())