tc66-serial
A library for reading live measurements from Ruideng (RD/RDTech) TC66 and TC66C USB power meters over a serial connection: voltage, current, power, resistance, D+/D- line voltage, and the two mAh/mWh accumulator groups.
from tc66_serial import Tc66Client
with Tc66Client("/dev/ttyACM0") as client: # or "COM10" on Windows
reading = client.get_reading()
print(f"{reading.voltage:.4f} V {reading.current:.5f} A {reading.power:.4f} W")
Full documentation, protocol notes, and the companion .NET and npm packages live in the GitHub repository.
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 tc66_serial-1.0.1.tar.gz.
File metadata
- Download URL: tc66_serial-1.0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c04f5de98f9baef9b4da6bebdf0cffd566a449920adb7f7a48c7ddd1dcffa5
|
|
| MD5 |
70cc6ab36655a8293c9a92bb385c6f79
|
|
| BLAKE2b-256 |
5ffb65d7e4f1578f9ce33c23806fb71631aae64c6cc0c592f55c9d4dbf1f937e
|
Provenance
The following attestation bundles were made for tc66_serial-1.0.1.tar.gz:
Publisher:
python.yml on savrcbl/tc66-serial
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tc66_serial-1.0.1.tar.gz -
Subject digest:
c2c04f5de98f9baef9b4da6bebdf0cffd566a449920adb7f7a48c7ddd1dcffa5 - Sigstore transparency entry: 2673321953
- Sigstore integration time:
-
Permalink:
savrcbl/tc66-serial@e095c1a782e19433d4540e379b18322ddef6162f -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/savrcbl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@e095c1a782e19433d4540e379b18322ddef6162f -
Trigger Event:
push
-
Statement type:
File details
Details for the file tc66_serial-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tc66_serial-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b8209104f925ca2ecc6e5d70b20a31271800583e71f39786cb85f96b390e49
|
|
| MD5 |
9f9ceea64f200842621adae5e6ba8545
|
|
| BLAKE2b-256 |
1cab13222e7c961cb700599c0eaf4e0a354cd81b8c2b37f002f813c8b4c462d8
|
Provenance
The following attestation bundles were made for tc66_serial-1.0.1-py3-none-any.whl:
Publisher:
python.yml on savrcbl/tc66-serial
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tc66_serial-1.0.1-py3-none-any.whl -
Subject digest:
11b8209104f925ca2ecc6e5d70b20a31271800583e71f39786cb85f96b390e49 - Sigstore transparency entry: 2673321977
- Sigstore integration time:
-
Permalink:
savrcbl/tc66-serial@e095c1a782e19433d4540e379b18322ddef6162f -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/savrcbl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@e095c1a782e19433d4540e379b18322ddef6162f -
Trigger Event:
push
-
Statement type: