Maybe someone can develop those features and do a PR to get them added to the stock driver.
Not fixing the favourites issue is appalling. Why bother having it at all when the ID’s are simply not visible on the interfaces… and Ikea manage it perfectly!
The “won’t fix” means they won’t be fixing the Edge driver to resolve the issue because the problem lies elsewhere.
I should have been clearer.
From my discussions with one of the engineers, I didn’t get the impression that they would never address this issue. The “won’t fix” tag on GitHub means they “won’t fix for the time being” and that’s all. It’s a way of closing the issue for administrative purposes. And, if this is, as I was told, an “upstream” issue and not solely driver-related, leaving it open as a driver issue doesn’t make sense.
FWIW, it’s my understanding that as part of the groovy migration the software engineers have been instructed to prioritize parity with the old DTH drivers before adding new features and capabilities. Once those priorities have been met, I’m hopeful they will move forward with new capabilities.
Ahh that all males a lot more sense, thanks for the further explanations, much appreciated and glad I can remain hopeful
Another driver update posted overnight with two mostly technical changes:
Does anybody know where the favorite IDs can be found? I would really like to trigger a favorite from a routine.
The easiest method is via the CLI, using the smartthings devices:capability-status
command line, choosing a Sonos device, then choosing Option 7 - mediaPresets. You can copy/paste the output to a text file or spreadsheet or pipe the JSON output directly to a text file.
One other possible method is to use the Sonos Control API and make a GET request to
https://api.ws.sonos.com/control/api/v1/households/{{householdID}}/favorites
This is a bit more time-consuming to set up as you have to go through the authorization steps to get a bearer token, then refresh that token every 24 hours, but I prefer this because the entire process, including parsing the names and Id’s can be automated and the favorites are always current.
There’s also an easy solution for those running Hubitat in parallel with ST, but that’s for another day.
@pomartel, there is a Sonos stock ST edge driver which works well (search the forum for a few threads that discuss it). Currently favourites are not available through stock as ID’s are transparent but it is possible to access favourites with @schwark 's Sonos driver (which can run alongside ST stock). Then you can access favourites by name:
(‘Kitchen’ being ST stock and ‘Kitchen Sonos (Old)’ being @schwark 's driver)
Again, search forum for the driver invites (ST driver is on beta channel)
(UK v2 Hub)
Thank you very much @bthrock and @TheHundredthIdiot for your help! I ended up using the smartthings CLI and it worked like a charm. Is the favorite ID permanent or should I worry that it might change and I will have to reprogram the routine?
The favoriteID is permanent so long as the favorite is not removed and replaced in the Sonos app.