Page 1 of 1

Ipower Switch Classic 16 http request not working

Posted: Mon May 06, 2019 11:39 am
by jagger85
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?

Re: Ipower Switch Classic 16 http request not working

Posted: Tue May 07, 2019 9:05 am
by LINDY Guy
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

Re: Ipower Switch Classic 16 http request not working

Posted: Tue May 07, 2019 2:03 pm
by jagger85
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

Re: Ipower Switch Classic 16 http request not working

Posted: Tue May 07, 2019 3:41 pm
by LINDY Guy
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