ManagerLedring

Access this instance at HomeyAPIV3Local.ledring.

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>

getOptionBrightness

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/ledring/option/brightness

Returns

Promise.<any>

getOptionScreensaver

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/ledring/option/screensaver

Returns

Promise.<any>

getScreensavers

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

Scopes

-

HTTP

GET /api/manager/ledring/screensaver

Returns

Promise.<any>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/ledring/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

setOptionBrightness

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

Scopes

homey.system

HTTP

PUT /api/manager/ledring/option/brightness

Parameters

Name Type Description
opts
object
value
*
}

Returns

Promise.<any>

setOptionScreensaver

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

Scopes

homey.system

HTTP

PUT /api/manager/ledring/option/screensaver

Parameters

Name Type Description
opts
object
value
*
}

Returns

Promise.<any>

unsetOptionBrightness

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

Scopes

homey.system

HTTP

DELETE /api/manager/ledring/option/brightness

Returns

Promise.<any>

unsetOptionScreensaver

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

Scopes

homey.system

HTTP

DELETE /api/manager/ledring/option/screensaver

Returns

Promise.<any>