tomorrow's connected future is here today

Sonos

Alexa, Sonos, Smart Things, Harmony, Oh My

So I wasn’t invited to the Logitech Harmony Ultimate Alexa beta and I have some concerns about how Sonos activities are going to be handled with respect to Alexa’s voice recognition.

It isn’t exactly transparent how to add/configure the Harmony->Sonos->Smart Things->Alexa routines to start Playlists or Stations from your Sonos favorites after you’ve done an initial setup. You have to roll up your sleeves and get a little dirty.

When you edit your Sonos favorites in any official Sonos App (add/remove, etc.) the Harmony App/Remote doesn’t necessarily reread the Sonos lists. To get a revised Sonos Favorites list to refresh for Harmony, you need to START a Sonos favorite, hit the star key on the bottom of the app, then scroll and hit REFRESH. Then you can edit that activity and select a new channel or add Activities and specify a Sonos favorite from the refreshed, up to date list.

Below is a screen shot of the first “page” of (scrollable) activities. The naming convention is something I’m working on, and I’ll explain a little further along in this post. Ideally, I should be able to use the same Activity Name across the board, but this turns out to be problematic and confusing.

harmony

When you’ve configured and tested your new or edited Activities, next step is to add a Thing to SmartThings. This, too, isn’t intuitive. Select the + on the Things screen on your phone, then Entertainment, Buttons/remotes. Select Logitech. Your already configured Harmony Hub will appear. Select it, watch the spinning cursor as it refreshes and pulls down your revised, increased list of Harmony Activities. Then select additional activities, watch the cursor spin and the app will populate with the revised list of activities.

Smart Things insists on adding [Harmony Remote] to the end of activities imported from Harmony; you’ll need to edit them to at least remove the [Harmony Remote]. To edit, tap the activity to open its page and then the gear wheel to edit the name. Here’s where the name game becomes interesting. I’ll come back to this when I’m done explaining the process to get all of this hooked up to Alexa for voice control.

smartthings

The final step is to access the Smart Home tab in the Alexa Echo app. If you have the SmartThings skill enabled, you will need to disable it and then enable it so that it can re-read the list of “Things”. Then you’ll need to re-run Discovery (a pop-up should automatically appear to action this). All of your new activities should now show in the Your Devices list. And you’ll need to do this each and every time you edit or add a “Thing”.

There’s a big gotcha to be aware of. You can’t use the Station name/Playlist Name in your Sonos Favorites. You can’t use any Artist name or recognizable Playlist Name because Alexa will ignore the SmartThings skill and play music natively on Echo/Dot.

Here’s how I learned what works and what doesn’t.

I discovered that when I selected an Amazon Playlist named ABBA (or even the Pandora ABBA Station) from Favorites for the channel to play from Sonos on the Harmony Activity named Sonos Music and linked it with SmartThings and enabled Alexa that every single time Alexa played something else named Sonos on the current Sonos speaker (or already grouped speakers). And completely ignored the SmartThings list. When I renamed the “Thing” to My Sonos in SmartThings and removed/re-added the skill in the Alexa App, I had better luck, but only some of the time.

I similarly had problems with a John Denver and a Judy Collins playlist in Favorites. Alexa consistently ignored the SmartThings skill and played music by (whomever) on the Echo or DOT. .

After the above limitations sunk in, I decided to try a task based name, Exercise Workout. I set that up and was able to use ANY Sonos favorite without confusing Alexa. So in SmartThings, I currently have Sonos Colorado for John Denver and Sonos Folk for Judy Collins (these work). I’ll have to come up with better, memorable names that are task based.

So now I’m going to finish the task of renaming activities on the Harmony and in SmartThings to get this Harmony-Sonos-SmartThings-Alexa setup to work 100% of the time. Probably using task based and/or some other convention that Alexa won’t recognize. If you have any ideas, let me know on Twitter @barbbowman.

And I hope that the same situation isn’t true with the coming “native” Alexa support for the Logi Harmony Ultimate.

Completing My Alexa Connected Home with Sonos Stations via Yonomi

Earlier this week I started a quest to include my Sonos speakers in my Connected Home in order to control them and action music with my Amazon Echo. I found a “wow” solution for DLNA control using JRiver Media Center and a powerful Alexa skill called House Band. What was missing was a way to summon and play my cloud based streaming stations using Alexa’s voice control. Last night I found a great solution in the Yonomi App (available for iOS and Android) that just this week added Alexa integration.

I’ve got a bunch of streaming stations configured in Sonos and all are added to my Sonos favorites. I’ve got Pandora Radio fav’s, Amazon Prime Stations, Tune In Radio, plus some of my own local playlists.

Yonomi works using routines that you can set up based on time and/or location, but you don’t need to make routines dependent on those criteria, you can just set up a routine that you can summon on demand, and once you hook up via the Smarthome menu on the Echo App, Alexa can TURN ON (routine name). Magic.

I’ve got all kinds of “things” provisioned in the Echo App. Insteon modules, Hue Lights, etc. Here’s a short video where I turn on a lamp and then start a Pandora Station that plays ABBA radio using a Yonomi routine called “Fun Stuff” to my Living Room Sonos:

 

 

Here’s how I did it.

 

1. I downloaded the Yonomi app and set up and account and then ran Discovery and it found my Sonos Speakers. I connected Yonomi to Alexa.

 

connect2alexa

2. I created a new routine without a location or time based trigger that sent my Favorite:Abba Radio (Pandora Station) to my Living Room Sonos and named it “Fun Stuff”. (You want to avoid using names that might trigger Amazon Music to play directly on the Echo, which is why I didn’t name it Abba Radio.

 

routineroutine2

3. I selected Favorites in the Yonomi App and added Fun Stuff

 

favorites

4. I opened the Echo app from a computer (http://echo.amazon.com) and navigated to Smarthome and ran Discovery. Yonomi, the Sonos Speakers, and the Routines were discovered. Note: every time you add a new routine you will need to return to the Echo App and run discovery, the routines are not added automatically; think of them as devices that need to be discovered every time a new one is added).

 

I can now tell Alexa to Turn on Fun Stuff. Boom, the Sonos speaker starts playing Abba Radio.

 

Bonus! I get a notification on my Apple Watch showing what routine is being run.

 

yonomi

I’m REALLY liking this – and I’ve just gotten started. I’ve got Yonomi for streaming station Alexa voice control and House Band that can actually search my local collection and put together on the fly playlists by artist, album, etc. Can it get any better than this?

Read this blog with my Windows 8 App

Get the App

Categories
Archives