Tasker intent

Tried to get my phone to respond to zones or proximity sensor but can’t get it the way I want :frowning: . Have now been testing tasks for a while and it seems to work better on my zones. I have now tried to get intent according to the documentation but not successful. Does anyone have a little more information on how to do it. Can you make a new one, for example, trigger a boolean? And if so, how do you write this.

what do you mean the way you want it? by default you should see updates every 1-3 minutes and with high accuracy mode as fast as every 5 seconds. is that not fast enough?

you need to be more specific about which intent? you can literally create any intent for tasker. An intent is just a string of characters so important to know what you are actually trying to achieve

Sometimes it updates the position 1-3 min but often when I drive home it takes much longer (many times 10-12 minutes) and 9 cases out of 10 I don’t make it home before it registers this.

have tried to set a larger zone and greater distance with the proximity sensor and where I also tried to receive an SMS that would trigger High accuracy but even this does not work every time.

Thought I’d try having tasks to trigger this. Have tried redoing all the steps in location troubleshooting according to the documentation

I thought it would be faster to trigger a trigger or High accuracy directly in the mobile instead of sending to my server and then back to the mobile. So that’s what I’d like to do with intent

Settings > companion app > troubleshooting > location tracking

look to see whats causing those missed reports as we keep 48 hour history

That’s where I usually check today when we drove home it begged in the first zone on a radius of 2300 at 19:59 then it triggers to send an SMS to start high accuracy but this doesn’t arrive before I’m home. In the meantime, I get an update in the background 20:01 20:03 20:05 and then I’m home. so it works so far.
What I would like is to be able to set high accuracy when I drive into the large zone to be able to determine that I am on my way home (is a road drive even if you are not going home) and how far if lights should be turned on etc. Tried sending a notice to start high accuracy but it takes too long for this to arrive so I thought I’d see if you could trigger this directly on the mobile.
The idea is to start this ine in the zone for 10 min and then end it automatically.

I usually check this log and it is not often that it does not send anything due to poor accuracy and those times it is not correct at all. a few it has not been able to send due to something else.

have you tried the expanded zone option?

https://companion.home-assistant.io/docs/core/location#zones-constraint

make sure to speed up delivery of notifications using the critical format

https://companion.home-assistant.io/docs/notifications/critical-notifications#android

I make use of

command: turn_on
ttl: 0
importance: high

when I send the command, if I read correctly, that’s how it should say.

Have tried the expanded zone option and it works quite well, but unfortunately if I have it on the home zone, it is activated every time I am out and about, etc., so I end up in this out of my zone into it for higher accuracy.

My first thought was a larger zone where you must have been away longer for it to trigger higher accuracy and then you can use the proximity meter sensor to determine if you are on your way home.

If you can set that the higher accuracy should be for a certain time after it starts, then this option might work.

The thing that seems to fail is that I am a little too close from work (2500m) and home, so when I drive into this outer zone, the text message with the command always arrives, that’s where I thought about if intent could help me. Otherwise, I’ll have to think about it

what range did you set for the expanded zone? it shoudl only turn on when you enter the expanded zone and turn off when you enter the home zone or exit the expanded zone. Based on your description it does not sound like you configured a range.

can you share your high accuracy mode settings please?


It does exactly that start before the zone and turn off when I’m in the home zone start when I leave home and is active while I’m in the “outer” zone This makes it in high accuracy ofa when I’m out and about the neighbor etc.

I saw after reading the guide 52 times :slight_smile: that you can set it to 0 meters and then if I understand it correctly start high accuracy when I enter the zone, if this works I could use it and then send a command to close of it after a certain time if it does not do it itself.

tried using high accuracy inside zone but this setting seems to go back every so often and i need to activate if it is supposed to or is it some bug/setting?