iRidi for iEAST
A toolkit for creating interfaces to control iEAST equipment.
Documentation updated 01.01.2024
Example: iEAST
Description
iRidi for iEAST is a toolkit for creating an interface to control iEAST audio amplifiers.
Tested with the following equipment:
StreamAmp AMP-i50B is a network audio player with a 20W-50W per-channel amplifier for concealed installation.
This device is primarily intended for integration into a smart home system and for building multiroom audio systems. Its robust metal enclosure with passive cooling and dedicated mounts allows concealed installation, for example, above a suspended ceiling.
Connection
Anyone can easily connect the iEAST StreamAmp AMP-i50 adapter. Connect iEAST StreamAmp AMP-i50 to your speakers and home Wi-Fi network, then configure the equipment using the iEAST Play mobile app.
Working in iRidi
Create a new project and add the iEAST driver using the scanner or by entering its data manually.
Scanning the network
Scanning works only on the local network and lets you quickly add all iEAST devices to an iRidi project. To do this:
- Create a new project and click Scanner / Import > IEAST Scanner on the tab labeled Devices ;
- Enter the IP address for connecting to the equipment;
- Select the device you plan to control.

- If the scanner cannot find the equipment, you can enter the driver settings manually:
Configuring the driver
- In the project you created, add the iEAST driver on the Devices tab:

- Specify the driver connection settings:

- Log Level - logging level;
- Host is the equipment IP address;
- Port is the port (80 by default);
- Update time - equipment polling interval (ms);
- Driver Version - driver version.
- Left-click the added IEAST driver and add the required subdevices (Add subdevice). Each subdevice has a preset list of commands and feedback channels appropriate to its type.

Configuring subdevices
- Name - the subdevice name;
- Driver Type - the driver type (IEAST);
- Device Type - the subdevice type (Master / Slave);
- SSID - the subdevice identifier;
- Device IP - the subdevice IP address.
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.
Slave
Command
| Parameter | Value | Description |
|---|---|---|
| Volume | 0 ~ 100 | Set the device volume level |
| Mute Room | 0 / 1 | Mute / unmute the device |
- Value - specify this when dragging the command onto a graphical item
Feedback
| Parameter | Value | Description |
|---|---|---|
| Volume | 0 ~ 100 | Current device volume level |
| Mute | 0 / 1 | Mute mode disabled / enabled |
- Value - the value reported by the equipment.
Master
Command
| Parameter | Value | Description |
|---|---|---|
| Pause | Any value | Pause current playback |
| Stop | Any value | Stop current playback completely (use Play File to resume listening) |
| Pause/Resume | Any value | Pause or resume current 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 from the beginning |
| Seek Position | 0 ~ ... | Seek to the specified position in the current track (in seconds) |
| Volume | 0 ~ 100 | Set the amplifier volume level |
| Mute | 0 / 1 | Mute / unmute the amplifier |
| Loop Mode | 0 ~ 4 | Set the track shuffle and repeat mode: 0 - no playlist shuffle repeat the playlist 1 - no playlist shuffle repeat the current track 2 - shuffle the playlist repeat the playlist 3 - shuffle the playlist no repeat 4 - no playlist shuffle and no repeat |
| Play File | 1 ~ ... | Play the specified track from the USB drive |
| Get a playlist from USB | Any value | Get the track list from the USB drive |
| Reboot | Any value | Reboot the amplifier |
| Calling Preset | 1 ~ 9 | Recall a preset previously configured in the app |
| Switch Source | 1 ~ 5 | Change the playback source: 1 - AUX 2 - Bluetooth 3 - optical 4 - USB Disk (Wiimu Local) 5 - WiFi (not supported by all devices) |
| Alarm | 0 ~ 2 | Activate the alarm: 0 - stop playback completely 1 - activate the alarm with a preconfigured track 2 - stop playback completely (if Loop Mode = False), or disable Loop Mode (if Loop Mode = True) and continue playback |
| Parameter | Value | Description |
|---|---|---|
| Alarm ID | 0 ~ ... | Track number on the flash drive inserted into the amplifier |
| Loop mode | False / True | Enable track repeat when activating the alarm |
- Value - specify this when dragging the command onto a graphical item
Feedback
| Parameter | Value | Description |
|---|---|---|
| Source | AUX Bluetooth optical USB Disk (Wiimu Local) WiFi | Current source |
| Status | play pause stop | Shows the current playback status |
| Loop Mode | 0 ~ 4 | Shows the current track repeat and shuffle mode: 0 - no playlist shuffle repeat the playlist 1 - no playlist shuffle repeat the current track 2 - shuffle the playlist repeat the playlist 3 - shuffle the playlist no repeat 4 - no playlist shuffle and no repeat |
| Current Position | 0 ~ ... | Current track position (seconds) |
| Title | Text | Title of the track currently playing |
| Track Number | 0 ~ ... | Total number of tracks in the playlist |
| Track Index | 1 ~ ... | Number of the track currently playing |
| Volume | 0 ~ 100 | Current amplifier volume level |
| Mute | 0 / 1 | Mute mode disabled / enabled |
| USB Playlist | json | List of all tracks on the USB drive. To refresh the list, send any value to the "Get a playlist from USB" control channel. To display the list in an Advanced List, follow the instructions below |
- Value - the value reported by the equipment.
Configuring USB Playlist
-
To create a track list, draw an Advanced List item.
-
Create a popup named TplPlayList. On the popup, create Label items as templates for displaying the track title and number.

- After creating the items, return to the Advanced List item and click "Template setting" to open the template settings.

- Add the TplPlayList popup and enter type in Code, as shown in the image.
- To configure the template, double-click to open it and add labels. Enter type in Type, then add the following labels with the required tokens: lbl.Name.Text; Service.Value
After adding the labels, click the row several times and specify a Value for each label. Label Value settings:
- lbl.Name.Text - name
- Service.Value - id

- To link feedback, click the Advanced List item, then open Data source (next to Template setting). Select the driver, then Feedbacks > USB Playlist.

- To play tracks from the list, add the script below to the project:
var list = IR.GetPage("Main page").GetItem("ContentList"); // Enter your path to item "Advanced List".
var i = 0;
IR.AddListener(IR.EVENT_LIST_ITEM_CHANGE, list, function(item, subitem, event_type, object) {
if (event_type == 11)
{
i = item;
IR.GetDevice("IEAST").Set(""Iridium open space:Play File"", i + 1); // Enter your patch to channel "Play File" and insert to value "i + 1"
}
});