| 98 | === Making a Sonos "Say" something === |
| 99 | The Sonos plugin exposes Text to Speech capability through Google's service. The functionality is exposed declaratively through the ''Say'' action under Advanced Scenes. |
| 100 | The functionality is also exposed programmatically via Lua code: |
| 101 | {{{ |
| 102 | luup.call_action("urn:micasaverde-com:serviceId:Sonos1", "Say", |
| 103 | {Text="Welcome Home", Language="en", Volume=50, Devices="667,668"}, |
| 104 | 666) |
| 105 | }}} |
| 106 | |
| 107 | Notes: |
| 108 | * This service may be removed at any time, as can happen with Google services. |
| 109 | * Parameters not specified will default internally. (''Language=en'', ''Devices=""'', ''Volume=50'') |
| 110 | |
| 111 | |