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()

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.4.0.tar.gz (9.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.4.0-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for rxv-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6747c162dbdbd41752ec3e56a0e7d62e09634a8ec02ba9cfba923e2e8ab38c77
MD5 c9a847b9d240335c13fe2cd491bc8fe1
BLAKE2b-256 44bf0f65ba571c6ba6d6754885a8028d9476bf96aa9d52c1863e417bcfe627f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rxv-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5b9ed6fe64052676e0ed0bd2cf6ca3d3211b16a960522bcf2173484d384817d8
MD5 53c92e3683f6ec80970650c6497c8c88
BLAKE2b-256 d119ceb89eac22557728dfa1851972ebc6d22d31eb04b1b3cf99f8cb3b332a3b

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