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.3.tar.gz
(11.4 kB
view hashes)
Built Distribution
aiopioneer-0.0.3-py3-none-any.whl
(15.1 kB
view hashes)
Close
Hashes for aiopioneer-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa470ca5dcbc19fd6bfb2846ec33ff05d33e97b0a3e18b2b3e2bf387ee24d13b |
|
MD5 | 15bdb76aafd0b1265390f1188e92834d |
|
BLAKE2b-256 | e907f27ad63821b9b64c426e2bab66c5799459fc8e3b78e3a2427211fb2a69c7 |