I'm having some trouble with what I thought would be simple! I just need a script for my router to connect to my home automation to power cycle some devices as required. It just needs to open a link in the form off the following;
http://192.168.20.11:3480/data_request? ... getValue=0
I've tried a few things like;
/tool fetch url="http://192.168.20.11:3480/data_request? ... ormat=json"
/tool fetch address=192.168.20.11 src-path=data_request?id=action&DeviceNum=113&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0 port=3480 mode=http
But keep getting various errors, mainly failed (6).
I don't need to keep the returned XML file, just as long as the GET request has gone through. I'm hoping to use the script in Netwatch Down.