ManagerSpeechOutput

You can access this manager through the Homey instance as this.homey.speechOutput

Methods

say

say(text, opts): Promise.<any>

Let Homey say something. There is a limit of 255 characters.

Requires the homey:manager:speech-output permission. For more information about permissions read the Permissions tutorial.

Parameters

Name Type Description
text
string

The sentence to say

opts
object
session
object

The session of the speech. Leave empty to use Homey's built-in speaker

}

Returns

Promise.<any>

Example

this.homey.speechOutput.say('Hello world!')
  .then(this.log)
  .catch(this.error);