Skip to content

Script for showing camera status to camera operators

Notifications You must be signed in to change notification settings

gafirst/TallyLights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Tally Lights for Camera Control

The tally lights are status lights for the cameras that tell the camera operators when their camera is live. In this configuration, red meanns the camera is live blue means the camera is being previewed. This is intended to work with our 24 neopixel strip (with 8 pixels per camera). If the strip is yellow, it means there is a connection issue.

Installation

  1. git clone [email protected]:gafirst/TallyLights.git
  2. sudo apt-get install python3-pyaudio
  3. sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
  4. sudo pip3 install --force-reinstall adafruit-blinka
  5. sudo pip3 install board

Yes, we are deliberately calling pip as root. This is because root access is required to access the RPi peripherals, so the script will run as root, and it needs to access these modules.

Operation

The neopixel strip must be plugged into the control Pi and an external 5V converter. The strip needs to connect to the Pi's GND pin (pin #6) and GPIO18 (pin #12). The diagram below shows what this looks like:

Pi pinout and wiring

Running the script is simple; however, you must use sudo permissions in order to allow the Pi to control the GPIO.

sudo python3 tally-lights.py

How it Works

The script connects to vMix via a TCP socket. vMix sends a message any time the output/preview gets updated. The script parses this for the camera statuses and displays it on the appropriate strip.

About

Script for showing camera status to camera operators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages