Sets Hue light state
Changes the state of one or more Hue lights
Set-HueLight -Name *Lightstrip* -Luminance 0.05 # Set any Hue lights named Hue lightstrip to be very dim
LivingRoom -On -ColorTemperature 500 -Brightness .1
# Room names and light names are automatically aliased to Set-HueLight.
# This gives all lights in the living room a warm glow.
Set-HueLight -Alert select # Make all of the lights blink once
Set-HueLight -Effect colorloop # Set all lights to color loop
Set-HueLight -Effect none # Make all of the lights stop looping color
Set-HueLight -RGBColor "#ff0000" # Make all lights red
Set-HueLight -Hue 120 -Saturation .8 -Brightness .6 # Make all lights green
Set-HueLight -HueIncrement 60 # Move the hue of all lights
The name of the Hue light
Type:
[String[]]
Required: true
Position: 1
PipelineInput:true (ByPropertyName)
The name of the Hue room
Type:
[String[]]
Required: true
Position: 1
PipelineInput:false
The identifier of the Hue light
Type:
[String]
Required: true
Position: 1
PipelineInput:true (ByPropertyName)
The identifier of the Hue group
Type:
[String]
Required: true
Position: 1
PipelineInput:false
The transition time. This is how long it will take light to change from it's current state to the one you've set
Type:
[TimeSpan]
Required: false
Position: 2
PipelineInput:true (ByPropertyName)
If set, will switch the light on
Type:
[Switch]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
If set, will switch the light off
Type:
[Switch]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
Sets lights to an RGB color
Type:
[String]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The desired hue (ranged 0-360)
Type:
[Single]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The desired saturation (ranged 0-1)
Type:
[Single]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The desired brightness (ranged 0-1)
Type:
[Single]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The effect
Valid Values:
- colorloop
- none
Type:
[String]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The alert
Valid Values:
- select
- lselect
- none
Type:
[String]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The color temperature as a Mired value.
Type:
[Int32]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The color, in XY coordinates.
Type:
[Single[]]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
The increment in saturation. This will adjust the intensity of the color.
Type:
[Single]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
An increment in luminance. This will adjust the brightness of the light.
Type:
[Single]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
An increment in hue. This will adjust the hue
Type:
[Int32]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
A change in the color temperature.
Type:
[Int32]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
If set, will output the data that would be sent to the bridge. This is useful for creating scheudles, routines, and other macros.
Type:
[Switch]
Required: false
Position: named
PipelineInput:true (ByPropertyName)
-WhatIf is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)]
.
-WhatIf is used to see what would happen, or return operations without executing them
-Confirm is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)]
.
-Confirm is used to -Confirm each operation.
If you pass -Confirm:$false
you will not be prompted.
If the command sets a [ConfirmImpact("Medium")]
which is lower than $confirmImpactPreference
, you will not be prompted unless -Confirm is passed.
Set-HueLight [[-TransitionTime] <TimeSpan>] [-On] [-Off] [-RGBColor <String>] [-Hue <Single>] [-Saturation <Single>] [-Brightness <Single>] [-Effect <String>] [-Alert <String>] [-ColorTemperature <Int32>] [-XY <Single[]>] [-SaturationIncrement <Single>] [-BrightnessIncrement <Single>] [-HueIncrement <Int32>] [-ColorTemperatureIncrement <Int32>] [-OutputInput] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-HueLight [-Name] <String[]> [[-TransitionTime] <TimeSpan>] [-On] [-Off] [-RGBColor <String>] [-Hue <Single>] [-Saturation <Single>] [-Brightness <Single>] [-Effect <String>] [-Alert <String>] [-ColorTemperature <Int32>] [-XY <Single[]>] [-SaturationIncrement <Single>] [-BrightnessIncrement <Single>] [-HueIncrement <Int32>] [-ColorTemperatureIncrement <Int32>] [-OutputInput] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-HueLight [-RoomName] <String[]> [[-TransitionTime] <TimeSpan>] [-On] [-Off] [-RGBColor <String>] [-Hue <Single>] [-Saturation <Single>] [-Brightness <Single>] [-Effect <String>] [-Alert <String>] [-ColorTemperature <Int32>] [-XY <Single[]>] [-SaturationIncrement <Single>] [-BrightnessIncrement <Single>] [-HueIncrement <Int32>] [-ColorTemperatureIncrement <Int32>] [-OutputInput] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-HueLight [-LightID] <String> [[-TransitionTime] <TimeSpan>] [-On] [-Off] [-RGBColor <String>] [-Hue <Single>] [-Saturation <Single>] [-Brightness <Single>] [-Effect <String>] [-Alert <String>] [-ColorTemperature <Int32>] [-XY <Single[]>] [-SaturationIncrement <Single>] [-BrightnessIncrement <Single>] [-HueIncrement <Int32>] [-ColorTemperatureIncrement <Int32>] [-OutputInput] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-HueLight [-GroupID] <String> [[-TransitionTime] <TimeSpan>] [-On] [-Off] [-RGBColor <String>] [-Hue <Single>] [-Saturation <Single>] [-Brightness <Single>] [-Effect <String>] [-Alert <String>] [-ColorTemperature <Int32>] [-XY <Single[]>] [-SaturationIncrement <Single>] [-BrightnessIncrement <Single>] [-HueIncrement <Int32>] [-ColorTemperatureIncrement <Int32>] [-OutputInput] [-WhatIf] [-Confirm] [<CommonParameters>]