ManagerCoprocessor

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>

getBridges

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

Scopes

homey.system.readonly

HTTP

get /api/manager/coprocessor/bridge

Returns

Promise.<any>

getState

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

Scopes

homey.system.readonly

HTTP

get /api/manager/coprocessor/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

pairBridge

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

Scopes

homey.system

HTTP

post /api/manager/coprocessor/bridge

Parameters

Name Type Description
opts
object
serialHash
string
}

Returns

Promise.<any>