Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alarms for upcoming arrivals #80

Open
barbeau opened this issue Jul 12, 2016 · 3 comments
Open

Support alarms for upcoming arrivals #80

barbeau opened this issue Jul 12, 2016 · 3 comments
Milestone

Comments

@barbeau
Copy link
Member

barbeau commented Jul 12, 2016

Summary:

User request:

I would like to setup an alarm. “Echo setup an alarm 10 minutes before the 249 bus arrives”. I think that’s a killer feature.

Steps to reproduce:

N/A

Expected behavior:

Allow the user to set a reminder to alert them when the bus is arriving

Observed behavior:

N/A

Device:

Amazon Echo

@barbeau barbeau added this to the v1.1 milestone Jul 12, 2016
@barbeau
Copy link
Member Author

barbeau commented Jul 12, 2016

This would also require understanding routeIds and headsigns, which are alphanumeric. Currently we only support understanding city names and stop numbers (numeric only).

@barbeau barbeau modified the milestones: v1.2, v1.1 Mar 8, 2017
@barbeau
Copy link
Member Author

barbeau commented Mar 20, 2017

We could support adding an alarm for a route similarly to how we're allowing route filters now, which is asking "Do you want to set an alarm for X?", and loop through current routes/arrivals to set the reminder.

@barbeau
Copy link
Member Author

barbeau commented Mar 20, 2017

From a quick search it still appears as though Alexa Skill Kit doesn't directly support the concept of skill-generated alarms.

We may be able to use the OBA register-alarm-for-arrival-and-departure-at-stop API for this:
http://developer.onebusaway.org/modules/onebusaway-application-modules/current/api/where/methods/register-alarm-for-arrival-and-departure-at-stop.html

This is what iOS is currently using, as native iOS doesn't provide a good reminder feature either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant