Last month, Sonos promised to open up its API to third-party companies, and it's off to a great start by partnering with IFTTT. IFTTT lets you automate smart home devices like door locks, thermostats and lights, which opens up some interesting possibilities. For instance, you can have Sonos play your radio station of choice when you unlock your door, program Hue light colors to playlists, or play a specific song when your Dominoes pizza goes out for delivery (like, I don't know, William Tell Overture).

Sonos functions that work with IFTTT include basic playback control, pause/resume/next/previous and mute/volume controls. You can also play set songs, playlists and albums. To create IFTTT applets that send commands to Sonos, you'll use the "then that" command control, aka the "action."

Sonos has promised many more features to come, most notably Google Assistant integration. Right now, IFTTT is in beta, and Sonos said it will add more functions before the full release. Since it only works with actions, you apparently can't use Sonos to trigger your alarm or other smart home devices. The company has a pre-built list of actions you can try out here.