SoftwareTasker

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  milko  
 To:  Chris (CHRISSS)     
41536.8 In reply to 41536.6 
Right but what you're doing here is avoiding using the simple timer function of your heating by some overcomplicated kludge phone thing involving two apps but at the root of it is your phone's clock, ie a simple timer... I say you pretty much are asking for a cold house!
milko
+1/1
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41536.9 In reply to 41536.2 
Possibly a better idea

Create a PHP file that has a PHP exec command in it to run a script that turns on the heating.

Tasker can run file/http open commands, point at that address.

You may even have the possibility to do that already with your web interface and tasker.

Just checked, it's the HTTP Get task.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41536.10 In reply to 41536.2 
So if you have something like this

http://ipaddress/homeautomation.php?command=turnonheating

You could use tasker to "open" that address.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  milko     
41536.11 In reply to 41536.8 
Haha. Yeah, I think that about sums it up perfectly :)

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41536.12 In reply to 41536.10 
Does that work with the screen off? If so that would definitely work.

My web server does that yeah, so http://ip.net/boiler/index.html?param=heatingon (or heatingon90 for 1.5hrs of heating (or heatingon13 if you're feeling unlucky))

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41536.13 In reply to 41536.12 
Yeah, screen off is fine. All in the background, you just need to set the trigger.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41536.14 In reply to 41536.13 
Excellent. I'll try that out later. Thanks :)

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41536.15 In reply to 41536.14 
I've got home screen widgets to run some tasker tasks. One being an "All Off" task that turns off all of my remotely controllable lights. Saves me delving into the webui
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS      
41536.16 In reply to 41536.1 
I looked for tasker in play store and there's lots of apps with same name. Which one is the real one? :/

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  ANT_THOMAS   
 To:  koswix     
41536.17 In reply to 41536.16 
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41536.18 In reply to 41536.13 
It doesn't seem to be working. I think it's because I have a password on the site. In Chrome I can add it to the URL but the HTTP get in Tasker doesn't seem to register it.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41536.19 In reply to 41536.15 
Handy. How many wireless devices do you have? And is your new relay just triggered straight from the Pi?

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
41536.20 
Slightly changed my task and it seems to be working.

Turn WiFi on
Wait 30 seconds
Wake device
Wait 3 seconds
Call 150
Wait 3 seconds
End call
Wait 3 seconds
Browse to URL and turn heating on for 90 minutes

Hopefully it will work in the morning and we'll have a nice warm house.

Me
0/0
 Reply   Quote More 

 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 

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