I’ve avoided doing any hacking with my SmartThings as long as possible, but I really would like to be able to get better control of my Sonos from my Minimote, so I gave the @louisparks app a try. Never having used the IDE, browsed the docs, programmed in groovy, or installed my own apps, it went better than expected - IOW I was able to get something done pretty quickly. A few comments:
This app doesn’t let me select a favorite from a button. My very quick and dirty hack was to add actions called Favorite 1, Favorite 2, etc, and allow those to be assigned to buttons. This went well.
@louisparks is slightly abusing Sonos terminology - a Sonos Favorite is a very specific thing - an item on the Sonos Favorites menu. If I follow the logic, @louisparks is creating a dynamic favorites list based on things played in the last 30 days. This has some nice side effects, it lets you easily find favorite tracks that you haven’t assigned to the Favorites menu, but it may result in some user surprise/confusion.
Okay, maybe I just am new to the docs, but I’m a little befuddled here. I would have thought that since the Sonos is now a supported device I could find it in the apis. No. Sonos is a musicplayer, and I could find that, but that doesn’t tell me everything. Also, if I enter ‘musicplayer’ in the search box - zip. What’s up with that, search should be at least somewhat functional, shouldn’t it?
For my personal tastes, I will not be pursuing this app - a much better solution will be to modify the minimote button controller to be able to invoke smart apps.
Short term, I’ll be using the Logitech Harmony remote for this.