D-Link DSP-W215

The DSP-W215 is a discontinued WiFi power plug from D-Link. It is an 8MB flash and/or 64MB RAM device. It has the characteristics below:

  • EU version: qca9531-bl3a: Qualcomm QCA9531 14 Chipset | 2×2 802.11n Wi-Fi SoC
  • US/AU version: AR93xx SoC
  • Winbond W9751G6KB-25: DRAM Chip DDR2 SDRAM 512M-Bit 32Mx16 1.8V 84-Pin WBGA
  1. Download the firmware file (*factory.bin) and save it on your computer.
  2. Remove DSP-W215 from power socket.
  3. Press and hold the WPS button (rev A) or the reset button (rev B) on the side of the DSP-W215A and plug it into power socket.
  4. Continue holding the WPS/reset button until the LED is flashing red.
  5. Connect to Wi-Fi network broadcasted by the DSP-W215 (the network name should start with DSP-xxxx)
  6. Open a Web Browser and go to
  7. Upgrade the firmware by selecting the file downloaded in Step 1.

Note: a factory reset is recommended after upgrading to ensure correct configuration is applied

Factory reset can be performed by holding the WPS button for 10 seconds.



https://github.com/s-2/openwrt/commit/0c162e7e482ebc92c8c4f5661c62771555399fc8 As per the support page, the password is since this device has no ethernet port, wifi is enabled on boot using a PSK concatenated from SSID + 6-digit pin code printed on the label, e.g.: DSP-XXXXnnnnnn (X being the last two octets of MAC address)

You need to become the user homeassistant first. Then get into the env/space of homeassistant, change into the configuration directory. Due to the fact that HA (HomeAssistant) needs to connect to your DSP through ssh, you need to run in your console just once the command to send the off or on and save the rsa key. Then it will be stored and HA will be doing it normally. The commands below are doing what we said above.

 sudo -u homeassistant -H -s 
 cd .homeassistant 
 ssh root@192.168.xx.xx 'echo "1" > /sys/class/gpio/gpio:ac_output_enable/value' 

where 192.168.xx.xx is your own DSP-W215. Click on yes to save the rsa.

Then edit the conf file with your favorite editor (here we use nano)

  • nano configuration.yaml

And append the following, while changing 192.168.xx.xx to your DSP's IP address.

 - platform: command_line
        command_on: ssh root@192.168.xx.xx ' echo "1" > /sys/class/gpio/gpio:ac_output_enable/value && echo "255" > /sys/devices/platform/leds/leds/green:power/brightness'
        command_off: ssh root@192.168.xx.xx ' echo "0" > /sys/class/gpio/gpio:ac_output_enable/value && echo "0" > /sys/devices/platform/leds/leds/green:power/brightness'
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2023/02/09 17:14
  • by danitool