iRidi for Yamaha
A toolkit for creating control interfaces using the Yamaha audio system driver.
Documentation updated 01.01.2024
Example: Yamaha
Description
iRidi for Yamaha lets you create an interface to control a Yamaha audio system. The driver includes a complete set of commands and feedback channels that require no additional configuration.
Tested equipment:
- Yamaha wx-021,
- Yamaha wx-051.
Connection
The Yamaha driver uses HTTP. Its status is online only while data is being transferred; at all other times, its status is offline.
To connect to a Yamaha audio system, specify the equipment's IP address in the driver settings. If the IP address is unknown, you can find it by scanning the local network with dedicated software, such as Advanced Port Scanner.
Configuring the driver
- In the project, on the Devices tab, add the driver Yamaha Network .

- Specify the driver connection settings:

- Log Level - logging level;
- Host - IP address of the audio system;
- Port - connection port (80 by default);
- Update period - interval between requests to update the data (s).
Configuring commands and feedbacks

To control equipment, configure Commands and Feedbacks. To send a command, drag it onto a graphical item and specify the Value to send. To display feedback, drag the Feedback onto a graphical item and specify how to display its Value.
For more information about graphical items, see Graphical item types.
The complete list of commands and feedback channels is organized into four device types: zone, netusb, tuner and cd. You can add another device to the driver, but you cannot change, delete, or add commands or feedback channels within a device.
- Preset in the Yamaha driver is a predefined set of parameters for playing media content from a source (netusb and tuner).
zone
Zones in which the media player (tuner, CD, netusb) will play. The number of zones depends on the equipment. Zone name - zone name (there are 4 zones: main, zone2, zone3, zone4). At least one zone is required for the equipment to work. A zone can work with only one media player at a time.
Commands
| Channel | Value | Description |
|---|---|---|
| Power | 1 / 0 | 1 - switch to on mode, 0 - switch to standby mode. |
| Input | "tuner" "fm" "am" "dab" "net_radio" "napster" "spotify" "juke" "qobuz" "tidal" "deezer" "server" "bluetooth" "mc_link" "usb" "alexa" "rhapsody" "amazon_music" "pandora" "siriusxm" "airplay" "radiko" "aux1" aux2 "digital" "hdmi1" "hdmi2" "hdmi3" "hdmi4" "hdmi5" "hdmi6" "hdmi7" "hdmi8" "hdmi" "av1" "av2" "av3" "av4" "av5" "av6" "av7". | Switch the input to... |
| Volume | 0 ~ 100 | Set the volume level as a percentage. |
| Mute | 1 / 0 | 1 - enable audio in the zone, 0 - disable audio in the zone. |
| ApplyPreset | Value (preset number) | Apply a preset to this zone. |
| Select Input: Tuner | — | — |
| tuner | 1 | Switch the input to "tuner" (radio). |
| Select Input: CD | — | — |
| cd | 1 | Switch the input to "cd". |
| Select Input: Netusb | — | — |
| net_radio | 1 | Switch the input to "net_radio". |
| napster | 1 | Switch the input to "napster". |
| spotify | 1 | Switch the input to "spotify". |
| juke | 1 | Switch the input to "juke". |
| tidal | 1 | Switch the input to "tidal". |
| deezer | 1 | Switch the input to "deezer". |
| server | 1 | Switch the input to "server". |
| bluetooth | 1 | Switch the input to "bluetooth". |
| mc_link | 1 | Switch the input to "mc_link". |
| usb | 1 | Switch the input to "usb". |
| alexa | 1 | Switch the input to "alexa". |
| rhapsody | 1 | Switch the input to "rhapsody". |
| amazon_music | 1 | Switch the input to "amazon_music". |
| pandora | 1 | Switch the input to "pandora". |
| siriusxm | 1 | Switch the input to "siriusxm". |
| airplay | 1 | Switch the input to "airplay". |
| radiko | 1 | Switch the input to "radiko". |
| Select Input: TV | — | — |
| tv | 1 | Switch the input to "tv". |
| SoundProgram | munich_a munich_b munich frankfurt stuttgart vienna amsterdam usa_a usa_b tokyo freiburg royaumont chamber concert village_gate village_vanguard warehouse_loft cellar_club jazz_club roxy_theatre bottom_line arena sports action_game roleplaying_game game music_video music recital_opera pavilion disco standard spectacle sci-fi adventure drama talk_show tv_program mono_movie movie enhanced 2ch_stereo 5ch_stereo 7ch_stereo 9ch_stereo 11ch_stereo stereo surr_decoder my_surround target straight off | Selected sound program. |
Feedbacks
| Channel | Value | Description |
|---|---|---|
| Power | "on" / "standby" | Operating mode (String). |
| IsOn | 1 / 0 | Operating mode: 1 - on, 0 - standby. |
| Input | "tuner" "fm" "am" "dab" "net_radio" "napster" "spotify" "juke" "qobuz" "tidal" "deezer" "server" "bluetooth" "mc_link" "usb" "alexa" "rhapsody" "amazon_music" "pandora" "siriusxm" "airplay" "radiko" "aux1" aux2 "digital" "hdmi1" "hdmi2" "hdmi3" "hdmi4" "hdmi5" "hdmi6" "hdmi7" "hdmi8" "hdmi" "av1" "av2" "av3" "av4" "av5" "av6" "av7". | Current input. |
| IsTuner | 1 / 0 | Current input: 1 if "Tuner", otherwise 0. |
| IsNetusb | 1 / 0 | Current input: 1 if "Netusb", otherwise 0. |
| IsCD | 1 / 0 | Current input: 1 if "CD", otherwise 0. |
| Volume | 0 ~ 100 | Volume level as a percentage. |
| Mute | 1 / 0 | "Mute" mode: 1 - audio enabled, 0 - disabled. |
| Select Input: Tuner | — | — |
| tuner | 1 / 0 | Current input: 1 if "tuner", otherwise 0. |
| Select Input: CD | — | — |
| cd | 1 / 0 | Current input: 1 if "cd", otherwise 0. |
| Select Input: Netusb | — | — |
| net_radio | 1 / 0 | Current input: 1 if "net_radio", otherwise 0. |
| napster | 1 / 0 | Current input: 1 if "napster", otherwise 0. |
| spotify | 1 / 0 | Current input: 1 if "spotify", otherwise 0. |
| juke | 1 / 0 | Current input: 1 if "juke", otherwise 0. |
| tidal | 1 / 0 | Current input: 1 if "tidal", otherwise 0. |
| deezer | 1 / 0 | Current input: 1 if "deezer", otherwise 0. |
| server | 1 / 0 | Current input: 1 if "server", otherwise 0. |
| bluetooth | 1 / 0 | Current input: 1 if "bluetooth", otherwise 0. |
| mc_link | 1 / 0 | Current input: 1 if "mc_link", otherwise 0. |
| usb | 1 / 0 | Current input: 1 if "usb", otherwise 0. |
| alexa | 1 / 0 | Current input: 1 if "alexa", otherwise 0. |
| rhapsody | 1 / 0 | Current input: 1 if "rhapsody", otherwise 0. |
| amazon_music | 1 / 0 | Current input: 1 if "amazon_music", otherwise 0. |
| pandora | 1 / 0 | Current input: 1 if "pandora", otherwise 0. |
| siriusxm | 1 / 0 | Current input: 1 if "siriusxm", otherwise 0. |
| airplay | 1 / 0 | Current input: 1 if "airplay", otherwise 0. |
| radiko | 1 / 0 | Current input: 1 if "radiko", otherwise 0. |
| Select Input: TV | — | — |
| tv | 1 / 0 | Current input: 1 if "tv", otherwise 0. |
| SoundProgram | munich_a munich_b munich frankfurt stuttgart vienna amsterdam usa_a usa_b tokyo freiburg royaumont chamber concert village_gate village_vanguard warehouse_loft cellar_club jazz_club roxy_theatre bottom_line arena sports action_game roleplaying_game game music_video music recital_opera pavilion disco standard spectacle sci-fi adventure drama talk_show tv_program mono_movie movie enhanced 2ch_stereo 5ch_stereo 7ch_stereo 9ch_stereo 11ch_stereo stereo surr_decoder my_surround target straight off | Selected sound program. |
netusb
Playback control for netusb inputs (spotify, napster, usb, etc.).
Commands
| Channel | Value | Description |
|---|---|---|
| Play/Pause | 1 / 0 | 1 - start playback, 0 - stop playback. |
| Stop | 1 | Pause playback. |
| Prev | 1 | Plays the previous track. |
| Next | 1 | Plays the next track. |
| FastReverse | 1 / 0 | 1 - start fast reverse, 0 - return to normal playback speed. |
| FastForward | 1 / 0 | 1 - start fast forward, 0 - return to normal playback speed. |
| ToggleRepeat | 1 | Switch repeat mode: "off" "one" "all". According to the Yamaha protocol, some sources do not support the "Repeat" command. |
| ToggleShuffle | 1 | Switch shuffle mode: "off" "on" "songs" "albums". According to the Yamaha protocol, some sources do not support the "Shuffle" command. |
| StorePreset | Value (preset number) | Save the current settings to a preset (preset number > 0). Previously saved preset settings will be overwritten by the new settings. According to the Yamaha protocol, sources of the "aux", "AirPlay", and "digital" types cannot be saved to a Preset. |
| Seek | Value (s) | Seek to a specific position in the audio (time is specified in seconds from the start of playback). |
Feedbacks
| Channel | Value | Description |
|---|---|---|
| Input | "net_radio" "napster" "spotify" "juke" "qobuz" "tidal" "deezer" "server" "bluetooth" "mc_link" "usb" "alexa" "rhapsody" "amazon_music" "pandora" "siriusxm" "airplay" "radiko". | Current input. |
| PlaybackStatus | "play" "stop" "pause" "fast_reverse" "fast_forward". | Playback status. |
| Play | 1 / 0 | Playback status: 1 if "play", otherwise 0. |
| Pause | 1 / 0 | Playback status: 1 if "pause", otherwise 0. |
| Stop | 1 / 0 | Playback status: 1 if "stop", otherwise 0. |
| FastForward | 1 / 0 | Playback status: 1 if "fast_forward", otherwise 0. |
| FastReverse | 1 / 0 | Playback status: 1 if "fast_reverse", otherwise 0. |
| RepeatStatus | "off" "one" "all" | Repeat mode. |
| ShuffleStatus | "off" "on" "songs" "albums" | Shuffle mode. |
| Track | "Track" | Track title. |
| Album | "Album" | Album title. |
| AlbumArtUrl | Image | URL of the album artwork. |
| Artist | "Artist" | Artist. |
| PlayTime | -59999 ~ 59999 | Playback time (s). |
| PlayTimeStr | "HH:MM:SS" / "MM:SS" | Playback time (String). |
| TotalTime | 0 ~ 59999 | Total track time. |
| TotalTimeStr | "HH:MM:SS" / "MM:SS" | Total track time (String). |
tuner
Playback control for radio frequencies.
Commands
| Channel | Value | Description |
|---|---|---|
| PrevTuner | 1 | Switch to the previous preset. |
| NextTuner | 1 | Switch to the next preset. |
| SetBand | "am" "fm" "dab" | Switch the station. |
| SetFrequency | Value | Set the frequency (kHz). |
| StorePreset | Value (preset number) | Save the current station to a preset (preset number > 0). |
| PrevDabService | 1 | Switch to the previous digital radio (DAB) station. |
| NextDabService | 1 | Switch to the next digital radio (DAB) station. |
| SelectBand | — | — |
| am | 1 | Switch to "am". |
| fm | 1 | Switch to "fm". |
| dab | 1 | Switch to "dab". |
Feedbacks
| Channel | Value | Description |
|---|---|---|
| Band | "am" "fm" "dab" | Current station. |
| Frequency | Value | Frequency (kHz). |
| Preset | Value | Current preset number (0 if no preset is selected). |
| CurrentBand | — | — |
| am | 1 / 0 | Current station: 1 if "am", otherwise 0. |
| fm | 1 / 0 | Current station: 1 if "fm", otherwise 0. |
| dab | 1 / 0 | Current station: 1 if "dab", otherwise 0. |
cd
CD playback control.
Commands
| Channel | Value | Description |
|---|---|---|
| Play/Pause | 1 / 0 | 1 - start playback, 0 - stop playback. |
| Stop | 1 | Pause playback. |
| Prev | 1 | Plays the previous track. |
| Next | 1 | Plays the next track. |
| FastReverse | 1 / 0 | 1 - start fast reverse, 0 - return to normal playback speed. |
| FastForward | 1 / 0 | 1 - start fast forward, 0 - return to normal playback speed. |
| ToggleRepeat | 1 | Switch repeat mode: "off" "one" "all". |
| ToggleShuffle | 1 | Switch shuffle mode: "off" "on" "folder" "program". |
| SetTrackNumber | 1 ~ 512 (track number) | Select the track with number... |
Feedbacks
| Channel | Value | Description |
|---|---|---|
| PlaybackStatus | "play" "stop" "pause" "fast_reverse" "fast_forward". | Playback status. |
| Play | 1 / 0 | Playback status: 1 if "play", otherwise 0. |
| Pause | 1 / 0 | Playback status: 1 if "pause", otherwise 0. |
| Stop | 1 / 0 | Playback status: 1 if "stop", otherwise 0. |
| FastForward | 1 / 0 | Playback status: 1 if "fast_forward", otherwise 0. |
| FastReverse | 1 / 0 | Playback status: 1 if "fast_reverse", otherwise 0. |
| RepeatStatus | "off" "one" "all" "folder" "a-b" | Repeat mode. |
| ShuffleStatus | "off" "on" "folder" "program" | Shuffle mode. |
| Track | "Track" | Track title. |
| Album | "Album" | Album title. |
| Artist | "Artist" | Artist. |
| PlayTime | -59999 ~ 59999 | Playback time (s). |
| PlayTimeStr | "HH:MM:SS" / "MM:SS" | Playback time (String). |
| TotalTime | 0 ~ 59999 | Total track time. |
| TotalTimeStr | "HH:MM:SS" / "MM:SS" | Total track time (String). |
| DiscTime | 0 ~ 59999 | Total disc playback time (s). |
| DiscTimeStr | "HH:MM:SS" / "MM:SS" | Total disc playback time (String). |
| TrackNumber | 0 ~ 512 | Track number in the playlist. |
| TotalTracks | 0 ~ 512 | Total number of tracks. |