ManagerCloud

Access this instance at HomeyAPIV3Cloud.cloud.

Extends

  • HomeyAPIV3.ManagerCloud

Classes

Instance Methods

emitOAuth2Callback

(async) emitOAuth2Callback(opts): Promise.<any>

Scopes

-

HTTP

POST /api/manager/cloud/oauth2-callback

Parameters

Name Type Description
opts
object
app
string <optional>
token
string <optional>
code
string <optional>
}

Returns

Promise.<any>

emitWebhookCallback

(async) emitWebhookCallback(opts): Promise.<any>

Scopes

-

HTTP

POST /api/manager/cloud/webhook/:id/callback

Parameters

Name Type Description
opts
object
id
string
args
object <optional>
}

Returns

Promise.<any>

getState

(async) getState(): Promise.<any>

Scopes

homey.system.readonly

HTTP

GET /api/manager/cloud/state

Returns

Promise.<any>

Events

webhook.create

.on('webhook.create')

Parameters

Name Type Description
webhook
HomeyAPIV3Cloud.ManagerCloud.Webhook

webhook.delete

.on('webhook.delete')

Parameters

Name Type Description
webhook
HomeyAPIV3Cloud.ManagerCloud.Webhook

webhook.update

.on('webhook.update')

Parameters

Name Type Description
webhook
HomeyAPIV3Cloud.ManagerCloud.Webhook