so…strange enough…it now suddenly works for me. Don’t ask me what I changed though!
I’m still having issues - tried using the legacy firmware option but no joy.
I have 9 of these smart plugs working and although they have been painful to setup initially (the D-Link app is horrible) they are proving to be very reliable. I’ve set the legacy mode on by default in all my switch definitions and ensured that all devices have the latest firmware.
Sad to hear some of you guys are having problems with the pyW215 library. If anyone can provide more debugging information about your problem please create an issue on the project page (https://github.com/LinuxChristian/pyW215) and we can try to fix it.
However in my opinion both the plug and the firmware is quite broke. I have also had problems with my plugs (they stop working despite having a good wifi connection) and by reading the amazon reviews I can see I am not the only one with problems.
So Amazon has added native support for D-link plugs, so that at least partially solves the problem until I can replace them all with WeMo ones that actually work reliably. I wish I knew what exactly Amazon did to give Alexa reliable support for them.
Does anybody have a solution for the problems with the switch.
I have run with this in about a year without any problems. I just moved to hassio, and now I can’t connect to the switch. It works fine in the app, but hass can’t connect.
I tried booting the old hass to see if it was the deps there maybe had been updated. But the version could not connect either.
The funny thing is. If I pull the plug and put it back in hass can connect to it again. To I think hass is rebooted again.
i dont have an issue with the dlink switch. i am using the following code:
- platform: dlink
name: Kaffeemaschine
host: 192.168.1.17
username: Admin
password: !secret dlink_password
where:
host = ip address of your dlink switch in your network
password = PIN on the back of your dlink switch.
username is always Admin, as far as I know. You can check successful login by manually navigating to your dlink switch’ ip address and entering username and password (PIN).
the official component description also contains an error:
the host ip must not have http:// in front of it.
Any idea on how to get this working for DSP-W115?
I can manually login by using username ‘Admin’ and the PIN as password and I can see the following info
Firmware Version: 1.01-b04
Date: Apr 10, 2018
Checksum: 0x11A42B08
2.4GHz regulation domain: EU
1,2,3,4,5,6,7,8,9,10,11,12,13
2.4GHz SSID: DSP-W115-B376
LAN MAC: !secret-MAC-Address
2.4GHz WLAN MAC: !secret-MAC-Address
The switch shows up in my panel but it doesn’t do anything.
I have this exact same problem gurbina93 , its just grayed out.
not sure if its a port issue or simply not support but it does find the entity device.
How did you managed to connect so many dlink plugs? i have 2 dlink DSP-w215 plugs and i cant seem to connect both. I can only choose to connect HA to either one of them.
you need to use this code, twice in your config yaml
-platform: dlink
name: plug1
host: 192.168.1.x
username: Admin
password: pwd
suggest to use fixed IP (setup DHCP binding for the MACs in your router)
2 of these plugs are working for me fine, but w/o power consuption, which is available in the d-link app.
any idea how to get that datea to HA?