ManagerSpeechOutput

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

Table of Contents

Methods

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
Name Type Description
session object

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

Returns:
Type:
Promise.<any>
Example
this.homey.speechOutput.say('Hello world!')
  .then(this.log)
  .catch(this.error);