HomeyAPI~ManagerSpeechInput

Methods

async parseSpeech(optsopt)

Required OAuth scopes:
- homey.speech

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Attributes Description
transcript string
confidence number <optional>
session string <optional>
synthesize boolean <optional>
words Array.<object> <optional>
waitForAnswer object <optional>

async ask(optsopt)

Required OAuth scopes:
- homey.speech

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Attributes Description
text string
session string <optional>
synthesize boolean <optional>
timeout number <optional>

async askResponse(optsopt)

Required OAuth scopes:
- homey.speech

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Attributes Description
session string
transcript string <optional>

async confirm(optsopt)

Required OAuth scopes:
- homey.speech

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Attributes Description
text string
session string <optional>
timeout number <optional>

async getHistory(optsopt)

Required OAuth scopes:
- homey.speech

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters

async getSpeechAgents(optsopt)

Required OAuth scopes:
- homey.speech

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters

Classes

Error