Sonos Python 3 Beta

Posted on
Sun Jan 14, 2024 1:04 pm
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Re: Sonos Python 3 Beta

Action Group-->Sonos--> MP3 Announcement --> Google To Speech

Posted on
Sun Jan 14, 2024 2:56 pm
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

MarcoGT wrote:
Action Group-->Sonos--> MP3 Announcement --> Google To Speech

I have just tested this on my system and it works when I choose languages: English, German and Italian.
So I can't reproduce it at the moment.

What's odd is that the logic that has failed is in the section that deals with Apple voices. :|

Could you try an Apple voice and see if that works?

Posted on
Tue Jan 16, 2024 6:52 am
siclark offline
Posts: 1963
Joined: Jun 13, 2017
Location: UK

Re: Sonos Python 3 Beta

Hi Jon
I stalled 2023.1.0 and it immediately quits with no error. No access to config as it’s not running.

Any ideas?
Thanks.

Posted on
Tue Jan 16, 2024 7:52 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

siclark wrote:
Hi Jon
I stalled 2023.1.0 and it immediately quits with no error. No access to config as it’s not running.

Any ideas?
Thanks.

Successfully resolved offline.
Looks the Twisted package needed updating message had belatedly displayed for some reason.
Twisted installed and now working again. :)

Posted on
Tue Jan 16, 2024 9:12 am
siclark offline
Posts: 1963
Joined: Jun 13, 2017
Location: UK

Re: Sonos Python 3 Beta

Cheers Jon. Awesome support as always

Posted on
Sat Mar 02, 2024 7:32 pm
SQLGOD offline
Posts: 10
Joined: Jan 08, 2017

Re: Sonos Pandora & SiriusXM

I've been reading this site for months and trying any potential fixes, but still can't connect my SiriusXM or my 2 Pandora accounts. For the Pandora, I keep re-authorizing and even changing passwords, but no luck. I use Sonos in every room and especially to help set alarms and scenes for morning / wake-up so this is really throwing me off a bit. I'm on the latest apple OS, latest Indigo Domotics, and latest SONOS plugin, but can't resolve. Appreciate if any one else solved this or if there is a new plugin version in-works that will address. Love the plugin; so used to it's excellent functionality that has become part of my daily routine that it now it is like trying to get through the morning without coffee -- not fun. Gotta appreciate what you have while you have it...

Posted on
Mon Mar 04, 2024 7:27 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

I have reviewed potential changes to fix the SiriusXM problem but it is quite complicated and I don't feel confident in making the changes as I can't use SiriusXM (being UK based) and can't test it. It needs someone (US based) who can to make changes to this Open Source plugin and issue a pull request.

Again, I can't access or test Pandora (being UK based) but I thought this was working for users. What error are you getting when you try and access it.

Posted on
Thu Mar 07, 2024 9:43 pm
SQLGOD offline
Posts: 10
Joined: Jan 08, 2017

Re: Sonos Python 3 Beta

When I reload the plugin, I get the following errors even though I keep re-authorizing and even changing the passwords on connection info for my 2 Pandora accounts. I've tried removing one and just focus on getting one remaining account up and running, but again keep getting this error about authentication and re-authorizing. I modified the ID, PW, etc. below for security.

Mar 7, 2024 at 10:25:43 PM
Reloading plugin "Sonos 2024.0.4" using API v3.4
Stopping plugin "Sonos 2024.0.4" (pid 19493)
Sonos SoCo Reactor Landing...
Stopped plugin "Sonos 2024.0.4"
Starting plugin "Sonos 2024.0.4" (pid 28593)
Processing requirements for plugin "Sonos 2024.0.4"
Requirements for "Sonos 2024.0.4" previously processed, continuing startup
Sonos Plugin logging now started.
Sonos Plugin __init__ ended.
Started plugin "Sonos 2024.0.4"
Sonos Plugin startup started.
Sonos Number of discovered speakers = 11
Sonos Using Reference ZonePlayer IP: 192.168.1.199
Sonos Loaded Sonos Favorites... [44]
Sonos Loaded Playlists... [11]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Error 'User not yet authenticated' in module 'pandora.py', method 'check_authentication [2024.0.4]'
Failing statement [line 12]: 'raise ValueError("User not yet authenticated")'
Sonos
SiriusXM Logic Point 1

Sonos Base URL: http://sonos.mountain.siriusxm.com/server.php

Sonos Headers: {'Content-Type': 'text/xml; charset="utf-8"', 'Host': 'sonos.mountain.siriusxm.com', 'User-Agent': 'Indigo', 'CONNECTION': 'close', 'ACCEPT-ENCODING': 'gzip', 'ACCEPT-LANGUAGE': 'en-US', 'SOAPACTION': 'http://www.sonos.com/Services/1.1#getSessionId', 'Content-Length': '447'}

Sonos SOAP Message:
b'<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1"><deviceId>00-0E-58-2D-57-56:0</deviceId><deviceProvider>Sonos</deviceProvider></credentials></s:Header><s:Body><getSessionId xmlns="http://www.sonos.com/Services/1.1"><username>X@gmail.com</username><password>P2</password></getSessionId></s:Body></s:Envelope>'

Sonos SiriusXM Logic Point 2

Sonos Error SiriusXM Response: <Response [503]> [Reason: Service Unavailable]

Content: b'<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=4&xinfo=11-22159355-0%200NNN%20RT%281709868347908%206%29%20q%280%20-1%20-1%201%29%20r%280%20-1%29%20b6%20U24&incident_id=995001250054990509-104501983215558475&edet=30&cinfo=ffffffff&rpinfo=0&mth=POST" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 995001250054990509-104501983215558475</iframe></body></html>'

Sonos Error [Thu Mar 7 22:25:48 2024] SiriusXM SessionID communications error: mismatched tag: line 1, column 356
Sonos [Thu Mar 7 22:25:48 2024] Processed plugin preferences.
Sonos Number of discovered speakers = 11
Sonos Using Reference ZonePlayer IP: 192.168.1.199
Sonos Serving HTTP Streamer on 127.0.0.1 [0.0.0.0], port 8888
Sonos Loaded Sonos Favorites... [44]
Sonos Loaded Playlists... [11]
Sonos Loaded RadioTime Favorite Stations... [0]
Trigger trgMasterBedroom_Restart_MasterBedroomBackupTimer
Trigger trgMasterBedroom_InactivateSceneBackup
Sonos [Thu Mar 7 22:25:51 2024] Processed plugin preferences.
Sonos Loaded Apple Voices.. [143]
Sonos SSDP Listener Started...
Sonos Plugin startup ended.
Sonos Adding ZonePlayer: 192.168.1.104, RINCON_000E583AC3CC01400, Foyer Sonos
Sonos Adding ZonePlayer: 192.168.1.106, RINCON_000E582D575601400, Game Room Sonos
Sonos Adding ZonePlayer: 192.168.1.109, RINCON_000E583B171A01400, Garage Sonos

Who is online

Users browsing this forum: No registered users and 18 guests

cron