Creates a new Z-Bus DirectionalDevice
{ DirectionalDevice } = require('@z-bus/api');
//Moves address 0 up
new DirectionalDevice(0).up();
Address between 0
and 242
to which the device will be linked
Addresses the Z-Bus device is linked to. The device will react when receiving a corresponding DeviceEvent and change its state accordingly.
Unique id that identifies the Z-Bus device in the database
Display name of the Z-Bus device
Display profile for the Z-Bus device (determines state descriptions and symbols), e.g.:
Current state the Z-Bus device is in, e.g.:
'undefined'
'on'
'off'
'up'
'down'
'stop'
Identifies the different types of Z-Bus devices:
'switch'
for SwitchingDevice'dimmer'
for DimmerDevice'directional'
for DirectionalDeviceMoves the Z-Bus DirectionalDevice down
Steps a DirectionalDevice. The device will alternate
Stops the motion of the Z-Bus DirectionalDevice
Controls the Z-Bus DirectionalDevice
Command used to control the device between 0
and 255
(values see Command)
Moves the Z-Bus DirectionalDevice up
Steps a DirectionalDevice. The device will alternate
Generated using TypeDoc
Z-Bus directional device which controls the motion of blinds, windows, or awnings