| 63 | |
| 64 | == Example Scenes == |
| 65 | === Creating a Sonos scene under UI5 === |
| 66 | [[Image(SonosUI5AdvancedScene.jpg, right, title="UI5 Scene Example", width=50%)]] |
| 67 | To use the Sonos device under UI5, follow the steps outlined below. |
| 68 | * Create New Scene |
| 69 | * Give the scene a name, such as ''Play Sonos'' |
| 70 | * Select the [Advanced] option/tab |
| 71 | * Select the ''Sonos device'' |
| 72 | * Click (Add) |
| 73 | * Then from the drop down options list created below, Choose ''!SetFileToPlay'' and enter the full location of the NAS file[[br]]e.g. ''//192.168.1.10/media/Music/Mp3s/Changes.mp3'' |
| 74 | |
| 75 | Now you have selected the file, you need to tell the Sonos to play it |
| 76 | |
| 77 | * Select the ''Sonos device'' again |
| 78 | * Click (Add) |
| 79 | * Then from the drop down option list created below, Choose 'Play' |
| 80 | * Confirm Changes & (Save) |
| 81 | |
| 82 | Now you should have a scene that, once run, will play the track you've selected. |
| 83 | |
| 84 | Notes: |
| 85 | * The above bypasses the Sonos queue and will just play the selected track only. |
| 86 | * If you know the length of the track being played you can set a delay to occur[[br]]e.g 3.45mins and set another file to play. |
| 87 | |
| 88 | == Reference == |
| 89 | * Example [http://forum.micasaverde.com/index.php/topic,8505.msg75764.html#msg75764 UI5 scene post] from @parkerc |