IndigoDomotics / Sonos

This is the repo for the open-sourced Sonos plugin
MIT License
0 stars 0 forks source link

Plugin errors. #2

Open FlyingDiver opened 1 year ago

FlyingDiver commented 1 year ago

Documenting Indigo log and Interactive Terminal errors for @autolog

   Debugging plugin "Sonos 2023.0.27" (pid 57248)
   Sonos                           Plugin logging now started.
   Sonos                           Using Reference ZonePlayer IP: 192.168.111.242
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos Debug                      Sonos Favorites: FV:2/2, 16 - The Blend, x-sonosapi-hls:Api%3atune%3aliveAudio%3astarlite%3abda81f03-f231-d4db-56ad-40cb132c5663?sid=37&flags=296&sn=3
   Sonos Debug                      Sonos Favorites: FV:2/3, 17 - The Bridge, x-sonosapi-hls:Api%3atune%3aliveAudio%3athebridge%3a1898923d-071d-0abd-1a62-ed0d2702d4f1?sid=37&flags=296&sn=3
   Sonos Debug                      Sonos Favorites: FV:2/4, 36 - Alt Nation, x-sonosapi-hls:Api%3atune%3aliveAudio%3aaltnation%3afd5740ec-7f11-0ecf-f676-46f9dc056d2c?sid=37&flags=296&sn=3
   Sonos Debug                      Sonos Favorites: FV:2/1, Discover Sonos Radio, 
   Sonos Debug                      Sonos Favorites: FV:2/0, Trending Now, 
   Sonos                           Loaded Sonos Favorites... [5]
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos Debug                      Playlist: SQ:0, Indigo_RINCON_B8E9379ECB9C01400, file:///jffs/settings/savedqueues.rsq#0
   Sonos                           Loaded Playlists... [1]
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           [Sat Oct  7 08:03:06 2023] Processed plugin preferences.
   Sonos                           Plugin __init__ ended.
   Started plugin "Sonos 2023.0.27"
   Sonos                           Plugin startup started.
   Sonos Debug                     Sonos Plugin Startup...
   Sonos Debug                     [Sat Oct  7 08:03:06 2023] Getting plugin preferences.
   Sonos                           Serving HTTP Streamer on 192.168.111.232 [0.0.0.0], port 8888
   Sonos                           Using Reference ZonePlayer IP: 192.168.111.242
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos Debug                      Sonos Favorites: FV:2/2, 16 - The Blend, x-sonosapi-hls:Api%3atune%3aliveAudio%3astarlite%3abda81f03-f231-d4db-56ad-40cb132c5663?sid=37&flags=296&sn=3
   Sonos Debug                      Sonos Favorites: FV:2/3, 17 - The Bridge, x-sonosapi-hls:Api%3atune%3aliveAudio%3athebridge%3a1898923d-071d-0abd-1a62-ed0d2702d4f1?sid=37&flags=296&sn=3
   Sonos Debug                      Sonos Favorites: FV:2/4, 36 - Alt Nation, x-sonosapi-hls:Api%3atune%3aliveAudio%3aaltnation%3afd5740ec-7f11-0ecf-f676-46f9dc056d2c?sid=37&flags=296&sn=3
   Sonos Debug                      Sonos Favorites: FV:2/1, Discover Sonos Radio, 
   Sonos Debug                      Sonos Favorites: FV:2/0, Trending Now, 
   Sonos                           Loaded Sonos Favorites... [5]
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos Debug                      Playlist: SQ:0, Indigo_RINCON_B8E9379ECB9C01400, file:///jffs/settings/savedqueues.rsq#0
   Sonos                           Loaded Playlists... [1]
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           [Sat Oct  7 08:03:06 2023] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [143]
   Sonos                           SSDP Listener Started...
   Sonos                           Plugin startup ended.
   Sonos Debug                     ZonePlayer: Sonos Connect, Enabled: True
   Sonos Debug                     Resetting States for zone: 192.168.111.242
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupAttributes
   Sonos Debug                     zoneIP: 192.168.111.242, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupState
   Sonos                           Adding ZonePlayer: 192.168.111.242, RINCON_B8E9379ECB9C01400, Sonos Connect
   Sonos Debug                     Running Concurrent Thread
   Sonos                           SoCo Reactor Ignition...

Oct 7, 2023 at 8:03:26 AM
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: avTransport subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: renderingControl subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: zoneGroupTopology subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: queue subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: groupRenderingControl subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: contentDirectory subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] [Sonos Connect]: audioIn subscription failed.  Resubscribing...
   Sonos Debug                     [Sat Oct  7 08:03:26 2023] Unsubscribing to ZonePlayer: Sonos Connect

Last group repeats.

FlyingDiver commented 1 year ago

