D-Link Switch


The dlink switch platform allows you to control the state of your D-Link Wi-Fi Smart Plugs.

Supported devices (tested):

  • DSP-W215
  • DSP-W110

To use your D-Link smart plugs in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  platform: dlink
  host: IP_ADRRESS
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

Configuration Variables

host

(string)(Required)

The IP address of your D-Link plug, e.g., 192.168.1.32.

name

(string)(Optional)

The name to use when displaying this switch.

Default value:

D-link Smart Plug W215

username

(string)(Required)

The username for your plug.

Default value:

admin

password

(string)(Required)

The password for your plug.

Default value:

The default password is the PIN included on the configuration card.

use_legacy_protocol

(boolean)(Optional)

Enable limited support for legacy firmware protocols (Tested with v1.24).

Default value:

false