https://github.com/pschmitt/pysonyavr
Python bindings for modern Sony speakers
https://github.com/pschmitt/pysonyavr
api iot python sony sound speaker
Last synced: 5 months ago
JSON representation
Python bindings for modern Sony speakers
- Host: GitHub
- URL: https://github.com/pschmitt/pysonyavr
- Owner: pschmitt
- License: gpl-3.0
- Archived: true
- Created: 2017-09-09T17:10:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-09T19:16:07.000Z (almost 9 years ago)
- Last Synced: 2025-08-31T14:58:04.752Z (10 months ago)
- Topics: api, iot, python, sony, sound, speaker
- Language: Python
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pysonyavr
=========
These Python bindings are intended to interact with modern Sony speakers.
**NOTE** This library has only been tested with a Sony SRS-ZR7. It may not work
reliably with other Sony speakers. Feel free to open an issue if your are having
trouble with your device.
Code sample
-----------
.. code:: python
from pysonyavr import SonyAvr
s = SonyAvr('10.0.0.18')
s.turn_on()
# Switch to AUX input
s.set_input('audio in')
s.raise_volume()
s.mute()
s.unmute()
s.turn_off()