user:pass@address.co.uk:80/ha/blah.php?status=alloff
Worked fine for me too.
I assume you're using a normal .htaccess type username/password setup?
Oops. Typed them wrong on here. It's the right way in Tasker. I'm pretty sure CivetWeb uses a .htaccess file but can't remember.
And if I output the request to a file it's completely empty.
I just downloaded a terminal emulator nns used wget. It says unauthorised with the user/pass there. Hmm.
I'm getting a 401 from Tasker. Not sure how to fix that.
That didn't make any difference. I can't work out if it's my web server or my phone that's the problem.
I think it's the server that's the problem. I just logged into my Pi at home and tried wget. Same problem, 401.
I either used some Google play store credits from various device purchases, Google opinion rewards, or it was on sale at some point.
Get it from Aptoide if you don't want to pay.
don't you do Opinion Rewards or whatever the survey's called? I make about 10p a day off that, soon adds up.
I just checked and I paid £1.99 but that was 3 years ago. I haven't actually used it for anything til now and I can't even get that to work :(
What the f is Chrome doing differently to wget/Tasker? I can't get wget to connect to my server :(
Riiiiiight. Think I /might/ be getting somewhere. I just managed to get it to work from my Pi using curl and the --digest option. What's the difference between basic and digest authentication? I'll see if I can get that working in Tasker now.
Yay yay yay. Tasker now runs a curl in a shell and no need to turn my screen on or do silly calls now :D
Yay, no screen on rubbish!
You could just have the Pi run a cronjob at the required time rather than relying on your phone.
That's true. I'm thinking it might be easier to change the times or switch it off when I want to if I do it on my phone. All working now though which is nice.
You two are just making stuff up now...