Readonly
apiReadonly
deviceCached value of sysinfo.brightness
.
Get Plug/Dimmer default behavior configuration.
Requests dimmer.get_default_behavior
. Does not support childId.
Optional
sendOptions: SendOptionsparsed JSON response
Get Plug/Dimmer parameters configuration.
Requests dimmer.get_dimmer_parameters
. Does not support childId.
Optional
sendOptions: SendOptionsparsed JSON response
Sets Plug to the specified brightness
.
Sends dimmer.set_brightness
command. Does not support childId.
0-100
Optional
sendOptions: SendOptionsparsed JSON response
Transitions Plug to the specified brightness
.
Sends dimmer.set_dimmer_transition
command. Does not support childId.
Optional
sendOptions: SendOptionsparsed JSON response
Set Plug/Dimmer default_behavior
configuration for double_click
.
Sends dimmer.set_double_click_action
. Does not support childId.
Optional
sendOptions: SendOptionsparsed JSON response
Set Plug dimmer_parameters
for fadeOffTime
.
Sends dimmer.set_fade_off_time
. Does not support childId.
duration in ms
Optional
sendOptions: SendOptionsparsed JSON response
Set Plug dimmer_parameters
for fadeOnTime
.
Sends dimmer.set_fade_on_time
. Does not support childId.
duration in ms
Optional
sendOptions: SendOptionsparsed JSON response
Set Plug dimmer_parameters
for gentleOffTime
.
Sends dimmer.set_gentle_off_time
. Does not support childId.
duration in ms
Optional
sendOptions: SendOptionsparsed JSON response
Set Plug dimmer_parameters
for gentleOnTime
.
Sends dimmer.set_gentle_on_time
. Does not support childId.
duration in ms
Optional
sendOptions: SendOptionsparsed JSON response
Set Plug/Dimmer default_behavior
configuration for long_press
.
Sends dimmer.set_long_press_action
. Does not support childId.
Optional
sendOptions: SendOptionsparsed JSON response
Sets Plug to the specified on/off state.
Sends dimmer.set_switch_state
command. Does not support childId.
true=on, false=off
Optional
sendOptions: SendOptionsparsed JSON response
Generated using TypeDoc
Dimmer
TP-Link models: HS220.