Components
Components are the building blocks for device interactions in DuloNode. Each controller defines specific properties and behaviors that are supported by the connected devices. Below is a detailed list of components, their descriptions, supported properties, and allowed values.
PowerController
The PowerController is essential for managing the power states of devices.
Example commands:
“Alexa, turn on the Living room lights.”
“Alexa, turn off the Kitchen.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
powerState | Indicates the device’s power state. | ON, OFF | OFF |
BrightnessController
The BrightnessController adjusts the brightness levels of compatible devices.
Example commands:
“Alexa, brighten the bathroom light to 75 percent.”
“Alexa, dim the lights to 25 percent.”
“Alexa, set the bedroom light to 50 percent.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
brightness | Sets the brightness level as a percentage. | 0 - 100 | 50 |
ColorController
The ColorController allows adjustments to color properties, including hue, saturation, and brightness.
Example commands:
“Alexa, set the bedroom light to red.”
“Alexa, change the kitchen to the color blue.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
color.hue | Sets the color's hue, which defines the shade (e.g., red, green, or blue). | 0 - 360 | 0 |
color.saturation | Adjusts the color's saturation level, where 0 is grayscale and 1 is fully saturated. | 0 - 1 | 0 |
color.brightness | Controls the brightness of the color, where 0 is completely dark and 1 is full brightness. | 0 - 1 | 1 |
ColorTemperatureController
The ColorTemperatureController manages the color temperature of lighting devices, typically measured in Kelvin.
Example commands:
“Alexa, make the living room lights warmer.”
“Alexa, set the dining room lights cooler.”
“Alexa, set the dining room softer.”
“Alexa, make the living room light whiter.”
“Alexa, make the living room light warm white.”
“Alexa, set the kitchen to daylight.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
colorTemperatureInKelvin | Adjusts the color temperature of the device, typically measured in Kelvin. | 2200 - 7000 | 4000 |
ColorModeController
The ColorModeController defines the active color mode of the device, such as HUE or COLOR TEMPERATURE.
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
colorMode | Defines the active color mode of the device, such as HUE or COLOR TEMPERATURE. | HUE, CT | HUE |
RangeController
The RangeController manages adjustable ranges such as fan speed or height.
Example commands:
“Alexa, set the bedroom fan speed to 7.”
“Alexa, set the fan speed on the bedroom fan to maximum.”
“Alexa, turn up the bedroom fan speed.”
“Alexa, decrease the fan speed on the bedroom fan by 3.”
“Alexa, what's the bedroom fan speed?”
“Alexa, raise the blinds.”
“Alexa, lower the blinds.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
rangeValue | Specifies the range value for the device (e.g., fan speed or lift height). | 0 - 10 | 0 |
ToggleController
The ToggleController manages the ON/OFF state of a specific property (e.g., oscillation for a fan).
Example commands:
“Alexa, turn on the ice maker.”
“Alexa, turn off kitchen lights.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
toggleState | Indicates the ON or OFF state of a specific device property. | ON, OFF | OFF |
ModeController
The ModeController manages different operational modes (e.g., garage door position, AC mode).
Example commands:
“Alexa, set the living room air conditioner to cool.”
“Alexa, set the thermostat to heat mode.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
mode | Sets the operational mode of the device (e.g., garage door position). | Position.Up, Position.Down | Position.Up |
LockController
The LockController secures devices with locking mechanisms, such as door locks.
Example commands:
“Alexa, lock my front door.”
“Alexa, unlock the back door.”
“Alexa, is my door locked?”
“Alexa, is my door unlocked?”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
lockState | Sets the state of the lock. | LOCKED, UNLOCKED, JAMMED | LOCKED |
TemperatureSensor
The TemperatureSensor provides the current temperature measured by the sensor.
Example commands:
“Alexa, what's the living room temperature?”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
temperature.value | Indicates the current temperature measured by the sensor. |
Celsius: 10 - 37.5 Fahrenheit: 50 - 99.5 |
22 |
temperature.scale | Specifies the temperature scale used. | CELSIUS, FAHRENHEIT | CELSIUS |
ThermostatController
The ThermostatController manages heating and cooling systems for thermostats.
Example commands:
“Alexa, set the living room temperature to 22 degrees.”
“Alexa, increase the bedroom temperature by 3 degrees.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
targetSetpoint.value | Sets the desired temperature for the thermostat. |
Celsius: 10 - 37.5 Fahrenheit: 50 - 99.5 |
15 |
targetSetpoint.scale | Specifies the temperature scale used. | CELSIUS, FAHRENHEIT | CELSIUS |
thermostatMode | Indicates the current operating mode of the thermostat. | AUTO, COOL, HEAT, ECO, OFF | AUTO |
Speaker
The Speaker controls volume and muting for audio devices.
Example commands:
“Alexa, set the volume of the speakers to 50.”
“Alexa, turn the volume down on the stereo by 20.”
“Alexa, turn the volume down on Living Room TV.”
“Alexa, mute speakers.”
“Alexa, unmute speakers.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
volume | Adjusts the volume level. | 0 - 100 | 0 |
muted | Indicates whether the speaker is muted. | true, false | false |
PlaybackController
The PlaybackController manages media playback operations, such as play, pause, and stop.
Example commands:
“Alexa, fast forward on {device}.”
“Alexa, next on {device}.”
“Alexa, pause {device}.”
“Alexa, resume {device}.”
“Alexa, play {device}.”
“Alexa, previous on {device}.”
“Alexa, rewind on {device}.”
“Alexa, start over on {device}.”
“Alexa, stop {device}.”
Specification:
Property | Description | Allowed Values | Default |
---|
PlaybackStateReporter
The PlaybackStateReporter shows the current playback state.
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
playbackState | Shows the current playback state. | PLAYING, PAUSED, STOPPED | STOPPED |
ChannelController
The ChannelController allows setting or switching TV channels.
Example commands:
“Alexa, go to channel 32.”
“Alexa, watch channel 32.”
“Alexa, channel up on the TV.”
“Alexa, channel down on the TV.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
channel.number | Specifies the channel number to be displayed or tuned to. | 0 - 1000 | 1 |
InputController
The InputController manages input sources for media devices.
Example commands:
“Alexa, change the input to DVD on the Living Room TV.”
“Alexa, switch to HDMI two on the Kitchen TV.”
“Alexa, switch to PLAYSTATION on the Living Room TV.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
input | Defines the input source for the device. | AUX 1, AUX 2, AUX 3, AUX 4, AUX 5, AUX 6, AUX 7, BLURAY, CABLE, CD, COAX 1, COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1, HDMI 2, HDMI 3, HDMI 4, HDMI 5, HDMI 6, HDMI 7, HDMI 8, HDMI 9, HDMI 10, HDMI ARC, INPUT 1, INPUT 2, INPUT 3, INPUT 4, INPUT 5, INPUT 6, INPUT 7, INPUT 8, INPUT 9, INPUT 10, IPOD, LINE 1, LINE 2, LINE 3, LINE 4, LINE 5, LINE 6, LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1, VIDEO 2, VIDEO 3, XBOX | TV |
SceneController
The SceneController activates or deactivates predefined scenes.
Example commands:
“Alexa, turn on Start My Day.”
“Alexa, turn on Living Room Party.”
“Alexa, turn on Movie Night.”
Specification:
Property | Description | Allowed Values | Default |
---|---|---|---|
action | Activates or deactivates a scene. | Activate, Deactivate |