Skip to main content

iRidi for WiiM

A toolkit for creating control interfaces using the driver for WiiM streaming players

Documentation updated 01.01.2024

Tip

Example: WiiM.irpz

WiiM.jpg

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​

  1. In the project you created, add the WiiM driver on the Devices tab

WiiM_adddevice.png

  1. Specify the driver connection settings

WiiM_Settings.png

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​

SendRecieve.png

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​

ParameterValueDescription
Play AudioStringPlay audio
Play/PauseAny ValuePlay a track or pause the current track playback
PauseAny ValuePause the current track playback
ResumeAny ValueResume track playback
PreviousAny ValuePlay the previous track
NextAny ValuePlay the next track
*If playlist looping (Loop Mode) is enabled, sending Next on the last track restarts playback of the entire playlist
Seek0 ~ ...Play the track from the specified time position (seconds)
StopAny ValueStop track playback
Volume0 ~ 100Set the audio playback volume: 0-100%
Mute0/1Set track playback mute mode:
0 - disable
1 - enable
Loop Mode0 ~ 2Set the playlist track loop mode:
0 - Off - disabled
1 - Loop - repeat the cycle indefinitely
2 - Loop Once - repeat the cycle once
Shuffle Mode0/1Set track shuffle mode:
0 - disabled
1 - on
Stop AlarmAny ValueStop the alarm
Switch Playback Source0 - 7Switch 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-RoomStringAdd a slave device (ip_address) to multi-room mode (group)
Mute Slave Device of Multi-Room0/1Set mute mode for a multi-room slave device (ip_address):
0 - disable
1 - enable
Set Volume for Slave DeviceStringSet the volume of a multi-room slave device (ip_address): 0-100
Set Audio Channel for Slave Device0-2Configure 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-RoomStringRemove a slave device (ip_address) from the multi-room group
Disable Multi-Room ModeAny ValueDisable multi-room mode
Play Preset Content1-12Play 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.

ParameterValueDescription
Active Channel0-2Set the active audio playback channel:
0 - Stereo - stereo audio channel
1 - Left - left audio channel
2 - Right - right audio channel
Playback Mode0-12Display 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 Mode0/1Set the track loop playback mode:
0 - Off - disable
1 - On - enable
Shuffle Mode0/1Set track shuffle mode:
0 - Off - disable
1 - On - enable
Playback Status0-3Display the track playback state:
0 - stop - stopped
1 - playing audio - playing
2 - load - loading
3 - pause - paused
Current Position0 ~ ...Display the current track playback position (seconds)
Total LengthAny ValueDisplay the total track duration (seconds)
TitleStringDisplay the title of the currently playing track
ArtistStringDisplay the artist of the currently playing track
AlbumStringDisplay the album name of the currently playing track
Playlist Count1 ~ ...Display the total number of tracks in the playlist
Track Index1 ~ ...Display the index of the currently playing playlist track
Volume0 ~ 100Display the audio playback volume (track and/or device)
Mute0/1Display whether track playback is muted:
0 - not muted - normal
1 - muted - silent
Multi-Room DevicesobjectDisplay devices available to add to a multi-room group: an array of objects containing the parameters of slave devices in the group
Slave Mute0/1Display the audio mute state of the current multi-room slave device:
0 - not muted - normal
1 - muted - silent
Slave VolumeAny ValueDisplay the audio playback volume of the current multi-room slave device: 0-100%
Slave Channel0-2Display 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