Skip to main content

Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers

Project description

rxv

https://travis-ci.org/wuub/rxv.svg?branch=master Code Health

Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers

Installation

Use pip:

$ pip install rxv
or
$ pip install --use-wheel rxv

Usage

The easiest way to start using is to let SSDP find all available receivers. In most cases rxv module will manage to obtain locations of local compatible devices:

>>> import rxv
>>> receivers = rxv.find()
>>> print(receivers)
[<RXV model_name="RX-V473" ctrl_url="http://192.168.1.116:80/YamahaRemoteControl/ctrl" at 0x2c1c1d0>]
>>> rx = receivers[0]
>>> rx.on = True
>>> rx.volume
-51.0
>>> rx.inputs()
{'AUDIO': None,
'HDMI1': None,
'HDMI2': None,
(...)
'iPod (USB)': 'iPod_USB'}
>>> rx.input
"NET RADIO"
>>> rx.input = "HDMI1"
>>> rx.input
"HDMI1"
>>> rx.is_playback_supported()
False
>>> rx.input = "AirPlay"
>>> rx.is_playback_supported()
True
>>> from rxv import PlaybackSupport
>>> (rx.get_playback_support() & PlaybackSupport.PLAY) != 0
True
>>> rx.play()
>>> rx.next()
>>> rx.outputs
{'hdmi2': 'off', 'hdmi1': 'on'}
>>> rx.enable_output('hdmi2', True)
>>> rx.enable_output('hdmi1', False)
>>> rx.outputs
{'hdmi2': 'on', 'hdmi1': 'off'}

If SSDP causes you some problems, ctrl_url can be provided by hand.:

>>> rx = rxv.RXV("http://192.168.1.116:80/YamahaRemoteControl/ctrl", "RX-V473")

License

BSD

Authors

Contributors

Users

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rxv-0.6.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rxv-0.6.0-py2.py3-none-any.whl (11.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rxv-0.6.0.tar.gz.

File metadata

  • Download URL: rxv-0.6.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.5

File hashes

Hashes for rxv-0.6.0.tar.gz
Algorithm Hash digest
SHA256 aa1d707fb4f6d71581aca9a864fb03e62f001b32c835b72ddba5cfdb5c3a661f
MD5 aa4f497ccd519ac37bfc2481ff36394d
BLAKE2b-256 6701f2c35d41cbef0e236122572da177d4684fa0a924e521538c194b020729dc

See more details on using hashes here.

File details

Details for the file rxv-0.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: rxv-0.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.5

File hashes

Hashes for rxv-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 127964960e569c5c0e6c9ca34233d281b80dcc1098e7bdf08650c66006dcfc8a
MD5 7103a5d1dd90941c71ccfb931833d1a3
BLAKE2b-256 cd7a743d4c4dcc9966e8a17d61f9d75591289be471136abad1db3b1eebba9d7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page