Sonos Python 3 Beta

MarcoGT
Posts: 1111
Joined: Thu Sep 11, 2014 1:06 pm
Location: Germany

Re: Sonos Python 3 Beta

Post by MarcoGT »

Action Group-->Sonos--> MP3 Announcement --> Google To Speech
autolog
Posts: 3998
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK [GMT aka UTC]
Contact:

Re: Sonos Python 3 Beta

Post by autolog »

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?
siclark
Posts: 1964
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Sonos Python 3 Beta

Post by siclark »

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.
autolog
Posts: 3998
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK [GMT aka UTC]
Contact:

Re: Sonos Python 3 Beta

Post by autolog »

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. :)
siclark
Posts: 1964
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Sonos Python 3 Beta

Post by siclark »

Cheers Jon. Awesome support as always
SQLGOD
Posts: 10
Joined: Sun Jan 08, 2017 8:51 pm

Re: Sonos Pandora & SiriusXM

Post by SQLGOD »

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...
autolog
Posts: 3998
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK [GMT aka UTC]
Contact:

Re: Sonos Python 3 Beta

Post by autolog »

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.
SQLGOD
Posts: 10
Joined: Sun Jan 08, 2017 8:51 pm

Re: Sonos Python 3 Beta

Post by SQLGOD »

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/envelop ... redentials xmlns="http://www.sonos.com/Services/1.1"><dev ... tSessionId xmlns="http://www.sonos.com/Services/1.1"><use ... 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
User avatar
wideglidejrp
Posts: 559
Joined: Sun Jan 15, 2012 4:34 pm
Location: Danbury, CT
Contact:

Re: Sonos Python 3 Beta

Post by wideglidejrp »

The update to 3 generally has worked but I am swamped with error messages I cannot understand. Following is one example....

Aug 26, 2024 at 11:31:21 AM
Sonos Error UPNP Error: Action Failed
Sonos Error Offending Command -> zoneIP: 192.168.0.65, soapRoot: /MediaRenderer, soapBranch: /Queue, soapAction: SaveAsSonosPlaylist
Sonos Error Error Response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encodin ... <UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>


Anybody else having this problem?
John R Patrick
Author of
Home Attitude
Post Reply

Return to “Sonos”