SoftwareTasker

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41536.21 In reply to 41536.18 
It should work with passwords. Let me just screen shot my config because you really don't need to do all this waking and screen on stuff.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
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
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
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.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
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

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
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
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
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?
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
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.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41536.28 In reply to 41536.26 
And if I output the request to a file it's completely empty.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Chris (CHRISSS)     
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.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
41536.30 
I'm getting a 401 from Tasker. Not sure how to fix that.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41536.31 In reply to 41536.30 
Try
http://user:pass@myurl

I don't have http but you might need to
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS      
41536.32 In reply to 41536.17 
3 quid!? :C

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41536.33 In reply to 41536.31 
That didn't make any difference. I can't work out if it's my web server or my phone that's the problem.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
41536.34 
I think it's the server that's the problem. I just logged into my Pi at home and tried wget. Same problem, 401.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  koswix     
41536.35 In reply to 41536.32 
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.
0/0
 Reply   Quote More 

 From:  milko  
 To:  koswix     
41536.36 In reply to 41536.32 
don't you do Opinion Rewards or whatever the survey's called? I make about 10p a day off that, soon adds up. 
milko
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
41536.37 In reply to 41536.32 
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 :(

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
41536.38 
What the f is Chrome doing differently to wget/Tasker? I can't get wget to connect to my server :(

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
41536.39 
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.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
41536.40 
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

Me
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  41–43

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats