This object is in archive! 

HTTPS sensor with Tasker

Guest shared this question 8 years ago
Need Answer

I currently testing Home presence using tasker on my phone and the connection to my home wifi, this sets a HTTPS sensor to active (1) when wifi is connected (home) and not active (0) when the wifi is not connected (away). Im finding that is somewhat unreliable, about 30% of the time the HTTPS sensor wont show active when the phone reconnects to the wifi.


Is anyone else have the same issues?

Replies (7)

photo
1

I am also having similar problems using Tasker. With my Xperia Z3 I have a less t han 50% successrate. My doughters S4 works a little better, but I cannot tust the results. I will try som more this weekend. Maybe it needs a WAIT after wifi connect to ensure that internet is available (her mobile data is disabled)

photo
1

I use imperihome and make tasker trigger a virtual switch or metre on the Zipabox. The metre is handy if you have more than one occupant, this way the alarm is only armed when the metre reaches 3 (3 occupants) for example.

Also you could try a http instead of the https (remember hearing someone else say this helped). Also be sure to have a wait command if you arm your system on disconnect, or a confirmation button before arming, otherwise you may find if you loose WIFI you will be sitting in an armed house.

photo
1

have you tried to read the replay from taskers http call? does it say successful? and zipato still does not change? or is the reply negative?


anyway i hade similar problems before, so i made a loop until successful respons


Would be nice if the android app was able to interact with tasker, or that imperihome would add singel device support in the tasker plugin. Doubt that ever will hapen thou.


//nic

photo
1

Hi Niklas, I'd like to know how do you loop the action in tasker, I use also http get to change the state of a virtual switch when I arrive or leave home. Sometime I leave home speaking with somebody at the phone and the action in tasker is fired while I still use the line and the http command is not sent, I would like to loop it untill I get a succesfull response.

photo
photo
1

How can I use HTTP in place of HTTPS, HTTPS is the default when I set up the virtual sensor, I dont have the option to change it. Tasker is not reporting any errors when it sends the "HTTP Get" command. Is there a way with tasker that I can check that that the required value has been set? Again is working about 70% of the time.

I use two tasker scripts, one to set the sensor to "0" when Wifi is disconnected (I have mobile data enabled). The other to run when a wifi connection is established. The sensor is set to "1" if connected to my homewifi and "0" if connected to another wifi.

photo
1

Hi Stephen, not sure exactly how to check, you will have to look at the debug log or log activity section under settings and preferences. Have you tried using Imperihome? Instead of sending the https, create the virtual switch(which you have done) then create two scenes including only this switch, one for on and one for off. Then use Imperihome plugin in Tasker to trigger the switch.

photo
1

Have you checked if Tasker actually sends the request every time? I used to have problems with Tasker when Android was on standby... Tuning Tasker's settings I got it working, but only with a long delay.

photo
1

Guys, I also had all tries to get this to work. Currently Im testing the following:

1. i have a profile in tasker that is similar to Stephens - when connected to home wifi it changes the state of the virtual sensor to on and if not connected state to off. As we all know this is not 100% working all the time I have

2. a simple recurring task in tasker that checks every 5 minutes if Im actually connected to home wifi and if yes, changes the state of the vistual sensor to on (meaning Im home) and when not connected, sends a signal that im away. This way even if task 1 is failed, zipato no later than 5 minutes will receive a change of state of the virtual sensor.

Leave a Comment
 
Attach a file