bikerp / dsp-w215-hnap

Tool for reading data from D-Link DSP-W215 Smart Plug
MIT License
54 stars 23 forks source link

Can turn on but cannot turn off DSP-W110 #3

Closed laurence7 closed 8 years ago

laurence7 commented 8 years ago

I stumbled across this code from another site that referred to this Gitbug project. I have the presumably older DSP-W110 1.22 firmware. Using the code here while I can turn on a device attached to the Dlink it won't respond to turn off commands. I can't see any way to see what commands the device responds to since the /HNAP1 produces a message saying This XML file does not appear to have any style information associated with it. The document tree is shown below.

and there is no XML below.

Any ideas how to find out what the OFF command string might be?

Thanks

laurence7 commented 8 years ago

solved - got the wrong code to send to the device

biocross commented 4 years ago

@laurence7 Were you able to able get it to work? I'm trying the same thing, can you elaborate a little how did you manage to get this to work?

laurence7 commented 4 years ago

I did but that was 4 years ago and since then I have lost the code I did. Plus I moved away from that solution over 3 years ago when Amazon Alexa and Google Assistant supported the D-Link device natively.