Ipower Switch Classic 16 http request not working

IEC - Figure 8 - Cloverleaf - UK, US and Euro plugs - Mains Adapters
4 posts Page 1 of 1
jagger85
New member
Posts: 2
Joined: Mon May 06, 2019 11:16 am
by jagger85 » Mon May 06, 2019 11:39 am
Hi there!
We recently have bought two of these units, and we are trying to simply switch on/off via http get request using wget tool as found here: https://www.lindy.co.uk/blog/2014/06/ipower-switch-control-with-a-script/#

I have changed the names of the power outputs so I asume that in p=A need to change to p='output name'

So my command looks like:
switch off power output "A"
wget --delete-after --auth-no-challenge 'http://admin:*******@192.168.0.103:80/?cmd=1&p=A&s=0'


Here is my output:
--2019-05-06 12:11:08-- http://admin:*password*@192.168.0.103/?cmd=1&p=A&s=0
Connecting to 192.168.0.103:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'index.html?cmd=1&p=A&s=0.tmp'

index.html?cmd=1&p= [ <=> ] 6.41K --.-KB/s in 0.09s

2019-05-06 12:11:08 (70.7 KB/s) - 'index.html?cmd=1&p=A&s=0.tmp' saved [6564]

Removing index.html?cmd=1&p=A&s=0.tmp.

Everything looks fine but the power output is not switching...... :(
Any idea were we can be wrong?
LINDY Guy
LINDY Staff
Posts: 171
Joined: Thu Oct 30, 2014 1:10 pm
by LINDY Guy » Tue May 07, 2019 9:05 am
Hi,

I've had a look at your code and I think it is because you have not selected a port.

P=A I believe should be P=A1 to select Port 1.

Guy
jagger85
New member
Posts: 2
Joined: Mon May 06, 2019 11:16 am
by jagger85 » Tue May 07, 2019 2:03 pm
I´ve tried in many diferent ways, also that one, without any response

here is some more product information:
Model No. 32658
Firmware Version s4.82-091012-1cb16s
LINDY Guy
LINDY Staff
Posts: 171
Joined: Thu Oct 30, 2014 1:10 pm
by LINDY Guy » Tue May 07, 2019 3:41 pm
Unfortunately this is the only issue I can see with the script, the scripts are quite only now so I'm afraid we do not have any additional information on this.

Sorry I can't be of more help.

Guy
4 posts Page 1 of 1