Skip to main content

iRidi for iEAST

A toolkit for creating interfaces to control iEAST equipment.

Documentation updated 01.01.2024

Tip

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.

IEAST1.png

Note
  • If the scanner cannot find the equipment, you can enter the driver settings manually:

Configuring the driver​

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

IEAST2.png

  1. Specify the driver connection settings:

IEAST3.png

  • 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.
  1. 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.

IEAST4.png

Configuring subdevices​

IEAST5.png

  • 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​

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.

Slave​

Command

ParameterValueDescription
Volume0 ~ 100Set the device volume level
Mute Room0 / 1Mute / unmute the device
  • Value - specify this when dragging the command onto a graphical item

Feedback

ParameterValueDescription
Volume0 ~ 100Current device volume level
Mute0 / 1Mute mode disabled / enabled
  • Value - the value reported by the equipment.

Master​

Command

ParameterValueDescription
PauseAny valuePause current playback
StopAny valueStop current playback completely (use Play File to resume listening)
Pause/ResumeAny valuePause or resume current 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 from the beginning
Seek Position0 ~ ...Seek to the specified position in the current track (in seconds)
Volume0 ~ 100Set the amplifier volume level
Mute0 / 1Mute / unmute the amplifier
Loop Mode0 ~ 4Set 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 File1 ~ ...Play the specified track from the USB drive
Get a playlist from USBAny valueGet the track list from the USB drive
RebootAny valueReboot the amplifier
Calling Preset1 ~ 9Recall a preset previously configured in the app
Switch Source1 ~ 5Change the playback source:
1 - AUX
2 - Bluetooth
3 - optical
4 - USB Disk (Wiimu Local)
5 - WiFi (not supported by all devices)
Alarm0 ~ 2Activate 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
ParameterValueDescription
Alarm ID0 ~ ...Track number on the flash drive inserted into the amplifier
Loop modeFalse / TrueEnable track repeat when activating the alarm
  • Value - specify this when dragging the command onto a graphical item

Feedback

ParameterValueDescription
SourceAUX
Bluetooth
optical
USB Disk (Wiimu Local)
WiFi
Current source
Statusplay
pause
stop
Shows the current playback status
Loop Mode0 ~ 4Shows 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 Position0 ~ ...Current track position (seconds)
TitleTextTitle of the track currently playing
Track Number0 ~ ...Total number of tracks in the playlist
Track Index1 ~ ...Number of the track currently playing
Volume0 ~ 100Current amplifier volume level
Mute0 / 1Mute mode disabled / enabled
USB PlaylistjsonList 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​

  1. To create a track list, draw an Advanced List item.

  2. Create a popup named TplPlayList. On the popup, create Label items as templates for displaying the track title and number.

IEAST6.png

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

IEAST7.png

  1. Add the TplPlayList popup and enter type in Code, as shown in the image.

IEAST8.png

  1. 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

IEAST9.png

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

IEAST10.png

  1. 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"
}
});