Show pagesourceOld revisionsBacklinksBack to top × Table of Contents D-Link DSP-W215 Flashing the firmware Github support page for B1 version HomeAutomation Integration Tags 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 Brand Model model SoC FTP latest OEM firmware OEM page Forum topic D-LinkDSP-W215 EU B1/REVB QCA9531 http://ftp.dlink.de/dsp/dsp-w215/archive/driver_software/ https://eu.dlink.com/be/nl/products/dsp-w215-smart-plug https://forum.openwrt.org/t/d-link-dsp-w215-smart-plug-openwrt-support/129502 D-LinkDSP-W215 US A2/REVAAR93xx SoC ? https://support.dlink.com/resource/products/DSP-W215/ https://legacy.us.dlink.com/pages/product.aspx?id=cb184e7159e641208f6d8e328affb45b D-LinkDSP-W215 AU A1/REVAAR93xx SoC ? http://support.dlink.com.au/Download/download.aspx?product=DSP-W215 http://support.dlink.com.au/Download/download.aspx?product=DSP-W215&revision=REV_A&filetype=Manuals Flashing the firmware Download the firmware file (*factory.bin) and save it on your computer. Remove DSP-W215 from power socket. 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. Continue holding the WPS/reset button until the LED is flashing red. Connect to Wi-Fi network broadcasted by the DSP-W215 (the network name should start with DSP-xxxx) Open a Web Browser and go to http://192.168.0.60 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. http://sebastianschaper.net/openwrt/openwrt-ath79-tiny-dlink_dsp-w215-b1-squashfs-factory.bin http://sebastianschaper.net/openwrt/openwrt-ath79-tiny-dlink_dsp-w215-b1-squashfs-sysupgrade.bin Github support page for B1 version 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) HomeAutomation Integration 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 /srv/homeassistant/bin/activate 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. switch: - platform: command_line switches: dlink_powerplug: 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' Tags How to add tags ath79, 8Flash, 64RAM, 0port, 0usb, 1wnic, 802.11bgn, Mains powered, Wall plug, WIP 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.OKMore information about cookies ath79 8Flash 64RAM 0port 0usb 1wnic 802.11bgn Mains powered Wall plug WIP Last modified: 2023/02/09 12:14by danitool