Skip to main content

RPiDeck

At this stage, this is a personal project, so many things may be hardcoded

Python agent enabling Elgato StreamDeck Neo connected to Raspberry Pi 5 running headless (server) system to control various devices including:

  • Dell monitor over spare HDMI using MCCS over DDC - inputs, KVM, PBP modes
  • Pioneer (Onkyo) AVR - HDMI matrix, audio amplifier source
  • TESmart KVM and any other RS232 devices
  • Busy Bar

Future devices to be supported:

  • anything from Home Assistant
  • multimedia devices connected to AVR using HDMI-CEC
  • remote HTTP API with multiple endpoints, aware of KVM connection, especially Kuando BusyLight connected via KVM

ENV.md contains critical information about the environment where this project can be installed.

Installation

PyPI: rpideck

pipx install rpideck

CLI usage

Config and assets must be placed under ~/.config/rpideck. See the example configuration and the full schema with defaults and environment overrides.

Environment variables override values in rpideck.yml. Use the RPIDECK_ prefix and double underscores between nested keys. For example, RPIDECK_DECK__BRIGHTNESS=75 sets the brightness, and RPIDECK_SERIAL__TESMART__PORT=/dev/ttyUSB1 changes just that serial target's port. You can omit busybar.password from the file and supply it through RPIDECK_BUSYBAR__PASSWORD.

Omitted settings use the defaults in the configuration models. Logging defaults to INFO, brightness to 50, and DDC steps to force: false. Each serial target requires a port and defaults to 9600 baud, 8 data bits, no parity, one stop bit, and a three-second timeout.

For now, just run rpideck and it'll start main loop. Buttons on last row (next to screen) act as page selectors.

Daemon

It can be run wit user systemd unit. Here's example config to run from pipx:

~.config/systemd/user/rpideck.service:

[Unit]
Description=RPiDeck
After=network.target
StartLimitIntervalSec=0

[Service]
ExecStart=/home/rpideck/.local/pipx/venvs/rpideck/bin/rpideck
Restart=always
RestartSec=1
KillSignal=SIGINT
TimeoutStopSec=10
RestartKillSignal=SIGINT

[Install]
WantedBy=default.target
systemctl --user enable --now rpideck
systemctl --user status rpideck
journalctl --user -u rpideck.service

Just ensure that user has correct permissions. For now on Ubuntu, this means following:

  1. for DDC - group i2c
  2. for serial port - group dialout

Metadata

Release files for rpideck 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpideck 0.5.1
File Size Uploaded Provenance Actions
rpideck-0.5.1.tar.gz 114.0 kB Without provenance Details for rpideck-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rpideck 0.5.1
File Interpreter ABI Platform Actions
rpideck-0.5.1-py3-none-any.whl Python 3 none any Details for rpideck-0.5.1-py3-none-any.whl

Total release size: 128.1 kB

Release files / rpideck-0.5.1.tar.gz

Download URL rpideck-0.5.1.tar.gz
Size 114.0 kB
Tags Source
SHA-256 checksum
How to use checksums
805a4a0cb6ba53399f0f3ef84e7788361893407fb00130e8a10e804bea69b294
BLAKE2b-256 checksum
How to use checksums
091422c7c0356bca42c9d77a83429af8ebf71f76f38ed12a994535797fbfb707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / rpideck-0.5.1-py3-none-any.whl

Download URL rpideck-0.5.1-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38f34259834bf8005d2efa78cdd64e6cad62b2a7185cd26ff5ba0bc4247437e1
BLAKE2b-256 checksum
How to use checksums
6f44aba2269e1a222016e87f1d36b22f8faf6a6b94a81df8295ad1b4830d354c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for rpideck 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page