Arduino sketch, device handler and SmartApp for controlling Sonos speakers and Hue lights. http://davidbliss.com/2014/02/10/multi-switch-for-smartthings/