Sonos module
Download Sonos Module: http://www.iridiummobile.net/products/module/sonos/
Ответ
I would like to ask you if it would be pssible to integrate Spotify into Sonos and controle it via Iridium.
Thanks a lot!
Please I try to use this module and it works fine but sometimes it doesn't found players, the question is if is possible to config the ip of the sonos players to get always the players
Thanks
In the archive there is a ReadMe file which explains how to register the IP address of your Sonos player.
https://s3.amazonaws.com/iridium2_downloads/Script_Drivers/Sonos.zip
Thanks for your reply, please I have one more question I need to know if is possible to put a button to turn on/off all players
Thanks
You can combine different zones for which you configured receivers Sonos. In this case, you will be able to control all areas and respectively all Sonos players at the same time.
But you will not be able to play different music in each zone. I.e. all areas have the same music and volume.
Thanks for your reply but I am building an GUI with hdl equipments and I I have some scenes and one of that is out home and I want that when I press out of home all lights off, curtain down, etc and all sonos pause with one button and I don't want to group the sonos thanks
Here's an example of such implementation: Sonos.irpz
in JS:
// Start/Stop all Sonos
Thank you very much it works, only have one question I need to know if it is possible to control sonos out of my local network, the idea is I have a office with HDL bus pro, sonos, cameras and iridium gate, when I stay in my local network I can control all perfect and when I go out and use mobil data I can control all except sonos so the question is is possible to control that
Thanks
Base on research I have done before,and reading the posts (on sonos forum) there are some settings that need to be changed in the firewall of the router as the broadcast of the sonos will not be allowed past the router, even via vpn
The Sonos app uses SSDP (UDP port 1900) to destination 239.255.255.250 (broadcast) to detect the Sonos boxes.
So add a firewall rule allowing
Source: VPN Pool IP Address
Service: Any IP
Destination: 239.255.255.250/32
I have not tested this but gives you somewhere to start
cheers
I have project where i am using this sonos module.
Problem is that Track name is always Album name so it is wrong.
Any ideas how to fix this? I REALLY NEED SOME HELP WITH THIS ASAP! :)
Hi
I fixed this a long time ago, but don't recall exactly where sorry
In the GUI check that where you want the track to display, that gui item is called 'Track'
Here is where to look in the Javascript and make sure you have the following:
1. Sonos_main - look for
track: "Sonos:main.Track",
2. Sonos_control - check the following
about line 395:
track = GetItem(gui.track);
artist = GetItem(gui.artist);
album = GetItem(gui.album);
art = GetItem(gui.cover);
about line 1571:
if(group && group.parent == this)
{
track.Text = l_track;
artist.Text = l_artist;
album.Text = l_album;
about line 1685: track.Text = xml2["dc:title"];
Yes I checked and i think all is already in script.It is very important to solve this problem as quick as possible! :)
Yes I checked and i think all is already in script.
It is very important to solve this problem as quick as possible! :)
I was just checking the original version and it seems ok, you can see the Sonos app in blue and iRidium in green, confirming the details are correct:
However, I did find it flicks between the album name and track name when changing songs, but should end up on track name:
Track = I feel you
[25-02-2016 09:36:38.156] INFO ===========line 1497 l_track: Away From The Sun [25-02-2016 09:36:38.159] INFO ===========line 1498 l_artist: 3 Doors Down [25-02-2016 09:36:38.160] INFO ===========line 1499 l_album: Away From the Sun [25-02-2016 09:36:38.160] INFO ===========line 1502 l_track: Away From The Sun [25-02-2016 09:36:38.160] INFO ============line 1512 l_track:Away From The Sun [25-02-2016 09:36:38.161] WARNING XML Construct Error: Error document empty. 0 0 [25-02-2016 09:36:38.172] WARNING [25-02-2016 09:36:38.393] INFO ===========line 1497 l_track: Away From The Sun [25-02-2016 09:36:38.402] INFO ===========line 1498 l_artist: 3 Doors Down [25-02-2016 09:36:38.403] INFO ===========line 1499 l_album: Away From the Sun [25-02-2016 09:36:38.403] INFO ===========line 1502 l_track: Away From The Sun [25-02-2016 09:36:38.404] INFO ============line 1512 l_track:Away From The Sun [25-02-2016 09:36:38.405] WARNING XML Construct Error: Error document empty. 0 0 [25-02-2016 09:36:38.416] WARNING [25-02-2016 09:36:38.451] INFO ===========line 1497 l_track: I Feel You [25-02-2016 09:36:38.459] INFO ===========line 1498 l_artist: 3 Doors Down [25-02-2016 09:36:38.459] INFO ===========line 1499 l_album: Away From the Sun [25-02-2016 09:36:38.462] INFO ===========line 1502 l_track: I Feel You [25-02-2016 09:36:38.463] INFO ============line 1512 l_track:I Feel You [25-02-2016 09:36:38.474] WARNING XML Construct Error: Error document empty. 0 0 [25-02-2016 09:36:38.486] WARNING [25-02-2016 09:36:38.615] INFO ===========line 1497 l_track: I Feel You [25-02-2016 09:36:38.626] INFO ===========line 1498 l_artist: 3 Doors Down [25-02-2016 09:36:38.637] INFO ===========line 1499 l_album: Away From the Sun [25-02-2016 09:36:38.649] INFO ===========line 1502 l_track: I Feel You [25-02-2016 09:36:38.660] INFO ============line 1512 l_track:I Feel You
I guess the next thing would be to install the Sonos app if you have not already, and re-build your Sonos library.
Ok. After I reimported songs to playlist it shows correct names again.
But another problem I discovered is:
iPad goest to sleep mode > after several hours I use my iPad and sonos again in normal mode > Sonos updates itself to current playlist song and current playlist but list of songs has been disappeared. Only way to get sonos function properly again is to reboot whole ipad or upload sonos project to iPad again. Any idea what causes this?
Could it be some kind of playlist update bug?
Sometimes Current Playlist text shows for example 53 of 83 but songs on Playlist wont update.
I would really use some help with this! ;)
Also I have this sonos module in multiple ipads and specific ipad connecting to specific sonos ip adress.
I have disabled Found device listener so it connects only to ip adress i have on SONOS_IP -script but i don't think that is the issue here?
// Found device listener
//IR.AddListener(IR.EVENT_DEVICE_FOUND, 0, FoundDevice);
Is this module compatible with current Sonos devices? I currently have a Sonos Connect Version 7.3.
I can see currently playing items, pause and control volume, however when selecting music sources there are no items in the selected source. The only working music source that is populated is "Radio", where I can navigate through the various options. Also, there is nothing displayed in the "Current Playlist" column.
Сервис поддержки клиентов работает на платформе UserEcho