ManagerDatabase

Access this instance at HomeyAPIV2.database.

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>

isConnected

isConnected(): Boolean

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

Returns

Boolean

optimize

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

Scopes

homey.system

HTTP

POST /api/manager/database/optimize

Returns

Promise.<any>