Use your Raspberry Pi Pico RGB Keypad to control OBS (or anything!) over bluetooth
 
 
 
Go to file
Johan Vandegriff b7418d37eb
added direct obs websocket support
2022-07-25 06:21:09 -04:00
pico added constants to config file 2022-05-27 18:07:19 -04:00
.gitignore move active monitor to an import 2022-05-23 23:48:29 -04:00
LICENSE added license 2022-05-22 13:41:48 -04:00
README.md added direct obs websocket support 2022-07-25 06:21:09 -04:00
gnome_wayland_monitor_active_app.ex separated code for splitting up output lines 2022-05-26 21:52:08 -04:00
gnome_wayland_monitor_active_app.go rewrote get active monitor in golang 2022-05-27 14:09:35 -04:00
gnome_wayland_monitor_active_app.py move active monitor to an import 2022-05-23 23:48:29 -04:00
go.mod started rewriting in golang 2022-05-22 21:37:52 -04:00
go.sum started rewriting in golang 2022-05-22 21:37:52 -04:00
obs-websocket-functions.md added direct obs websocket support 2022-07-25 06:21:09 -04:00
requirements.txt added direct obs websocket support 2022-07-25 06:21:09 -04:00
sample-linux-config.json added direct obs websocket support 2022-07-25 06:21:09 -04:00
talk_to_pico.go added reading serial in go 2022-05-22 22:54:34 -04:00
talk_to_pico.py added direct obs websocket support 2022-07-25 06:21:09 -04:00

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",