Transparent TCP proxy for the Kohler RDC2 generator controller — decodes telemetry, survives Kohler/Rehlko cloud outages.
Project description
rdc-proxy
Transparent TCP proxy for the Kohler RDC2 (Blue Board) generator controller. Decodes the plaintext TLV wire protocol in real time, survives Kohler/Rehlko cloud outages by replaying a captured handshake, and serves a local-only dashboard.
What it does
- Sits as a Linux L2 bridge between the RDC and your LAN — zero config on the RDC side, no cloud account required after initial pairing.
- In PROXY mode it relays RDC ↔ Kohler cloud transparently while tapping the stream to decode telemetry.
- In LOCAL mode (no internet) it replays a captured cloud handshake so the RDC keeps streaming to the Pi instead of faulting.
- Serves a dashboard at
http://<pi>/with engine state, voltages, frequency, runtime hours, utility loss events, and interface counters. Every value has a per-field "No Data" indicator (red X + badge) so zero readings can't be confused with "haven't heard yet" — see PI-SETUP §10d for why some fields (RPM, generator voltage) show "No Data" in standby.
⚠️ Use at your own risk
This is an unofficial, community project — not made, endorsed, or supported by Kohler or Rehlko. It runs on your hardware, on your network, near your expensive generator. You are responsible for your install. The proxy is designed to be passive and read-only on the wire, and has done no harm in testing on the developer's generator, but we can't guarantee nothing odd will happen on yours. If you're not comfortable tinkering near a generator, don't.
Nothing leaves your Pi. No telemetry, no analytics, no phone-home. The only outbound network traffic is (a) the generator's existing connection to Kohler's cloud — which is unchanged — and (b) package downloads from apt and PyPI the first time you install. All decoding, storage, and the dashboard stay on the Pi.
The source is open; read it before running it. MIT-licensed, all three
packages on GitHub (rdc-proxy,
rdc-proxy-unifi,
rdc-correlate). The
installer is a ~200-line bash script. If you'd rather not curl | sudo bash,
clone the repo, read it, run it yourself.
No warranty. Per the MIT license, the software is provided "AS IS," without warranty of any kind, express or implied — including merchantability, fitness for a particular purpose, and non-infringement. The authors are not liable for any claim, damages, or other liability arising from use of this software. If Kohler changes their wire protocol, this project could break, and there is no guarantee it will be updated.
Observing traffic on your own network is your right. rdc-proxy is a passive bridge on your LAN between two pieces of hardware you own. Kohler has no legal standing over packets on your wire. US copyright law (DMCA §1201(f)) explicitly permits reverse engineering for interoperability with equipment you own. rdc-proxy does not use Kohler's cloud API, does not access the service in an automated way, and does not share account access — it just watches packets fly by on your network. If you plan to go further and automate calls to Kohler's cloud API on top of this, that's a separate question — see rdc-correlate for that discussion.
The full "please read before starting" block is also at the top of docs/PI-SETUP.md.
Quick start (fresh Raspberry Pi)
See docs/PI-SETUP.md for the full flash-to-running walkthrough. The short version once you're SSH'd into the Pi:
curl -fsSL https://raw.githubusercontent.com/andrewroydshayes/rdc-proxy/main/install/install.sh \
| sudo RDC_IP=10.0.0.50 bash
Architecture
See docs/ARCHITECTURE.md for module layout, the plugin contract, and the TPROXY-on-bridge gotchas.
Plugins
External integrations live in separate packages that register under the
rdc_proxy.plugins entry-point group. Install a plugin with pip after
rdc-proxy is up — it's picked up automatically on next service restart.
Development
# Run tests
pip install -e ".[dev]"
pytest
# Run locally (without systemd)
python -m rdc_proxy
Status
Runs in production on a Raspberry Pi 4 monitoring a Kohler 20 kW RDC2 generator. See the rdc-protocol-research repo for handshake reverse-engineering notes and the parameter-mapping registry.
License
MIT. Provided "AS IS," without warranty. See the full disclaimer in the Use at your own risk section above.
Project details
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 rdc_proxy-0.4.4.tar.gz.
File metadata
- Download URL: rdc_proxy-0.4.4.tar.gz
- Upload date:
- Size: 115.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdaa46a1310293a9937d8af5c53a06d45cf3a08d1c2be88e0765656776e19efa
|
|
| MD5 |
939088df035f90682178daa49abf75ce
|
|
| BLAKE2b-256 |
868aa231cc0cfa83745bfd0e237276abc9bae394b8ba0673d4426720fdfc2d6f
|
Provenance
The following attestation bundles were made for rdc_proxy-0.4.4.tar.gz:
Publisher:
publish.yml on andrewroydshayes/rdc-proxy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rdc_proxy-0.4.4.tar.gz -
Subject digest:
fdaa46a1310293a9937d8af5c53a06d45cf3a08d1c2be88e0765656776e19efa - Sigstore transparency entry: 1376347954
- Sigstore integration time:
-
Permalink:
andrewroydshayes/rdc-proxy@966bc22c617b97337ab9cf21469d7dfbab219e25 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/andrewroydshayes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@966bc22c617b97337ab9cf21469d7dfbab219e25 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rdc_proxy-0.4.4-py3-none-any.whl.
File metadata
- Download URL: rdc_proxy-0.4.4-py3-none-any.whl
- Upload date:
- Size: 109.5 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 |
4fd45182d877b7458ce0d0823d7d7ba08b54811377708f5382d759dd9978b7f5
|
|
| MD5 |
396ca508d6d2a1dffde3c4b5b9df6c9b
|
|
| BLAKE2b-256 |
eef06f805503408e4182e25514513887a59f440cf0ab917c7ee061584a3356b0
|
Provenance
The following attestation bundles were made for rdc_proxy-0.4.4-py3-none-any.whl:
Publisher:
publish.yml on andrewroydshayes/rdc-proxy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rdc_proxy-0.4.4-py3-none-any.whl -
Subject digest:
4fd45182d877b7458ce0d0823d7d7ba08b54811377708f5382d759dd9978b7f5 - Sigstore transparency entry: 1376347963
- Sigstore integration time:
-
Permalink:
andrewroydshayes/rdc-proxy@966bc22c617b97337ab9cf21469d7dfbab219e25 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/andrewroydshayes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@966bc22c617b97337ab9cf21469d7dfbab219e25 -
Trigger Event:
push
-
Statement type: