ManagerDevkit

Access this instance at HomeyAPIV3Cloud.devkit.

Extends

Methods

connect

(async) connect(): Promise.<void>

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

(async) disconnect(): Promise.<void>

Disconnect from the realtime namespace.

Returns

Promise.<void>

getState

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

Scopes

homey.system.readonly

HTTP

get /api/manager/devkit/state

Returns

Promise.<any>

installApp

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

Scopes

homey.app

HTTP

post /api/manager/devkit/app

Parameters

Name Type Description
opts
object
manifest
object
clean
boolean <optional>
}

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

uninstallApp

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

Scopes

homey.app

HTTP

delete /api/manager/devkit/app/:sessionId

Parameters

Name Type Description
opts
object
sessionId
string
}

Returns

Promise.<any>