The attached scripts allow HomeSeer to control SONOS Zone Players.
Using simple events, or scripts if you prefer, you can:
- 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)
- Reduce the volume when the doorbell rings (needs HS to know when it rings!)
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
Report on 'whats playing', with:
- Current Album
- Track name
- Artist
- Volume
- etc....
Use your SONOS controller to run HomeSeer events
Update the Music Index used by your Zone Players
- So that you can schedule an automatic update at regular intervals
Full installation and usage information is included in the .doc file
Latest versions are:
SONOS Controller.vbh Version 0.7
SONOS Discovery.vbh Version 0.8
SONOS Scripts Documentation Version 0.5
SONOS Reporter 0.4
Discussion of the scripts at:
http://board.homeseer.com/showthread...322#post700322
Version history:
Reporter 0.4 Number of changes to fix problem that caused reporting on wrong zones
Reporter 0.3 Added functionality to resubscribe if any zones are dropped (service instance died message)
Reporter 0.2 First public beta of new reporting script to provide real-time updates on status of ZPs, and the ability to initiate HS events from the SONOS controller
Discovery 0.8 Fixed a UPnP compatibility problem that arose with later versions of HS
Discovery 0.6 Fixed an incompatibility with
HS2 that was causing a harmless but irritating run-time error. Made the discovery process more robust to work better with less reliable networks
Controller 0.7 Functionality added to update the music index, and to increase reliability
Controller 0.6 Functionality added to create 'Reporting Devices' and to report Zone Player status
Controller 0.5 Fixed problem when trying to set volume on a device with fixed line-out volume
Controller 0.4 Made script much more robust, with more error checking, and increased number of retries on comms failures. Fixed 'subscript error', and incorporated different trace levels for diagnostics
Controller 0.3 Changed param separator to ";" to allow MLHSPlugin to use ":"
Controller 0.2 Changes to fix problem when Pausing a stopped player, or Nexting radio
Controller 0.1 Initial version