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

Project details


Release history Release notifications

This version
History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.11

History Node

0.1.10

History Node

0.1.9

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
rxv-0.5.1-py2.py3-none-any.whl (12.4 kB) Copy SHA256 hash SHA256 Wheel 3.5 Oct 9, 2017
rxv-0.5.1.tar.gz (11.0 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page