The Sonos plugin allows you to control the Sonos Play 1, 3, 5, Sonos Connect, Sonos Connect AMP, Sonos Playbar, Ikea Symfonisk… It will allow you to see the status of the Sonos and to perform actions ( play, pause, next, previous, volume, choice of a playlist…).
Important
The plugin manages groups very badly (or not at all) so it is advisable not to use grouping at all with the plugin
The configuration is very simple, after downloading the plugin, you just need to activate it and that’s it. The plugin will search for Sonos on your network and create the equipment automatically. In addition, if there is a match between Jeedom objects and Sonos rooms, Jeedom will automatically assign Sonos to the right rooms.
TRICK
During the initial discovery, it is strongly recommended not to have grouped sound systems, otherwise you will have errors.
If later you add a Sonos, you can either create a Sonos device by giving the IP to Jeedom or click on Find Sonos equipment.
Important
Messages that are too long cannot be transmitted in TTS (the limit depends on the TTS provider, usually around 100 characters).
The configuration of Sonos equipment is accessible from the Plugins menu then multimedia.
Here you find all the configuration of your equipment :
Below you find the list of orders :
As order you will find :
random
in message to shuffle the playlist before playing.random
in message to mix favorites before reading.NOTE
For playing playlists you can put options (in the option box). To start the playlist in random play, you must put in
random
.
TTS (text-to-speech) to Sonos requires having Windows (Samba) sharing on the network (imposed by Sonos, no way to do otherwise). So you need a NAS on the network. The configuration is quite simple you have to put the name or the IP of the NAS (be careful to put the same thing as what is declared on Sonos) and the path (relative), the username and the password ( attention the user must have write rights)
Important
It is absolutely necessary to put a password for this procedure to work.
Important
A subdirectory is also absolutely necessary for the voice file to be correctly created.
Important
Above all, there must be no accent in the name of the share or the folder, no space or special characters
Here is an example of configuration (thanks @masterfion) :
NAS side, here is my config :
Sonos Plugin side, here is my config :
Sonos Library side (PC app)
Important
It is ABSOLUTELY necessary to add the network share in the sonos library, otherwise Jeedom will create the tts mp3 but it cannot be played by the Sonos.
Important
Language depends on Jeedom language and uses picotts by default. As of jeedom 3.3.X it will be possible to use Google TTS to have a prettier voice.
The Sonos plugin also provides a panel that brings together all of your Sonos. Available from the Home menu → Sonos Controller :
Important
To have the panel you must have activated it in the plugin configuration.
Error
No devices in this collection
when looking for equipmentThis error occurs if the automatic discovery is blocked (router which blocks the boradcast for example). It does not matter, you just have to add your sound systems by hand, specifying the model and the IP address.
I am having trouble with TTS (looping), the radios do not work, I have errors, etc…
the first thing to do in the event of a problem is to unplug all the Sonos, plug them back in and wait for them to start, then restart the Sonos daemon in Jeedom. In general this solves 90% of the problems.