ManagerVirtualDevice

Access this instance at HomeyAPIV3Cloud.vdevice.

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>

getState

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

Scopes

homey.system.readonly

HTTP

get /api/manager/vdevice/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

Events

virtualdevicebridge.create

.on('virtualdevicebridge.create')

Parameters

Name Type Description
virtualdevicebridge
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceHomeyBridge

virtualdevicebridge.delete

.on('virtualdevicebridge.delete')

Parameters

Name Type Description
virtualdevicebridge
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceHomeyBridge

virtualdevicebridge.update

.on('virtualdevicebridge.update')

Parameters

Name Type Description
virtualdevicebridge
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceHomeyBridge

virtualdeviceinfrared.create

.on('virtualdeviceinfrared.create')

Parameters

Name Type Description
virtualdeviceinfrared
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceInfrared

virtualdeviceinfrared.delete

.on('virtualdeviceinfrared.delete')

Parameters

Name Type Description
virtualdeviceinfrared
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceInfrared

virtualdeviceinfrared.update

.on('virtualdeviceinfrared.update')

Parameters

Name Type Description
virtualdeviceinfrared
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceInfrared

virtualdevicevirtualsocket.create

.on('virtualdevicevirtualsocket.create')

Parameters

Name Type Description
virtualdevicevirtualsocket
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceVirtualSocket

virtualdevicevirtualsocket.delete

.on('virtualdevicevirtualsocket.delete')

Parameters

Name Type Description
virtualdevicevirtualsocket
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceVirtualSocket

virtualdevicevirtualsocket.update

.on('virtualdevicevirtualsocket.update')

Parameters

Name Type Description
virtualdevicevirtualsocket
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceVirtualSocket

virtualdevicezigbee.create

.on('virtualdevicezigbee.create')

Parameters

Name Type Description
virtualdevicezigbee
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceZigbee

virtualdevicezigbee.delete

.on('virtualdevicezigbee.delete')

Parameters

Name Type Description
virtualdevicezigbee
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceZigbee

virtualdevicezigbee.update

.on('virtualdevicezigbee.update')

Parameters

Name Type Description
virtualdevicezigbee
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceZigbee

virtualdevicezwave.create

.on('virtualdevicezwave.create')

Parameters

Name Type Description
virtualdevicezwave
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceZwave

virtualdevicezwave.delete

.on('virtualdevicezwave.delete')

Parameters

Name Type Description
virtualdevicezwave
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceZwave

virtualdevicezwave.update

.on('virtualdevicezwave.update')

Parameters

Name Type Description
virtualdevicezwave
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDeviceZwave

virtualdriverbridge.create

.on('virtualdriverbridge.create')

Parameters

Name Type Description
virtualdriverbridge
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverHomeyBridge

virtualdriverbridge.delete

.on('virtualdriverbridge.delete')

Parameters

Name Type Description
virtualdriverbridge
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverHomeyBridge

virtualdriverbridge.update

.on('virtualdriverbridge.update')

Parameters

Name Type Description
virtualdriverbridge
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverHomeyBridge

virtualdriverinfrared.create

.on('virtualdriverinfrared.create')

Parameters

Name Type Description
virtualdriverinfrared
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverInfrared

virtualdriverinfrared.delete

.on('virtualdriverinfrared.delete')

Parameters

Name Type Description
virtualdriverinfrared
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverInfrared

virtualdriverinfrared.update

.on('virtualdriverinfrared.update')

Parameters

Name Type Description
virtualdriverinfrared
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverInfrared

virtualdrivervirtualsocket.create

.on('virtualdrivervirtualsocket.create')

Parameters

Name Type Description
virtualdrivervirtualsocket
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverVirtualSocket

virtualdrivervirtualsocket.delete

.on('virtualdrivervirtualsocket.delete')

Parameters

Name Type Description
virtualdrivervirtualsocket
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverVirtualSocket

virtualdrivervirtualsocket.update

.on('virtualdrivervirtualsocket.update')

Parameters

Name Type Description
virtualdrivervirtualsocket
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverVirtualSocket

virtualdriverzigbee.create

.on('virtualdriverzigbee.create')

Parameters

Name Type Description
virtualdriverzigbee
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverZigbee

virtualdriverzigbee.delete

.on('virtualdriverzigbee.delete')

Parameters

Name Type Description
virtualdriverzigbee
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverZigbee

virtualdriverzigbee.update

.on('virtualdriverzigbee.update')

Parameters

Name Type Description
virtualdriverzigbee
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverZigbee

virtualdriverzwave.create

.on('virtualdriverzwave.create')

Parameters

Name Type Description
virtualdriverzwave
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverZwave

virtualdriverzwave.delete

.on('virtualdriverzwave.delete')

Parameters

Name Type Description
virtualdriverzwave
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverZwave

virtualdriverzwave.update

.on('virtualdriverzwave.update')

Parameters

Name Type Description
virtualdriverzwave
HomeyAPIV3Cloud.ManagerVirtualDevice.VirtualDriverZwave