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.5.1.tar.gz (11.0 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.5.1-py2.py3-none-any.whl (12.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: rxv-0.5.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rxv-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5255a9a3b4201ece3b0fe7cf36306db1b78ed41c3127544b2bc3635cd5662e6a
MD5 1defd8be1ee1268a1d72700e69e52d6c
BLAKE2b-256 2beb5ee70a361d826c3e86eef2e61b8a5bd7d8346f34ee05e1e2121fc435dfbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rxv-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da09a0881a48a02e3c2593e53e68a684d941e4405edf41ed5ab3605961adc89a
MD5 a85f8a8ab5b7c0114f1b3128686bc7bf
BLAKE2b-256 138b0ce21d5522e12fe553e374f22dbb5ef14697e65665fe2e2a4fa516a6d252

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