ManagerUpdates

Access this instance at HomeyAPIV3Local.updates.

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>

getOptionAutoupdate

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/updates/option/autoupdate

Returns

Promise.<any>

getOptionChannel

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/updates/option/channel

Returns

Promise.<any>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/updates/state

Returns

Promise.<any>

getUpdates

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

Scopes

-

HTTP

GET /api/manager/updates/update

Returns

Promise.<any>

installUpdate

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

Scopes

-

HTTP

POST /api/manager/updates/update

Parameters

Name Type Description
opts
object
reboot
boolean <optional>
silent
boolean <optional>
}

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

setOptionAutoupdate

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

Scopes

homey.system

HTTP

PUT /api/manager/updates/option/autoupdate

Parameters

Name Type Description
opts
object
value
*
}

Returns

Promise.<any>

setOptionChannel

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

Scopes

homey.system

HTTP

PUT /api/manager/updates/option/channel

Parameters

Name Type Description
opts
object
value
*
}

Returns

Promise.<any>

unsetOptionAutoupdate

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

Scopes

homey.system

HTTP

DELETE /api/manager/updates/option/autoupdate

Returns

Promise.<any>

unsetOptionChannel

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

Scopes

homey.system

HTTP

DELETE /api/manager/updates/option/channel

Returns

Promise.<any>