Use a Griffin Powermate to control your Sonos system.
Clone the repo, go into the cloned directory, and type npm install
to bring in the dependencies.
Edit the sonospowermate.js
file, look for the string "Family Room", and replace it with the name of the Sonos zone you plan to control with the Powermate.
Look for the string "put your key here", and replace it with your access key from voicerss.com.
The blue LED ring on the Powermate will pulse while the app is learning about your Sonos topology, and will turn off (or on, if your zone is currently playing) when discovery is complete, and the system is ready for use.
- Turn right: increase group volume
- Turn left: decrease group volume
- Push turn right: increase zone volume (that is, the volume of the single specified zone, even if it's in a group)
- Push turn left: decrease zone volume
- Single press: Stop Sonos
- Double press: Next track
- Long press: Previous track
- Single press: Start Sonos
- Double press: Enter favorites mode
- Turn right: Go to the next favorite
- Turn left: Go to the previous favorite
- Single press: Play the current favorite
- Double press: Exit favorites mode
This was developed and deployed on a Raspbian Raspberry Pi system. There are a couple steps necessary to get it running in this context. See this blog post for more thorough instrucitons.