--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/aA2N4jNfsho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
> Set %TIME (the time in hour.minute format, e.g. 5.30) to a local variable (%mytime).
> Split that local variable with a decimal as the splitter.
> Check to see if %mytime1 (the hour) is greater than 17. If it is, turn on the light (it's 6pm or later).
> If it isn't check to see if %mytime1 is equal to 17. If it is, check to see if %mytime2 (the minute) is greater than 29 (it's 5:30pm-5:59pm). If it is, turn on the light.
I might be missing something but you should be able to do this without splitting. The %TIME is actually in decimal form so it can be used directly in maths. and every tasker action has a ' IF' option. So all you need as the first action in the task is ..
1. Stop ; If %TIME < 17.30
Now the light will come on if you connect any time from 17:30 till 23.59
> Now the light will come on if you connect any time from 17:30 till 23.59
Of course if you happen to lose your connection for a moment when at home and after 5:30 the light will come on. This is referred to as bouncing and there are a few debouncing posts on this forum. A search should find them if you need one.
> Now the light will come on if you connect any time from 17:30 till 23.59Of course if you happen to lose your connection for a moment when at home and after 5:30 the light will come on. This is referred to as bouncing and there are a few debouncing posts on this forum. A search should find them if you need one.
--
> I believe you could also use AutoLocation in combination with your %TIME action to set up a geofence around your house such that it triggers as you approach.... in that case, even if you were at home and your wifi was disconnected and reconnected the lights would come on since you weren't approaching your geofence.
>
This is true, however i found geofences to toggle falsely even more then a wifi connection. It could be different for others as i am in i fairly remote area..