Reply to All
Show messages
Messages
Inbox
Search
Login
1–10
11–20
21–30
31–40
41–43
Tasker
From: ANT_THOMAS
26 Feb 2016 06:47
To: Chris (CHRISSS)
22 of 43
41536.22
In reply to
41536.18
Screenshot wouldn't really show it.
In the server: port section you want it to be this format. No http etc
user:pass@address/location/index.php?status=alloff
Set timeout to 1
EDITED: 26 Feb 2016 06:47 by ANT_THOMAS
From: ANT_THOMAS
26 Feb 2016 07:27
To: Chris (CHRISSS)
23 of 43
41536.23
In reply to
41536.19
Yeah triggered by the Pi with a 433 MHz signal.
Controllable lights:
1 lightwave rf dimming switch in the bedroom
1 dimmable led strip in the bedroom behind the bed
1 bedside lamp on a remote socket
1 living room lamp on a remote socket
1 led strip behind the TV on a remote socket
I've got other things on remote sockets too and some spares in case I want to add more.
From: Chris (CHRISSS)
26 Feb 2016 07:37
To: ANT_THOMAS
24 of 43
41536.24
In reply to
41536.22
Heating didn't come on again this morning. Not sure why
:S
Just tried HTTP Get again and not working. I've copied the URL that works in Chrome and it does nothing. Could it be the two colons in the URL?
user@pass:blah.ddns.net:port/boiler/index.html?param=heatingon
From: ANT_THOMAS
26 Feb 2016 07:56
To: Chris (CHRISSS)
25 of 43
41536.25
In reply to
41536.24
It's user:pass@address not user@pass
Or the other option I've noticed I use is
user:pass@address in the server:port section
/folder/page.html?whatever=blah in the path section
Try that
From: ANT_THOMAS
26 Feb 2016 07:59
To: Chris (CHRISSS)
26 of 43
41536.26
In reply to
41536.24
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?
From: Chris (CHRISSS)
26 Feb 2016 08:11
To: ANT_THOMAS
27 of 43
41536.27
In reply to
41536.26
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.
From: Chris (CHRISSS)
26 Feb 2016 08:15
To: ANT_THOMAS
28 of 43
41536.28
In reply to
41536.26
And if I output the request to a file it's completely empty.
From: Chris (CHRISSS)
26 Feb 2016 08:22
To: Chris (CHRISSS)
29 of 43
41536.29
In reply to
41536.28
I just downloaded a terminal emulator nns used wget. It says unauthorised with the user/pass there. Hmm.
From: Chris (CHRISSS)
26 Feb 2016 10:15
To: ALL
30 of 43
41536.30
I'm getting a 401 from Tasker. Not sure how to fix that.
From: ANT_THOMAS
26 Feb 2016 10:25
To: Chris (CHRISSS)
31 of 43
41536.31
In reply to
41536.30
Try
http://user:pass@myurl
I don't have http but you might need to