Skip to main content

iRidi for SpinetiX

A set of tools for creating control interfaces for equipment from SpinetiX.

Documentation updated 01.01.2024

The SpinetiX media player is a complete content generator: a hardware and software system developed by Swiss specialists. It composes the image during playback. Layers containing objects are displayed on the screen. You can set each layer's position, timing, effects, transparency, and many other properties. Layers can contain videos, images, text, playlists, schedules, layouts, streaming video, charts, widgets, and more. Information is stored inside the player. The player retrieves external information, such as RSS feeds or chart data, itself. SpinetiX content generators can animate any object. Their built-in tools are well suited to attracting attention and generating visually appealing content!

iRidi for SpinetiX lets you:

  • Activate prepared scenes and control power (restart and shutdown).
  • Receive current player information at a configurable interval, including device name, model and operating mode, firmware version and status, free and used storage space, temperature and uptime, display connection type and state, and error data.

Tested with the following equipment:

  • HMP400. * iQnetiX EMP-III

Connection​

  1. Connect the SpinetiX equipment to the network and configure it according to the instructions (connection and setup of the HMP400)

  2. Create playlists on the SpinetiX player. They will be switched using keywords sent as text to the Action to Switch command. To do this, use the standard Action to Switch widget in Elementi.

Note
  • Make sure Enable CORS requests is enabled in the player's web interface under Advanced Applications, APIs Security.
  1. For external control, use the standard Action to Switch widget from the Elementi library; find it among the interaction and control widgets: Action to Switch. svg.

In the widget settings, under properties, specify the shared variable name - Shared Variable, which will later be used to configure the Action to Switch command in the iRidi project.

Under transformations, specify the possible values of this variable.

Each variable value sent as text to the Action to Switch command in the iRidi project is assigned an item to play. This can be a playlist, video file, or any other object supported for playback by Elementi.

Working in iRidi​

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

SpinetiX1.png

  1. Specify the driver connection settings:

SpinetiX2.png

  • Log Level - logging level;
  • Host is the equipment IP address;
  • Port is the port (80 by default);
  • Login / Password - the username and password for accessing the equipment;
  • Keep Alive is the TCP connection check interval. If a Keep Alive request receives no response, the driver is forcibly disconnected;
  • Api Key - product key (copy the API Key from the player's web interface page Advanced Applications, APIs Security);
Note
  • The API (RPC) key protects the player against CSRF (cross-site request forgery) for requests from another host (cross-origin resource sharing) to the player's APIs: the RPC API, web storage REST API, and status API.
  • Update time - the equipment polling interval in milliseconds;
  • Driver Version - driver version.

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.

Commands​

ParameterValueDescription
RestartAny valueRestart the device.
ShutdownAny valueCompletely shut down the device.
Action to SwitchStringActivate a scene by the name specified under transformations when configuring the Action to Switch widget in Elementi.
The Shared Variable parameter is taken from the shared variable field.

Feedbacks​

ParameterValueDescription
Device NameStringDevice name.
Model NumStringDevice model.
ModeNormal,
Safe
Operating mode: normal or safe.
Firmware VersionStringFirmware version.
Firmware StatusNormal,
Corrupted
Firmware status: normal or corrupted.
Error MessagesStringFeedback containing content error data if display is enabled in the feedback settings. Feedback settings:
* Included time - show the error date and time (ISO-8601 format);
* Included code - show the error code;
* Included desc - show the error description;
* Included source - show the URI of the file that caused the error;
* Included custom - custom error description.
Storage Free ContentValueFree storage space for content, MB.
Storage Used ContentValueStorage space used by content, MB.
Display TypeStringDisplay connector type (e.g., HDMI).
Display PowerOn,
Off,
Unknown,
Gone
Display state: unknown means that the display returns information but not its power state; gone means that the display is absent or returns no information.
Temperature (C)ValueFeedback containing the player's internal temperature in degrees Celsius.
Uptime (min)ValueUptime in minutes.
Uptime (hours)ValueUptime in hours.
Storage Free SystemValueFree storage space for the system, MB.
Storage Used SystemValueStorage space used by the system, MB.