Skip to content

stagetimerio/companion-module-stagetimerio-api

 
 

Repository files navigation

companion-module-stagetimerio-api

A Bitfocus Companion module for controlling Stagetimer.io timers remotely.

Features

  • Transport controls – Start, stop, reset, next, previous, add/subtract time
  • Timer actions – Control specific timers by ID
  • Viewer controls – Flash screen, blackout mode, focus mode
  • Message actions – Show, hide, toggle, and create messages
  • Real-time feedback – Playback state, timer phases (yellow/red warnings), viewer modes
  • Variables – Room info, current/next timer details, time display values
  • Presets – Pre-configured buttons for common operations

The module connects via the Stagetimer HTTP RPC API and Socket.io endpoint for real-time updates.

Usage

See HELP.md for configuration and usage instructions.

Requirements: Stagetimer Pro or Premium plan, Room ID, and API Key.

Development Setup

Refer to the Companion Module Base Wiki for detailed instructions.

Quick start:

  1. Install Node.js 22 (recommended via fnm):

    fnm install 22 && fnm use 22 && corepack enable
  2. Clone this repository into your Companion dev modules folder:

    git clone https://github.com/stagetimerio/companion-module-stagetimerio-api.git
  3. Install dependencies:

    yarn install
  4. In Companion settings, set Developer modules path to your dev folder.

  5. The module will auto-reload on file changes. Run linting and tests with:

    yarn lint
    yarn test

Releasing

  1. Bump the version using npm's version command (this syncs package.json and companion/manifest.json automatically):

    npm version patch  # or minor, or major
  2. Push to your fork and create a PR:

    git push origin main

    Then open a PR to the bitfocus repository.

  3. After the PR is merged, push the tag to the Bitfocus remote:

    git push bitfocus --tags
  4. Submit via Developer Portal:

    • Go to the Bitfocus Developer Portal and log in with GitHub
    • Navigate to My Connections → select this module
    • Click Submit Version and choose the git tag you just pushed
    • Mark as prerelease if applicable, then submit for review
  5. Review: Community volunteers review submissions. Once approved, the new version becomes available to Companion users (v4.0.0+).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%