Use your Raspberry Pi Pico RGB Keypad to control OBS (or anything!) over bluetooth
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Johan Vandegriff b7418d37eb
added direct obs websocket support
5 months ago
pico added constants to config file 6 months ago
.gitignore move active monitor to an import 7 months ago
LICENSE added license 7 months ago
README.md added direct obs websocket support 5 months ago
gnome_wayland_monitor_active_app.ex separated code for splitting up output lines 7 months ago
gnome_wayland_monitor_active_app.go rewrote get active monitor in golang 6 months ago
gnome_wayland_monitor_active_app.py move active monitor to an import 7 months ago
go.mod started rewriting in golang 7 months ago
go.sum started rewriting in golang 7 months ago
obs-websocket-functions.md added direct obs websocket support 5 months ago
requirements.txt added direct obs websocket support 5 months ago
sample-linux-config.json added direct obs websocket support 5 months ago
talk_to_pico.go added reading serial in go 7 months ago
talk_to_pico.py added direct obs websocket support 5 months ago

README.md

StreamPico

Use your Raspberry Pi Pico RGB Keypad to control OBS (or anything!) over bluetooth.

Linux Setup

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

Windows Setup

Common Setup

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

OBS Setup (Optional)

  • 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 edit config.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",