iRidi for WiiM
A toolkit for creating control interfaces using the driver for WiiM streaming players
Documentation updated 01.01.2024
Example: WiiM.irpz
Linkplay Technology develops advanced wireless technologies, software, hardware, and more for a variety of voice and smart products in markets around the world.
WiiM Pro players are versatile network music streamers. They support Google Chromecast, AirPlay 2, Spotify Connect, TIDAL Connect, DLNA, MQA (beta), and Amazon Music Cast. They stream music directly from the cloud services of all major music providers or from your own library. WiiM Pro supports Chromecast control and voice control using iPhone, HomePod, compatible Echo devices, Google Home devices, and the Alexa, Google Home, or Apple Home apps.
iRidi for WiiM Pro is a toolkit for creating an interface for wireless audio system control to provide reliable streaming of high-quality audio.
Tested with the following equipment:
- WiiM Pro-5534
- WiiM Pro-4A8A
Connection
Before connecting to WiiM Pro equipment, complete its initial setup:
Use the WiiM Home app and the equipment web interface (accessed by IP address) to configure the equipment.
Working in iRidi
- In the project you created, add the WiiM driver on the Devices tab

- Specify the driver connection settings

Log Level - logging level; Host - equipment IP address; Update Time (ms) - equipment polling interval in milliseconds; Driver Version - driver version.
Configuring commands and feedback channels

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.
Commands
| Parameter | Value | Description |
|---|---|---|
| Play Audio | String | Play audio |
| Play/Pause | Any Value | Play a track or pause the current track playback |
| Pause | Any Value | Pause the current track playback |
| Resume | Any Value | Resume track playback |
| Previous | Any Value | Play the previous track |
| Next | Any Value | Play the next track *If playlist looping (Loop Mode) is enabled, sending Next on the last track restarts playback of the entire playlist |
| Seek | 0 ~ ... | Play the track from the specified time position (seconds) |
| Stop | Any Value | Stop track playback |
| Volume | 0 ~ 100 | Set the audio playback volume: 0-100% |
| Mute | 0/1 | Set track playback mute mode: 0 - disable 1 - enable |
| Loop Mode | 0 ~ 2 | Set the playlist track loop mode: 0 - Off - disabled 1 - Loop - repeat the cycle indefinitely 2 - Loop Once - repeat the cycle once |
| Shuffle Mode | 0/1 | Set track shuffle mode: 0 - disabled 1 - on |
| Stop Alarm | Any Value | Stop the alarm |
| Switch Playback Source | 0 - 7 | Switch the audio playback source: 0 - WiFi 1 - line-in 2 - bluetooth 3 - optical 4 - co-axial 5 - line-in2 6 - udisc 7 - PC USB |
| Add Slave Device to Multi-Room | String | Add a slave device (ip_address) to multi-room mode (group) |
| Mute Slave Device of Multi-Room | 0/1 | Set mute mode for a multi-room slave device (ip_address): 0 - disable 1 - enable |
| Set Volume for Slave Device | String | Set the volume of a multi-room slave device (ip_address): 0-100 |
| Set Audio Channel for Slave Device | 0-2 | Configure the audio channel for a multi-room slave device (ip_address): 0 - Stereo - stereo audio channel 1 - Left - left audio channel 2 - Right - right audio channel |
| Remove Slave Device from Multi-Room | String | Remove a slave device (ip_address) from the multi-room group |
| Disable Multi-Room Mode | Any Value | Disable multi-room mode |
| Play Preset Content | 1-12 | Play preset tracks: up to 12 tracks |
- Value - specify this when dragging the command onto a graphical item
Feedbacks
Bind a feedback channel to a graphic item to display the equipment state. All feedback channels are created automatically when you add the driver and require no additional configuration.
| Parameter | Value | Description |
|---|---|---|
| Active Channel | 0-2 | Set the active audio playback channel: 0 - Stereo - stereo audio channel 1 - Left - left audio channel 2 - Right - right audio channel |
| Playback Mode | 0-12 | Display the current track playback mode: 0 - ldling - filling 1 - airplay streaming - real-time streaming 2 - DLNA streaming - streaming over DLNA 3 - playing network content - network content playback 4 - playing UDISC - playing your disc 5 - playback start by HTTP API - playback started using HTTP API 6 - spotify connect streaming - streaming via spotify connect 7 - line-in input mode - line input mode 8 - Bluetooth input mode - Bluetooth input mode 9 - optical input mode - optical input mode 10 - line-in #2 input mode - line input mode #2 11 - USB DAC input mode - USB DAC input mode 12 - the device is a guest in a multiroom zone - the device is a slave in the multi-room group |
| Loop Mode | 0/1 | Set the track loop playback mode: 0 - Off - disable 1 - On - enable |
| Shuffle Mode | 0/1 | Set track shuffle mode: 0 - Off - disable 1 - On - enable |
| Playback Status | 0-3 | Display the track playback state: 0 - stop - stopped 1 - playing audio - playing 2 - load - loading 3 - pause - paused |
| Current Position | 0 ~ ... | Display the current track playback position (seconds) |
| Total Length | Any Value | Display the total track duration (seconds) |
| Title | String | Display the title of the currently playing track |
| Artist | String | Display the artist of the currently playing track |
| Album | String | Display the album name of the currently playing track |
| Playlist Count | 1 ~ ... | Display the total number of tracks in the playlist |
| Track Index | 1 ~ ... | Display the index of the currently playing playlist track |
| Volume | 0 ~ 100 | Display the audio playback volume (track and/or device) |
| Mute | 0/1 | Display whether track playback is muted: 0 - not muted - normal 1 - muted - silent |
| Multi-Room Devices | object | Display devices available to add to a multi-room group: an array of objects containing the parameters of slave devices in the group |
| Slave Mute | 0/1 | Display the audio mute state of the current multi-room slave device: 0 - not muted - normal 1 - muted - silent |
| Slave Volume | Any Value | Display the audio playback volume of the current multi-room slave device: 0-100% |
| Slave Channel | 0-2 | Display the current channel of the current multi-room slave device: 0 - Stereo - stereo audio channel 1 - Left - left audio channel 2 - Right - right audio channel |
- Value - value returned by the equipment