Shelly Plus WallDimmer
Shelly Plus WallDimmer is a device that can dim light. It has a touch slider and button to control the light.
The following components are available in Shelly PlusWallDimmer:
- System
- WiFi
- Bluetooth Low Energy
- Cloud
- MQTT
- Outbound Websocket
- Light (
light:0
) - Up to 10 instances of Script
- WD_UI
WD_UI
The WD_UI component handles the settings of a Plus WallDimmer device's LEDs.
Status
The WD_UI component does not own any status properties.
Example status object
{}
Configuration
The configuration of the WD_UI component allows you to confgure dimmer's LEDs behavior.
Properties:
sys_led_enable
: boolean, enable or disable system activity ledpower_led
: string, led mode related to output state. Valid choises are [on
,off
,match_output
,inverted_output
]
info
on
: power led is always onoff
: power led is always offmatch_output
: power led is on when dimmer is oninverted_output
: power led is on when dimmer is off
Example configuration object
{
"sys_led_enable": true,
"power_led": "match_output"
}
WD_UI.SetConfig example
- WD_UI.SetConfig Curl Request
- WD_UI.SetConfig Mos Request
curl -X POST -d '{"id":1, "method": "WD_UI.SetConfig", "params": {"config": { "sys_led_enable":true, "power_led":"on"}}}}' http://${SHELLY}/rpc
mos --port ${PORT} call WD_UI.SetConfig '{"config": {"sys_led_enable":true, "power_led":"on"}}'