Actions8
- Appliance Actions
- Device Actions
Device → Control
AI-generatedSummary
Send a specific control command to a selected Govee device, optionally validating command support before sending.
Inputs
- Device Name or ID (required) — Select the Govee device to control by choosing from the list or specifying its ID via expression.
- Model Name or ID (required) — Select the model of the chosen device from the list or specify it via expression.
- Command Name or ID (required) — Choose the command to execute on the device from those supported by the selected device, or specify a command ID via expression.
- Turn Value (required) — Specify 'On' or 'Off' when the 'turn' command is selected.
- Brightness (required) — Set the brightness level (0 to 100) when the 'brightness' command is selected; value is validated against device capabilities.
- Color (required) — Pick a color using a color picker when the 'color' command is selected; the hex value is converted to RGB automatically.
- Color Temperature (required) — Set the color temperature in Kelvin (typically 2000-9000) when the 'colorTem' command is selected; the exact range is validated against the device.
- Command Value (required) — Provide the value for other command types as a string, number, or JSON object depending on the command.
- Options — Optionally enable command validation to check if the device supports the command before sending, which performs an additional API call.
Output shape
a single response object from the Govee API for command control
Throws errors if the command is invalid or out of device capability ranges unless 'Continue on Fail' is enabled. Response includes result of the control operation.
Examples
Example 1: Turn a Govee device on
Set Resource to 'Device', Operation to 'Control', select your device and model, set Command to 'turn' and Turn Value to 'On'.
Example 2: Set brightness to 80
Select 'brightness' as Command and provide 80 for Brightness, with the applicable device and model selected.
Example 3: Change color to red
Select 'color' as Command and pick '#FF0000' in the Color field.