1) Give a description of the problem
Working on a commute notification.
2) What is the expected behaviour?
The expected behavior is to have Alexa speak the estimated time of arrival.
3) What is happening/not happening?
The format for the time - addMinutes - not in the right format.
My piston uses Google’s DistranceMatrix to find the # of minutes for my commute.
It stores this # in the variable “Traffic”.
I take this number, let’s say it is 50 minutes (Variable = Traffic), and I want to add that # of minutes to the current time.
With that arrival estimate time, I want Alexa to speak "I’ll be home at 5:50pm)
The problem is I can’t get the time to display: 5:50pm.
Instead, it shows the following:
5:00 P.M. Tue, Oct 1 2019 @ 5:50:55 PM EDT
So it is taking the current time (5:00pm) and then displaying what the date/time will be in 50 minutes.
My expression:
$time(addminutes(Traffic))
Thanks in advance!