Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wuub committed Nov 23, 2013
1 parent 9f535fd commit 4e6b045
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@ rxv

Hacky Python interface to Yamaha RX-V*73 receivers (mainly RX-V473)

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"

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
=======

Expand Down

0 comments on commit 4e6b045

Please sign in to comment.