Interactive Terminal output:


Python 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
Connected to Indigo Server v2023.1.0, api v3.3 (localhost:1176)
Started Plugin Sonos v2023.0.27
>>> $ ip_address:
$     192.168.111.242:
$ speaker_info:
$     {}:
$ avTransport:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  AVTransport
$     version:  1
$     service_id:  AVTransport
$     base_url:  http://192.168.111.242:1400
$     control_url:  /MediaRenderer/AVTransport/Control
$     scpd_url:  /xml/AVTransport1.xml
$     event_subscription_url:  /MediaRenderer/AVTransport/Event
$     cache:  <soco.cache.TimedCache object at 0x10b31e1d0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session', 701: 'Transition not available', 702: 'No contents', 703: 'Read error', 704: 'Format not supported for playback', 705: 'Transport is locked', 706: 'Write error', 707: 'Media is protected or not writeable', 708: 'Format not supported for recording', 709: 'Media is full', 710: 'Seek mode not supported', 711: 'Illegal seek target', 712: 'Play mode not supported', 713: 'Record quality not supported', 714: 'Illegal MIME-Type', 715: 'Content "BUSY"', 716: 'Resource Not found', 717: 'Play speed not supported', 718: 'Invalid InstanceID', 737: 'No DNS Server', 738: 'Bad Domain Name', 739: 'Server Error'}
$     DEFAULT_ARGS:  {'InstanceID': 0}
$ contentDirectory:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  ContentDirectory
$     version:  1
$     service_id:  ContentDirectory
$     base_url:  http://192.168.111.242:1400
$     control_url:  /MediaServer/ContentDirectory/Control
$     scpd_url:  /xml/ContentDirectory1.xml
$     event_subscription_url:  /MediaServer/ContentDirectory/Event
$     cache:  <soco.cache.TimedCache object at 0x10b31e050>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session', 701: 'No such object', 702: 'Invalid CurrentTagValue', 703: 'Invalid NewTagValue', 704: 'Required tag', 705: 'Read only tag', 706: 'Parameter Mismatch', 708: 'Unsupported or invalid search criteria', 709: 'Unsupported or invalid sort criteria', 710: 'No such container', 711: 'Restricted object', 712: 'Bad metadata', 713: 'Restricted parent object', 714: 'No such source resource', 715: 'Resource access denied', 716: 'Transfer busy', 717: 'No such file transfer', 718: 'No such destination resource', 719: 'Destination resource access denied', 720: 'Cannot process the request'}
$     DEFAULT_ARGS:  {}
$ deviceProperties:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  DeviceProperties
$     version:  1
$     service_id:  DeviceProperties
$     base_url:  http://192.168.111.242:1400
$     control_url:  /DeviceProperties/Control
$     scpd_url:  /xml/DeviceProperties1.xml
$     event_subscription_url:  /DeviceProperties/Event
$     cache:  <soco.cache.TimedCache object at 0x108e39f90>
$     _actions:  [Action(name='SetLEDState', in_args=[Argument(name='DesiredLEDState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))], out_args=[]), Action(name='GetLEDState', in_args=[], out_args=[Argument(name='CurrentLEDState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))]), Action(name='AddBondedZones', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='RemoveBondedZones', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='KeepGrouped', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))], out_args=[]), Action(name='CreateStereoPair', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='SeparateStereoPair', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='SetZoneAttributes', in_args=[Argument(name='DesiredZoneName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredIcon', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredConfiguration', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredTargetRoomName', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetZoneAttributes', in_args=[], out_args=[Argument(name='CurrentZoneName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentIcon', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentConfiguration', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentTargetRoomName', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetHouseholdID', in_args=[], out_args=[Argument(name='CurrentHouseholdID', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetZoneInfo', in_args=[], out_args=[Argument(name='SerialNumber', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='SoftwareVersion', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DisplaySoftwareVersion', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='HardwareVersion', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='IPAddress', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='MACAddress', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CopyrightInfo', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='ExtraInfo', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='HTAudioIn', vartype=Vartype(datatype='ui4', default=None, list=None, range=None)), Argument(name='Flags', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))]), Action(name='SetAutoplayLinkedZones', in_args=[Argument(name='IncludeLinkedZones', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetAutoplayLinkedZones', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='IncludeLinkedZones', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))]), Action(name='SetAutoplayRoomUUID', in_args=[Argument(name='RoomUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetAutoplayRoomUUID', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='RoomUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='SetAutoplayVolume', in_args=[Argument(name='Volume', vartype=Vartype(datatype='ui2', default=None, list=None, range=['0', '100', '1'])), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetAutoplayVolume', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='CurrentVolume', vartype=Vartype(datatype='ui2', default=None, list=None, range=['0', '100', '1']))]), Action(name='SetUseAutoplayVolume', in_args=[Argument(name='UseVolume', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetUseAutoplayVolume', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='UseVolume', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))]), Action(name='AddHTSatellite', in_args=[Argument(name='HTSatChanMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='RemoveHTSatellite', in_args=[Argument(name='SatRoomUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='EnterConfigMode', in_args=[Argument(name='Mode', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='Options', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='State', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='ExitConfigMode', in_args=[Argument(name='Options', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetButtonState', in_args=[], out_args=[Argument(name='State', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetHTForwardState', in_args=[], out_args=[Argument(name='IsHTForwardEnabled', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))]), Action(name='SetButtonLockState', in_args=[Argument(name='DesiredButtonLockState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))], out_args=[]), Action(name='GetButtonLockState', in_args=[], out_args=[Argument(name='CurrentButtonLockState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))]), Action(name='RoomDetectionStartChirping', in_args=[Argument(name='Channel', vartype=Vartype(datatype='ui2', default=None, list=None, range=['0', '7', '1'])), Argument(name='DurationMilliseconds', vartype=Vartype(datatype='ui4', default=None, list=None, range=None)), Argument(name='ChirpIfPlayingSwappableAudio', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))], out_args=[Argument(name='PlayId', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))]), Action(name='RoomDetectionStopChirping', in_args=[Argument(name='PlayId', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))], out_args=[])]
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$     GetHouseholdID:  <bound method Service.__getattr__.<locals>._dispatcher of <soco.services.DeviceProperties object at 0x10b31e0b0>>
$ renderingControl:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  RenderingControl
$     version:  1
$     service_id:  RenderingControl
$     base_url:  http://192.168.111.242:1400
$     control_url:  /MediaRenderer/RenderingControl/Control
$     scpd_url:  /xml/RenderingControl1.xml
$     event_subscription_url:  /MediaRenderer/RenderingControl/Event
$     cache:  <soco.cache.TimedCache object at 0x10b3874c0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {'InstanceID': 0}
$ groupRenderingControl:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  GroupRenderingControl
$     version:  1
$     service_id:  GroupRenderingControl
$     base_url:  http://192.168.111.242:1400
$     control_url:  /MediaRenderer/GroupRenderingControl/Control
$     scpd_url:  /xml/GroupRenderingControl1.xml
$     event_subscription_url:  /MediaRenderer/GroupRenderingControl/Event
$     cache:  <soco.cache.TimedCache object at 0x10b387370>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {'InstanceID': 0}
$ zoneGroupTopology:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  ZoneGroupTopology
$     version:  1
$     service_id:  ZoneGroupTopology
$     base_url:  http://192.168.111.242:1400
$     control_url:  /ZoneGroupTopology/Control
$     scpd_url:  /xml/ZoneGroupTopology1.xml
$     event_subscription_url:  /ZoneGroupTopology/Event
$     cache:  <soco.cache.TimedCache object at 0x10b387460>
$     _actions:  [Action(name='CheckForUpdate', in_args=[Argument(name='UpdateType', vartype=Vartype(datatype='string', default=None, list=['All', 'Software'], range=None)), Argument(name='CachedOnly', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Version', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='UpdateItem', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='BeginSoftwareUpdate', in_args=[Argument(name='UpdateURL', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='Flags', vartype=Vartype(datatype='ui4', default=None, list=None, range=None)), Argument(name='ExtraOptions', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='ReportUnresponsiveDevice', in_args=[Argument(name='DeviceUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredAction', vartype=Vartype(datatype='string', default=None, list=['Remove', 'TopologyMonitorProbe', 'VerifyThenRemoveSystemwide'], range=None))], out_args=[]), Action(name='SubmitDiagnostics', in_args=[Argument(name='IncludeControllers', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Type', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='DiagnosticID', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))]), Action(name='RegisterMobileDevice', in_args=[Argument(name='MobileDeviceName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='MobileDeviceUDN', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='MobileIPAndPort', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetZoneGroupAttributes', in_args=[], out_args=[Argument(name='CurrentZoneGroupName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentZoneGroupID', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentZonePlayerUUIDsInGroup', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentMuseHouseholdId', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetZoneGroupState', in_args=[], out_args=[Argument(name='ZoneGroupState', vartype=Vartype(datatype='string', default=None, list=None, range=None))])]
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$     GetZoneGroupState:  <bound method Service.__getattr__.<locals>._dispatcher of <soco.services.ZoneGroupTopology object at 0x10b3873d0>>
$ alarmClock:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  AlarmClock
$     version:  1
$     service_id:  AlarmClock
$     base_url:  http://192.168.111.242:1400
$     control_url:  /AlarmClock/Control
$     scpd_url:  /xml/AlarmClock1.xml
$     event_subscription_url:  /AlarmClock/Event
$     cache:  <soco.cache.TimedCache object at 0x10b3872b0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session', 801: 'Already an alarm for this time'}
$     DEFAULT_ARGS:  {}
$ systemProperties:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  SystemProperties
$     version:  1
$     service_id:  SystemProperties
$     base_url:  http://192.168.111.242:1400
$     control_url:  /SystemProperties/Control
$     scpd_url:  /xml/SystemProperties1.xml
$     event_subscription_url:  /SystemProperties/Event
$     cache:  <soco.cache.TimedCache object at 0x10b3872e0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$ musicServices:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  MusicServices
$     version:  1
$     service_id:  MusicServices
$     base_url:  http://192.168.111.242:1400
$     control_url:  /MusicServices/Control
$     scpd_url:  /xml/MusicServices1.xml
$     event_subscription_url:  /MusicServices/Event
$     cache:  <soco.cache.TimedCache object at 0x10b387190>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$ audioIn:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  AudioIn
$     version:  1
$     service_id:  AudioIn
$     base_url:  http://192.168.111.242:1400
$     control_url:  /AudioIn/Control
$     scpd_url:  /xml/AudioIn1.xml
$     event_subscription_url:  /AudioIn/Event
$     cache:  <soco.cache.TimedCache object at 0x10b3871c0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$ music_library:
$     soco:  <SoCo object at ip 192.168.111.242>
$     contentDirectory:  <soco.services.ContentDirectory object at 0x10b31e5c0>
$ queue:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  Queue
$     version:  1
$     service_id:  Queue
$     base_url:  http://192.168.111.242:1400
$     control_url:  /MediaRenderer/Queue/Control
$     scpd_url:  /xml/Queue1.xml
$     event_subscription_url:  /MediaRenderer/Queue/Event
$     cache:  <soco.cache.TimedCache object at 0x10b386fb0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$ groupManagement:
$     soco:  <SoCo object at ip 192.168.111.242>
$     service_type:  GroupManagement
$     version:  1
$     service_id:  GroupManagement
$     base_url:  http://192.168.111.242:1400
$     control_url:  /GroupManagement/Control
$     scpd_url:  /xml/GroupManagement1.xml
$     event_subscription_url:  /GroupManagement/Event
$     cache:  <soco.cache.TimedCache object at 0x10b386fe0>
$     _actions:  None
$     _event_vars:  None
$     UPNP_ERRORS:  {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$     DEFAULT_ARGS:  {}
$ _boot_seqnum:
$     8:
$ _channel_map:
$     None:
$ _ht_sat_chan_map:
$     None:
$ _is_bridge:
$     False:
$ _is_coordinator:
$     True:
$ _is_satellite:
$     False:
$ _has_satellites:
$     False:
$ _satellite_parent:
$     None:
$ _channel:
$     None:
$ _is_soundbar:
$     None:
$ _voice_config_state:
$     0:
$ _mic_enabled:
$     0:
$ _player_name:
$     Family Room:
$ _uid:
$     RINCON_B8E9379ECB9C01400:
$ _household_id:
$     Sonos_ZbkoiK0FMeuJYCaE7pp895QAyB:
Unhandled error in Deferred:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 508, in _wrap
    callnext()
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 435, in callnext
    d.callback(None)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 696, in callback
    self._startRunCallbacks(result)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 798, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 892, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 492, in handle_outcome
    failure.trap()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/python/failure.py", line 480, in trap
    self.raiseException()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/python/failure.py", line 504, in raiseException
    raise self.value.with_traceback(self.tb)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 892, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 427, in execute
    return method(*args, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_base.py", line 416, in subscribe
    ip_address, port = self.event_listener.address
builtins.ValueError: not enough values to unpack (expected 2, got 0)
FlyingDiver commented 1 year ago

Maybe I have the wrong version of Twisted installed?

Twisted 22.10.0

autolog commented 1 year ago

Twisted==23.8.0 is the latest but there is a bug in the requirements checking that means it will be flagged as an error. You could change the requirements.txt file to specify this version of twisted and see what happens?

I am not sure it is a Twisted issue though.

FlyingDiver commented 1 year ago

Strange. I changed the requirements file, got the error that the wrong version was installed and it told me to install the version I already had. Went back to 22.10.0 (changed req file, reloaded, got error, pip install, reload, no error). Tried going to 23.8.0 by changing the req file. Reload, get error message, run pip install, reload, still get error message.

Now back on 22.10.0. No Twisted error, but still getting errors above.

autolog commented 1 year ago

I will hopefully have a new pre-relaese version up on Github later this afternoon that will fix the requirements issue. Still looking at the other one.

autolog commented 10 months ago

Is this still an issue?