ManagerZwave

Access this instance at HomeyAPIV3Local.zwave.

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>

getLog

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

Scopes

homey.system

HTTP

GET /api/manager/zwave/log

Returns

Promise.<any>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/zwave/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

runCommand

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

Scopes

homey.system

HTTP

POST /api/manager/zwave/command

Parameters

Name Type Description
opts
object
command
string
opts
object <optional>
}

Returns

Promise.<any>

setLogEnabled

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

Scopes

homey.system

HTTP

PUT /api/manager/zwave/log

Parameters

Name Type Description
opts
object
enabled
boolean
}

Returns

Promise.<any>