Loading...
AV Receiver (RX-V, RX-A, TSR, CX-A) · MusicCast
Controls Yamaha AV receivers and other MusicCast products over the Yamaha Extended Control (YXC) HTTP API: power, volume, mute, inputs, sound programs, Pure Direct and other sound settings, scenes, speakers A/B, HDMI outputs, network playback, tuner and CD.
Any Yamaha device that the MusicCast app can control should work. Older receivers (from before about 2016) that the MusicCast app does not support use a different protocol, and this module does not support them.
The module reads the zones from the receiver and uses the names you gave them (for example Living Room and Kitchen). Zone A/B models use main for Zone A and zone2 for Zone B.
Receivers from about 2016–2017 (for example RX-V781) keep zone and input names set on the receiver or in its web page in Yamaha's older XML protocol, and report only "Room" and "HDMI1" in the newer API. The module reads both and uses the names you set. If several zones only report the same name, it uses Main, Zone 2 and so on instead. After you rename something, use the action Re-read the receiver.
main/setVolume?volume=up. The answer goes to the log.Zone is on, Zone is muted, Input is selected, Sound program is selected, Pure Direct/Enhancer/… is on, Speaker A/B/HDMI out/party mode is on, Volume compared to a value, Sleep timer is running, Playback state, Tuner band, Tuner preset is playing.
"Input is selected" and "Sound program is selected" only light while the zone is on, unless you untick that option.
Zone variables start with the zone ID, for example $(yxc:main_volume_display) or $(yxc:zone2_input_name). Replace yxc with the label of your connection.
name, power, volume (receiver steps), volume_percent, volume_db, volume_display, max_volume, mute, input, input_name, sleep, sound_program, sound_program_name, and the sound settings the zone has (pure_direct, enhancer, bass, treble, subwoofer_volume, dialogue_level …).model, device_id, firmware, api_version, events (event listener status and how many events came in), main_audio_format, main_audio_fs, speaker_a, speaker_b, hdmi_out_1, hdmi_out_2, party_mode, dimmer.netusb_input_name, netusb_playback, netusb_artist, netusb_album, netusb_track, netusb_time, netusb_play_time, netusb_total_time, netusb_repeat, netusb_shuffle, netusb_albumart_url.tuner_band, tuner_frequency, tuner_station, tuner_radio_text, tuner_preset.cd_playback, cd_track_number, cd_total_tracks, cd_track, cd_artist, cd_time.volume_db is only filled in when the receiver reports its volume in dB. volume_display always shows something.
Presets are built from what the receiver reports, so they appear after the first connection: power and sleep, volume and mute, one button per input, one per sound program, sound settings, scenes, network playback and favourites, tuner bands and presets, speakers and HDMI outputs, and menu navigation.
events variable. If it shows 0 received, a firewall is probably blocking incoming UDP: set a fixed event port and allow it.This module follows the Yamaha Extended Control API Specification (Basic), rev. 2.00.