Skip to main content

Sonos module

This is a full-featured control panel for Sonos music systems, available on iPad, iPhone, Mac, and Android and Windows devices.

The application supports any Sonos system running version 3.8 or later.
The Sonos module integrates easily with projects for controlling AMX, KNX, Crestron and other systems.

Features:

  • Automatic connection to Sonos over your home WiFi network
  • Music and Internet radio throughout the home: different songs in different rooms or the same song synchronized throughout the home
  • Track search in the application and use of other resources, including the home network, to find the content you need
  • Sorting and playing tracks alphabetically, by genre, album, etc.
  • Display of the current playlist
  • Album cover thumbnails or full-screen artwork
  • Audio control in one room or all rooms at once

Required licenses:

Sonos_1.jpg Sonos_2.jpg

Download the Sonos JS module from our website:

To run the module on another device (Android, Mac), adapt it to the required resolution.

Working with the module​

To see the module in action, run the Sonos module in the Emulator on a PC, tablet, or smartphone. You do not need to configure or edit the module in iRidi GUI Editor to do this. Remember that the module requires a license for AV & Custom Systems.

When the module starts, it scans your local network for Sonos devices and opens its main page. The list of audio sources is on the left. Sources can include Internet radio, a device connected to a Sonos line-in input, or devices on the same local network.

Important

For the module to work, at least one Sonos player must be powered on and connected to the same network as the module

Sonos_Sourse_music.png

The center section contains player controls, information about the current track, and Sonos zone selection.

Sonos_player_remote.png

To change zones, press the button showing the current zone and select the desired zone from the drop-down menu. You can also group zones. To do this, press the icon Sonos_icon.png next to a zone. In the menu that opens, select the checkboxes for the zones you want to group. You can then select music to play in all these zones and control their combined volume. To set a different volume in each zone, press the icon that appears after grouping them.

Sonos_Volume_icon.png

You can change the module's appearance. The Settings button opens a window for selecting a color theme and background image.

Style_Color_Module.png

Note
  • You can also watch a video about using the Sonos module.

Adding the module to a project​

To add the module to your project:

  1. In PROJECTS OVERVIEW, select the module folder with the mouse and, holding the mouse button down, drag it onto your project folder:

merge.png

  1. The editor asks whether to merge the two folders. Select Yes

merge_question.png

The projects are now merged.

Tip

To access the player from different project pages, open the module's Sonos_FAQ page in iRidi GUI editor and copy the button

Open_Sonos.png

Add this button to every project page from which you want to open the module. The button is already linked to the module page, so no additional configuration is required.

The Sonos_FAQ page in iRidi GUI editor also contains a button for returning to the previous page.

Prev_page.png

Add it to the module page so you can return to the project page from which you opened the module. This button also has all the required commands and needs no additional configuration.

Adapting to devices with a different screen resolution​

To display the module correctly on any control panel, change its screen resolution using iRidi GUI Editor.

To do this:

  1. Open the iTunes module that best matches your requirements in iRidi GUI editor. For example, use the iPhone module to adapt it for an Android smartphone, or the iPad module to adapt it for a tablet.

  2. Click Project properties
    Project_properties.png,

to open the project properties.

  1. Find Target Device under General and select the device on which you intend to use the module from the drop-down list. If your device is not listed, select Custom and enter the required resolution in Landscape Width and Landscape Height.

  2. Click Save.

  3. The editor prompts you to Resize all pages and Resize items and popups. Select YES in both dialogs, and the editor automatically changes the resolution of all pages and popups.

Editing rules​

Not allowed

  • change or delete items on pages and popups
  • change page and popup names
  • change item names
  • delete script files from the project
  • change the Type of graphical items
  • delete graphical item States
  • add the module to your project more than once
  • delete project tokens

Allowed

  • change the module's screen resolution to suit your project
  • change item appearance settings:
    • state colors and icons
    • text in text fields
    • opacity and other parameters on the States tab
  • in Metro_Sonos_Retina_2048_RC_2.2.1.irpz, you may add player IP addresses to the script and edit the Sonos_Open_Zones module script to add system zones and link them to buttons on the main page. (Details are in ReadMe.txt and on the script's own page)