[App][Pro] ETA google maps

did you get clarity on that. real time travel data would be invaluable.

no, unfortunately.
To me real time traffic would be the only parameter that matters.

Great work @Ron_van_Gestel !

Can you add the distances in this app? I would like to use it to check if the car is charged enough.

hi @Ron_van_Gestel, thanks for a great app.

I found a textbug in (I only see the Dutch translation) AND-card, when you invert the card to check for ‘less than x minutes’ the text still says ‘groter dan x minuten’.

Hello everyone, I need your help. I would like to use homey and additional apps such as my Kalenmder Ical and the APP ETA google maps or a similar following:
at e.g.: 4 pm the app checks how long it will take me to get home based on the current traffic situation. The goal is to be home on time at 5 pm, so that homey sends me a push message, drive off now. has anyone ever realized something like this? please give me some tips! Thank you

Hi Stefan,
I don’t use google maps where I can avoid it. So just my idea:
You will probably at least need something like A Better Logic Libraryand a timer like Timer, Countdown… or Chronograph

  • Calculate the travel time, set a timer that will send you a message or whatever X minutes before start time

Unfortunately the traffic might change, so my next better idea would be:

  1. Calculate the travel time and the expected_minutes_to_start.
  2. If the expected_minutes_to_start are less than X, send a notification to start
  3. Else set a timer to half of the expected_minutes_to_start and start the process again at number 1.

I am not really familiar with calculating times and I do not know the format you will get the result from the ETA app. Probably you can check in the app or ask in the relevant topic.

I use the app HERE for this and that works great.

https://homey.app/nl-nl/app/nl.mennovanhout.here/HERE-Gratis-locatie-&-kaart-diensten/

when I leave work a whatsapp is sent to my wife with the expected arrival time :slight_smile:

1 Like

While migrating to my new HomeySHS, I found this app. The previous app I used “Google Maps (Gerard Nijboer)” seems not available anymore.

I re-used the API key, but the action card gives the same error, whatever address I try.

Love the idea of this app, but somehow I can’t get it to work.

I want to get a notification before I actually have to leave to work in case the travel time is longer than usual (in the below example I set it to 10 minutes to trigger an alert). My flow is set up like this:

WHEN the time is 07:30
AND Travel time from [home address] to [work address] greater than 10 minutes
THEN send ‘Check ETA work’ to [user x]

It does trigger a push notification without the ‘AND’ card, so what might I be doing wrong?

Why don’t you test the flow and show us the result of the AND card?
To make sense, the travel time must be around 10 minutes, without any traffic issues a bit shorter and with daily rush hour delays a bit or much longer.
If it is always shorter than 10 minutes at 07:30 h it is normal that you do not get a notification.
regards Dirk

This is my workflow (I adjusted the addresses for privacy). The travel time between Amsterdam and Rotterdam is longer than 10 minutes, so this should trigger a push notification every Sunday at 14:30, or am I wrong?

When I test the AND card, I get “Card evaluated to No”.

Hi @DJdR ,
According to the flow, you are right. When I check in google maps it takes a bit more than one hour in the best case to go from Amsterdam to Rotterdam. So you should get the notification.
But, if during the test the card evaluated to No, that means that at that time google means it should not longer than 10 minutes, or the App cannot retrieve the ETA.
So the flow is handled correctly only the resulöt of the AND card is dffrent from whant we both would expect.
Are you sure that the App and installed and configured properly, including the API key?
Unfortunately I don’t use the App. So can you ceck in an Advanced Flow which ETA is delivered in the equivalent THEN card?
Depending on the result you can ask the question, how to configure the App correctly, or why the result of the AND card is no. Hopefully @Ron_van_Gestel or anyone from the developer team then can help on this question.

Regards Dirk

Hmm, the API key might be the solution as I don’t think I entered it when installing this app. I will look into it and get back later!

update: problem solved by entering the API key

What version of Homey do you have; Self-Hosted or physical device? I still haven’t solved the problem; “ Invalid Token reistijd ”. I’m sure I entered the correct API key (it works in the Google Maps APP on my other Homey HP19)

Screenshot Homey-SHS

Screenshot when using this “ETA Google maps” APP on a Homey Pro HP19 :

I’m on Homey Pro (2023) v13.0.0. Still not sure if the actual travel time (including delays due to traffic) is being calculated, as I have yet to receive a first notification. It does trigger if I set the travel time lower than what is normally possible.

Why does it use English and Dutch at the same time?
“reistijd” is the only word in Dutch.

Example: I’ve switched Homey languages back and forth, and sometimes not everything got translated.
So, when a flow card expects “travel time”, but the tag / capability is still called “reistijd” (or the other way round), it will fail.
Maybe it’s not related, but your flow errors made me think of this.

I tried the same: Changed Language, reboot, tested. Reboot again, tested.
In Dutch i get the same error :
“Deze kaart is fout gegaan na 74ms. Een error tag is gegenereerd. Errortag=Invalid Token: reistijd”

I think we’re coming close. But i’m not the developper of this app. Maybe @Ron_van_Gestel has an idea?