Hi
I try to use your automation but cannot do it working with iPhone.
I mean I receive notification:”Itinerary canceled your position has not been updated in18.5 minutes” but I can see on map it is updated.
Will you be so kind and give some advice ?
Tomasz
Hello Thomas, thanks for using my blueprint !
iOS isn’t reporting positions as much as Android and could trigger the timeout.
However, since you’re saying that you have set it to 18 minutes, this shouldn’t happen.
Could you please make a report ?
(You can leave the forms empty, I just need the trace file)
Hi @etiennec78,
thanks for your working!
I’m facing same problem of Tomas, I have an iPhone 16 Pro Max with high location accuracy and two minutes for entities update polling, i saw from location history that it updates frequently, every 4/5 seconds.
However when I’m coming home the exact moment when the gate opening should be triggered the itinerary is been canceled with “Itinerary canceled your position has not been updated in 5 minutes”.
I think i’m missing something or missconfigured something.
If you need i will send you a trace.
Thanks again!
Hello @xPudda !
Did you try to update to the dev branch ?
There are lots of fixes there, since the main branch hasn’t been updated for 6 months…
By the way, please reset your blueprint and fill it again after updating
I have just tried and doing little trip around my little town it worked at first try!
Will test it further tomorrow!
By the way i noticed you set the notification as critical, last days I want to make a feature request for this but you already thought about it.
Thanks again ![]()
I have been having a difficult time getting this to work. Once I enter my vehicle, I get the itinerary started message. When leaving my home, the gate opens!!! I have to manually close it obviously. When returning home, presumably once crossing over into my zone, I get a message saying itinerary canceled. No update in 2 minutes… Something to that effect. I believe I’ve followed the directions precisely. Only one user and one zone to contend with. Thank you for all your work on this. I’m sure it’s some silly mistake, but I just can’t crack it.
Hello ![]()
Thank you for using my blueprint !
Did you try updating to the dev branch to see if the issue was solved ? The main branch is 6 months behind… I really need to push it soon
And concerning your gate opening when you don’t want it to, does it open when you leave home, or does it open when you start driving ?
If it opens when you’re home, that’s the intended behavior (which you will be able to change in the next version)
And if it opens when you are far from home, then please check if it also happens in the dev branch and if so, please open an issue on GitHub
Thank you for the reply. I believe I just updated it to dev branch. I just copied the link for your dev branch yaml from github and imported the yaml into home assistant blueprints. Perhaps this will fix the issue. I’ll give it a shot in a bit.
It has been opening while I’m driving away from my house. If I have the car parked outside, when I’m about 100 meters away, it just starts opening. It seems to start opening once I transition out of my home zone into the surrounding trigger zone. I have to manually close it so that it’s not open while I’m away which seems to be the exact opposite of the intended purpose. lol. Thanks again.
Thank you!!! Dev branch fixed all issues! ![]()
Ohhh I see, it was starting an itinerary since you were starting your car outside of home.
I have added a condition to stop the script if you are outside of home but still in the eta zone.
Please import the dev branch again to get the update
Thank you again for the fantastic automation. In an effort to get this to work for my partner’s iPhone, I used a basic binary template utilizing the iPhone activity sensor. I’m sure there are others with far more advanced bayesian helpers, but this works sufficiently and may provide a starting point for others. The only caveat is that it will likely start the itinerary regardless of what car the iPhone happens to be in.
{{is_state(‘sensor.XXXXXX_activity’, ‘Automotive’ ) }}
The state also takes a short time to change status.
It might be nice to have an option to run a script or automation at the end of your automation as well… Something generic in addition to the automatic unlock option.
Hmm… Maybe the activity sensor alone is not enough. Gate just opened after leaving home about 3 miles away. Not ideal. ![]()
Hi, thanks for your feedback!
I had also thought of adding customizable actions, but in the end I couldn’t find any real use for them.
If you don’t mind me asking, what actions are you planning to add?
Concerning the bug from the dev branch where your gate opens from too far away, could you please update to the latest version ? I had pushed a fix but I think that you got the version just before
Sorry for the long delayed reply. The update fixed the issue previously described, but using iPhone activity as a trigger is still somewhat unreliable. I’m not quite savvy enough to come up with a better trigger.
I have noticed that the delay function does not work for me. The gate closes immediately once I disconnect from android auto regardless.
With respect to adding an option for a post completion script, I could imagine quite a few possibilities. For my use case, I would want to be able to trigger lights along a pathway to illuminate for a short time or possibly until my entry door opens and closes depending on time of day. Internal lighting effects might be part of that equation too. This can all be done with a separate automation, but having an open slot to link/trigger a personal automation would be a welcome option I would imagine.
Lastly, thank you again. Great work ![]()
Hi Etienne.
My respect for the idea.
I want to say the same about the functionality itself, but unfortunately, I can’t add the blueprint…
I’m getting a “ The provided URL is invalid.” error whenever I want to import it.
Any advice?
Hello @helofrends !
I’m glad to see that your issue was fixed !
Someone else also reported that the iOS automotive sensor wasn’t really reliable… We couldn’t find a real solution with current iOS sensors, so he used a switch to manually trigger the automation before driving.
If you want to add custom automations when you arrive home, I think that you should rely on the input_text itinerary sensor you have set :
- When you are exiting your home, it is set to “leaving”, then it comes back to “none” when you close your gate behind you.
- When you are arriving in your ETA zone, it is set to “arriving”, then “on_approach” when your gate starts opening, and “none” again after you park your car.
For example, you could use the following trigger :
- trigger: state
entity_id:
- input_text.user0_itinerary
to: on_approach
This way, nothing will block the execution of the main blueprint, and you’ll be able to customize anything you want.
Don’t hesitate to reply if this solution doesn’t suit you, I’ll be happy to help
Hello @eac !
This issue is quite old and needs to be adressed…
However for now you can manually import my blueprint by pasting this link :
https://github.com/etiennec78/Home-Automation/blob/5241844d83c38ca252151cd0761ad37e5dd08340/Automatic%20Gate/automatic-gate.yaml into Settings > Automations & Scenes > Blueprints > Import blueprint
Hello,
And it’s surely possible to run an iOS shortcut to change this switch when CarPlay is launched ![]()
I saw that there is such trigger in Shortcuts App.
Good idea ! Let me know if your manage to make it work, so I can add it to the readme