Asyncio Python library for controlling a Pioneer AVR via its API
Project description
Python library for controlling a Pioneer AVI via its built-in API.
Inspired by the original Pioneer Home Assistant integation. Tested on a VSX-930 (Main Zone and HDZone outputs).
Features
- Implemented in asyncio.
- Maintains single continuous telnet session to AVR, with automatic reconnect.
- Eliminates status polling where AVR sends keepalive responses (on port 8102).
- Auto-detects Zones 1, 2, 3 and HDZONE.
- Automatically polls AVR for source names - no longer need to manually code them in your config any more if your AVR supports their retrieval.
- Queries device parameters: MAC address, software version, model.
- Includes workaround for AVRs with an initial volume set on the Main Zone.
Known issues/Future plans
- Implement a command line to send commands and receive responses from the AVR, though this appears to be tricky as console I/O isn't well supported in asyncio.
References
- Home Assistant Pioneer integration: https://www.home-assistant.io/integrations/pioneer/
- Pioneer commands references: https://github.com/rwifall/pioneer-receiver-notes
- Another asyncio Pioneer HA component: https://github.com/realthk/asyncpioneer
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
aiopioneer-0.0.4.tar.gz
(11.4 kB
view hashes)
Built Distribution
aiopioneer-0.0.4-py3-none-any.whl
(15.1 kB
view hashes)
Close
Hashes for aiopioneer-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7928b23aaf15272fade73a0d59c94c006ab1781a22838174e5388bb9a6ea3f4c |
|
MD5 | fde2248d34555455ec2332467c05e824 |
|
BLAKE2b-256 | 26f9a263d13d8eb089ca3735f411eb2ee1dbafa555bdaf7bd2553f989c46a767 |