Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:d-link:dsp-w215 [2023/02/06 09:08] – change table nickolasemptoh:d-link:dsp-w215 [2023/02/06 17:46] – Title nickolasemp
Line 1: Line 1:
-====== DSP-W215 ======+====== 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: 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:
-  * qca9531-bl3a: Qualcomm QCA9531 14 Chipset | 2x2 802.11n Wi-Fi SoC+  * EU version: qca9531-bl3a: Qualcomm QCA9531 14 Chipset | 2x2 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   * Winbond W9751G6KB-25: DRAM Chip DDR2 SDRAM 512M-Bit 32Mx16 1.8V 84-Pin WBGA
  
  
-^Brand ^Model ^ model  ^SoC ^FTP latest OEM firmware   ^Forum topic +^Brand ^Model ^model ^SoC ^FTP latest OEM firmware ^OEM page ^Forum topic  
-|D-Link|DSP-W215 |EU (B1|QCA9531 |http://ftp.dlink.de/dsp/dsp-w215/archive/driver_software/  | https://forum.openwrt.org/t/d-link-dsp-w215-smart-plug-openwrt-support/129502| +|D-Link|DSP-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-Link|DSP-W215 |US (A1) |AR93xx SoC| ftp://ftp2.dlink.com/PRODUCTS/DSP-W215/REVA/DSP-W215_REVA_FIRMWARE_v1.26B03.zip|https://forum.openwrt.org/t/d-link-dsp-w215-smart-plug-openwrt-support/129502+|D-Link|DSP-W215 |US A2/REVA|AR93xx SoC https://support.dlink.com/resource/products/DSP-W215/ | https://legacy.us.dlink.com/pages/product.aspx?id=cb184e7159e641208f6d8e328affb45b |:::
-|D-Link|DSP-W215 |AU (??) ||http://support.dlink.com.au/Download/download.aspx?product=DSP-W215 |https://forum.openwrt.org/t/d-link-dsp-w215-smart-plug-openwrt-support/129502|+|D-Link|DSP-W215 |AU A1/REVA|AR93xx 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.
  
-===== EU B1 version OpenWRT ===== 
  
 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-factory.bin
 +
 http://sebastianschaper.net/openwrt/openwrt-ath79-tiny-dlink_dsp-w215-b1-squashfs-sysupgrade.bin http://sebastianschaper.net/openwrt/openwrt-ath79-tiny-dlink_dsp-w215-b1-squashfs-sysupgrade.bin
  
- +==== Github support page for B1 version ====
-Github support page for B1 version:+
 https://github.com/s-2/openwrt/commit/0c162e7e482ebc92c8c4f5661c62771555399fc8 https://github.com/s-2/openwrt/commit/0c162e7e482ebc92c8c4f5661c62771555399fc8
 +
 +===== 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.
 +<code bash>
 + 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' 
 +</code>
 +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.
 +<code yaml>
 +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'
 +
 +</code>
 +
 +===== Tags =====
 +[[meta:tags|How to add tags]]
 +{{tag>8flash 64RAM WIP}}
  • Last modified: 2023/02/09 17:14
  • by danitool