Cross-platform Crestron processor provisioning console
Project description
Crestron Processor Setup
Cross-platform interactive console for Crestron processor provisioning. Discovers devices on the LAN, creates accounts, configures settings, and manages firmware — all from a terminal menu.
Features
- Device Discovery — CIP protocol broadcast (UDP 41794) finds Crestron processors on the local network, with first-boot detection
- Interactive Console — Arrow-key menus, checkbox device selection, animated progress tracking
- Cross-Platform — Python + paramiko (works on macOS, Linux, and Windows — no
expectdependency) - Firmware Management — Download firmware from configurable URLs and upload to processors
- Network Configuration — Set static IP or DHCP per device during provisioning
- Restore & Erase — Factory-reset devices with
initialize+restorecommands - 6-Phase Provisioning:
- Account Creation — Detects first-boot state; creates admin account or verifies existing credentials
- Public Key Upload — SFTP
.pubkey to/user/ - Configuration — Timezone, NTP, web ports, login lockout policy, FIPS mode
- Network Configuration — DHCP or static IP with subnet, gateway, and DNS
- Reboot — Sends
REBOOTand polls until back online - Firmware Upload — Version comparison; uploads
.pufto/firmware/only if newer
Installation
Homebrew (macOS)
brew install mikejobson/tap/crestron-setup
pip (all platforms)
pip install crestron-setup
Standalone Binary
Download the latest binary from GitHub Releases:
| Platform | Download |
|---|---|
| macOS | crestron-setup-macos |
| Windows | crestron-setup-windows.exe |
# macOS — make executable and move to PATH
chmod +x crestron-setup-macos
sudo mv crestron-setup-macos /usr/local/bin/crestron-setup
Scoop (Windows)
scoop bucket add crestron https://github.com/mikejobson/scoop
scoop install crestron-setup
From Source
git clone https://github.com/mikejobson/Crestron-Processor-Setup.git
cd Crestron-Processor-Setup
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
Requirements
- Python 3.10+ (pip and source installs only — standalone binaries are self-contained)
- Root/admin privileges for device discovery (UDP broadcast)
Usage
# Launch the interactive console
crestron-setup
# Discovery requires elevated privileges
sudo crestron-setup
# If installed via pip / from source
python -m crestron_setup
sudo .venv/bin/python -m crestron_setup
Configuration
Settings are stored in ~/.config/crestron-setup/config.yaml (macOS/Linux) or %APPDATA%\crestron-setup\config.yaml (Windows). A local config.yaml in the working directory takes priority.
Copy config.example.yaml to get started. Key settings:
| Setting | Default | Description |
|---|---|---|
timezone |
33 (GMT Standard Time) |
Crestron timezone ID |
ntp_server |
pool.ntp.org |
NTP server address |
pubkey_file |
~/.ssh/id_rsa.pub |
SSH public key — local path or URL (e.g. https://github.com/user.keys) |
firmware_dir |
~/Sync/Crestron Firmware |
Local firmware directory (fallback) |
web_port |
8080 |
Web server port |
secure_web_port |
8443 |
Secure web server port |
firmware_urls |
(empty) | Per-model firmware download URLs |
Files
| Path | Purpose |
|---|---|
crestron_setup/ |
Python package — CLI, discovery, SSH, provisioning, firmware |
config.example.yaml |
Template configuration file |
setup_processor.sh |
Legacy bash script (macOS only, requires expect) |
crestron_command_reference.md |
CLI command reference (414 commands) from a live CP4 |
example commands.txt |
Reference log of a manual setup session |
Legacy Bash Script
The original setup_processor.sh is still included for reference. It requires macOS with expect and takes a single hostname argument:
./setup_processor.sh <hostname-or-ip>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crestron_setup-1.0.3.tar.gz.
File metadata
- Download URL: crestron_setup-1.0.3.tar.gz
- Upload date:
- Size: 138.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4231fa105f1cd6fe5ce603f344a1aa277d3749d66fe123105ae471ae4ad750
|
|
| MD5 |
4a124d8b89ff80a60f8ff719e35cce40
|
|
| BLAKE2b-256 |
2f977b633cf46459052364c340b3edb3955f60a7665a5efed1a41854b6b0c64e
|
Provenance
The following attestation bundles were made for crestron_setup-1.0.3.tar.gz:
Publisher:
release.yml on mikejobson/Crestron-Processor-Setup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crestron_setup-1.0.3.tar.gz -
Subject digest:
ad4231fa105f1cd6fe5ce603f344a1aa277d3749d66fe123105ae471ae4ad750 - Sigstore transparency entry: 1487687827
- Sigstore integration time:
-
Permalink:
mikejobson/Crestron-Processor-Setup@132a5789804e5f5e46861bb1102fe42ba4adb396 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/mikejobson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@132a5789804e5f5e46861bb1102fe42ba4adb396 -
Trigger Event:
push
-
Statement type:
File details
Details for the file crestron_setup-1.0.3-py3-none-any.whl.
File metadata
- Download URL: crestron_setup-1.0.3-py3-none-any.whl
- Upload date:
- Size: 87.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c083981bb85f46aa245050bce68541f89cacd358f034394342bd9b3c774a02a
|
|
| MD5 |
7b3a94f90a43bbd589b9bec0af9c0b9a
|
|
| BLAKE2b-256 |
e8158eea50b360376295359879a2ad8bc6b6894c9752b66c28e9f58a3b5790ff
|
Provenance
The following attestation bundles were made for crestron_setup-1.0.3-py3-none-any.whl:
Publisher:
release.yml on mikejobson/Crestron-Processor-Setup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crestron_setup-1.0.3-py3-none-any.whl -
Subject digest:
1c083981bb85f46aa245050bce68541f89cacd358f034394342bd9b3c774a02a - Sigstore transparency entry: 1487687837
- Sigstore integration time:
-
Permalink:
mikejobson/Crestron-Processor-Setup@132a5789804e5f5e46861bb1102fe42ba4adb396 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/mikejobson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@132a5789804e5f5e46861bb1102fe42ba4adb396 -
Trigger Event:
push
-
Statement type: