Use your Raspberry Pi Pico RGB Keypad to control OBS (or anything!) over bluetooth.
Install Python 3 and Git:
sudo apt install python3 git #debian/ubuntu based systems
sudo pacman -Syy python3 git #arch based systems
Set up bluetooth (skip if bluetooth already works):
yay -S bluez-utils-compat #only needed on Manjaro
rfkill unblock bluetooth
sudo systemctl restart bluetooth
- install python from python.org
- install git from git-scm.com
- install C++ from here (needed for compiling a python package)
Go to bluetooth settings and pair the device. It should show up as HC-06
, and the PIN is 1234
. (You can change the device name and PIN by sending serial commands to the HC-06 bluetooth module, but that is not needed for now.)
Open a terminal in Linux, or open "Git Bash" in Windows and run these commands:
git clone https://codeberg.org/johanvandegriff/StreamPico
cd StreamPico
pip install virtualenv
python -m virtualenv .venv
source .venv/*/activate
pip install -r requirements.txt
python talk_to_pico.py
On Windows, if you don't have Git Bash, you can use cmd, and instead of source .venv/*/activate
, you can do: .\.venv\Scripts\activate
- Install OBS Studio.
- Install the obs-websocket plugin. Make sure to get the 4.9.1-compat version.
- Open OBS and configure the websocket password.
- If on Linux, edit
~/.config/StreamPico/config.json
- If on Windows, open File Explorer and paste
%appdata%\StreamPico
into the address bar, then editconfig.json
in that folder. - Enter a new line somewhere inside the main curly braces:
obs_websocket_password: "your password here",
and save the file. - StreamPico will now be able to talk to OBS through the plugin. If you want to control an OBS instance that is on another computer, you can also change the IP address and port by adding the following lines in the config file:
obs_websocket_ip: "192.168.1.123",
obs_websocket_port: "4567",