ManagerExperiments

Extends

Methods

connect

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

Connect to the realtime namespace.

Returns

Promise.<void>

disableExperiment

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

Scopes

homey.system

HTTP

PUT /api/manager/experiments/experiment/:id/disable

Parameters

Name Type Description
opts
object
id
string
}

Returns

Promise.<any>

disconnect

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

Disconnect from the realtime namespace.

Returns

Promise.<void>

enableExperiment

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

Scopes

homey.system

HTTP

PUT /api/manager/experiments/experiment/:id/enable

Parameters

Name Type Description
opts
object
id
string
}

Returns

Promise.<any>

getExperiments

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

Scopes

homey.system

HTTP

GET /api/manager/experiments/experiment

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean