When setting up the Sonos action, there are no ZPs available to choose from the popup.
In the plugin configuration, I've used both "auto" and the IP address of the ZP I'd like to play the doorbell sound, and from the debugging output there's no problem connecting to either the auto-chosen one, or the IP-specified one, but when I go to edit the action, there are no ZPs available in the popup menu.
I tried checking the "Group Coordinator Only" checkbox, but I still get an error when executing the action:
Sonos Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 198, in actionZP_announcementMP3
File "/Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1896, in actionAnnouncement
KeyError: key not found in database
That line of code is trying to get the first ZP, I'm assuming from the popup.
dev = indigo.devices[int(pluginAction.props.get("zp1"))]
When I reload the plugin, this is the end up the startup logging:
Sonos Loaded RadioTime Favorite Stations... [12]
Sonos Debug Sound File: Doorbell-ring-chime.mp3
Sonos Loaded Sound Files... [1]
Sonos [Wed Feb 17 15:47:36 2021] Processed plugin preferences.
Sonos Loaded Apple Voices.. [48]
Sonos SSDP Listener Started...
Sonos Debug Method: runConcurrentThread
Sonos Debug Running Concurrent Thread
Sonos SoCo Reactor Ignition...
Sonos Serving HTTP Streamer on 192.168.1.202 [0.0.0.0], port 8888
I think SSDP is the discovery protocol that should be finding ZPs. Is there supposed to be some logging there if/when it finds them?
Does anyone have any idea what I should be doing?