rdc-correlate
Correlates Kohler RDC generator wire-protocol TLV parameters (0xXXXX IDs
streaming over TCP 5253) against Rehlko cloud API fields to verify or
discover new parameter mappings.
When it finds new high-confidence mappings, it opens a PR on
rdc-protocol-research
that updates PARAMETERS.md with the discoveries.
What it does
- Reads
kohler.sqlite— a database populated by the rdc-proxy pcap capture pipeline (wire_records) and a Rehlko cloud poller (cloud_fields). - For every
(wire_param_id, cloud_field_path)pair, computes Pearson r on time-aligned samples + a median scale ratio. - Emits the highest-confidence match per wire ID that clears a threshold.
- Diffs those findings against the current
PARAMETERS.mdin rdc-protocol-research. New entries are bundled into a branch and opened as a PR for human review.
Quick start
See docs/SETUP.md for the full walkthrough (it assumes a Pi already running rdc-proxy). The short version:
curl -fsSL https://raw.githubusercontent.com/andrewroydshayes/rdc-correlate/main/install/install.sh \
| sudo bash
# Once credentials + gh auth are set up:
sudo /opt/rdc-correlate/venv/bin/python -m rdc_correlate correlate --out /tmp/f.json
sudo /opt/rdc-correlate/venv/bin/python -m rdc_correlate publish --findings /tmp/f.json --dry-run
sudo /opt/rdc-correlate/venv/bin/python -m rdc_correlate publish --findings /tmp/f.json
Subcommands
| Command | Purpose |
|---|---|
correlate |
Run correlation on the sqlite db; write findings.json |
publish |
Open a PR on rdc-protocol-research for new findings (+ --dry-run) |
poll |
Test Rehlko API credentials (lists homes and devices) |
Development
pip install -e ".[dev]"
pytest
License
MIT.
Metadata
Release files for rdc-correlate 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rdc_correlate-0.2.0.tar.gz | 13.6 kB | With provenance | Details for rdc_correlate-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rdc_correlate-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for rdc_correlate-0.2.0-py3-none-any.whl |
Total release size: 26.2 kB
Release files / rdc_correlate-0.2.0.tar.gz
| Download URL | rdc_correlate-0.2.0.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88fc6f0d3c78e2f038c22241ce1a5e728c026a466ee06999270a3b3cf393a5b0
|
|
BLAKE2b-256 checksum How to use checksums |
af95945a52c95960432171023c07cef927bc2c9104c873103c6e471368b500ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.
Transparency logRelease files / rdc_correlate-0.2.0-py3-none-any.whl
| Download URL | rdc_correlate-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd6e9559861d9f77ce0f9d8dfeadcd4506ae631b2bc83fa1bb1c5525d5781434
|
|
BLAKE2b-256 checksum How to use checksums |
f848f67e5c54348095578d90145fb01cce79bee67c526190ca3cb99dc9a3a5df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.
Transparency logSecurity for rdc-correlate 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rdc_correlate-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.
Transparency logA 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.