tonewinner-rs232
Async Python library to control Tonewinner AV processors over RS232 serial, built on serialx.
Supports the AT-500 specifically, other models should work but haven't been tested. Please open an issue if you encounter problems with other models.
Installation
pip install tonewinner-rs232
Requires Python 3.12+.
Quick start
import asyncio
from tonewinner_rs232 import TonewinnerReceiver
async def main():
receiver = TonewinnerReceiver("/dev/ttyUSB0")
# Establish a connection
await receiver.connect()
# Query the receiver's current state
await receiver.query_state()
print(f"Power: {receiver.state.power}")
print(f"Volume: {receiver.state.volume}")
print(f"Source: {receiver.state.source_name}")
await receiver.power_off()
await receiver.disconnect()
asyncio.run(main())
Features
- Async API built on serialx
- Full state query and real-time state updates
- Event subscription for state changes
- Power, volume, mute, input source, and sound mode control
- Automatic framing of the
##...*Tonewinner RS232 protocol - Built-in CLI for testing
CLI
Just prints current state at the moment.
python -m tonewinner_rs232 /dev/ttyUSB0
Metadata
Release files for tonewinner-rs232 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tonewinner_rs232-1.2.2.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tonewinner_rs232-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 kB
Release files / tonewinner_rs232-1.2.2.tar.gz
| Download URL | tonewinner_rs232-1.2.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
978c9b79565ca22678a165296f5664bb5c02131523d139d4567c499672b221c8
|
|
BLAKE2b-256 checksum How to use checksums |
d41c65db1605621909cf610d1b327897e0e10c6e32d975a052b6b6185f77ceff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 24, 2026.
Transparency logRelease files / tonewinner_rs232-1.2.2-py3-none-any.whl
| Download URL | tonewinner_rs232-1.2.2-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73aaa03d9e2a0dcaff812643d6431caf119976c15718ee4b0b585cb46fdf05fa
|
|
BLAKE2b-256 checksum How to use checksums |
62c9a861fab43afb59ba9022c5420cca81d52b4692171920831c58b86d204871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 24, 2026.
Transparency log