ManagerZigBee

Access this instance at HomeyAPIV2.zigbee.

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>

getState

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

Scopes

SYSTEM_READONLY

HTTP

GET /api/manager/zigbee/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/zigbee/command

Parameters

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

Returns

Promise.<any>