ManagerImages

Access this instance at HomeyAPIV3Cloud.images.

Extends

Classes

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>

getImages

(async) getImages(): Promise.<HomeyAPIV3Cloud.ManagerImages.Image>

Scopes

homey.device.readonly

HTTP

get /api/manager/images/image

Returns

getState

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

Scopes

homey.system.readonly

HTTP

get /api/manager/images/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

Events

image.create

.on('image.create')

Parameters

Name Type Description
image
HomeyAPIV3Cloud.ManagerImages.Image

image.delete

.on('image.delete')

Parameters

Name Type Description
image
HomeyAPIV3Cloud.ManagerImages.Image

image.update

.on('image.update')

Parameters

Name Type Description
image
HomeyAPIV3Cloud.ManagerImages.Image