I have not done this, just have seen it on the Sonos forums. It sounds cool. Here is the quote from MichaelD over there:
HomeSeer control of SONOS
--------------------------------------------------------------------------------
For any users of HomeSeer home automation software, I'm finalising a set of scripts that will allow HomeSeer to control SONOS Zone Players.
They will allow HS to:
Control each Zone Player using commands such as play, stop, pause, volumeup, mute etc.
Control zones separately, or all at once, with commands such as all:stop
Use the zone names that you have chosen for your ZPs
Build an alarm clock function, to switch on each Zone Player at a pre-set time
Create a sleep function that will turn off a ZP at a pre-set time
Stop all ZPs when you go out
Play your favourite music when you arrive home
Mute all players when the phone rings (needs HS modem)
Manage HomeSeer output
Use the SONOS system for announcements from HomeSeer
Choose which Zone Players (ZPs) make each announcement as easily as you switch lights. If the chosen ZPs are playing music, this will be paused, the HomeSeer announcement made, then the music will restart.
Set the volume of HS announcements independently of the volume used for music.
Manage Zone Groups
Link zones together to form a Zone Group
Drop a zone from a Zone Group
That's all the functionality I'd planned, in particular, I haven't built in anything to let users choose what to play. The SONOS controller, Desktop Controller, or one of the web-based controllers seem to do that very effectively.
My target date for first beta release is the end of February, but I thought I'd give an early indication that its on its way
The thread is at:
Homeseer Thread