Add Traffic & Travel Time ability#101
Open
samsonadmasu wants to merge 5 commits intoopenhome-dev:devfrom
Open
Conversation
Contributor
🔀 Branch Merge CheckPR direction: ✅ Passed — |
Contributor
✅ Ability Validation Passed |
Contributor
🔍 Lint Results🔧 Auto-formattedSome files were automatically cleaned and formatted with
✅
|
Contributor
|
Kindly look at the validate_ability.py file in root directory of this repo again there are few changes so build your ability according to that. |
4a83153 to
6a8a046
Compare
Voice-powered traffic and travel time checker using Google Maps Routes API. Features: - Quick check: saved destination + live traffic - Custom route: origin + destination from voice with LLM address cleanup - Commute check: home↔work shortcut with time-of-day direction detection - Departure planner: reverse-calculate leave time for arrival target - Save locations: up to 20 named locations with voice confirmation - Traffic severity: clear/light/moderate/heavy/severe classifications - First-run onboarding: API key setup + home/work addresses - Routes API primary, Distance Matrix API fallback - LLM-based intent classification, address cleanup, natural voice responses - BYOK pattern (user provides their own Google Maps API key) See README.md for setup instructions.
1e7fafe to
d3621fc
Compare
Contributor
Author
|
I fixed the issue |
Contributor
|
Team will test and provide feedback accordingly. |
Contributor
Contributor
Author
|
can you check now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Voice-powered traffic and travel time checker using Google Maps Routes API.
Features:
See README.md for setup instructions.
What does this Ability do?
Voice-powered traffic and travel time checker. Ask for live traffic, travel times, commute updates, departure planning, and mid-trip progress all by voice using Google Maps APIs with automatic IP-based location detection.
Suggested Trigger Words
Type
External APIs
Testing
Checklist
community/my-ability-name/main.pyfollows SDK pattern (extendsMatchingCapability, hasregister_capability+call)README.mdincluded with description, suggested triggers, and setupresume_normal_flow()called on every exit pathprint()— usingeditor_logging_handlerredis,connection_manager,user_config)asyncio.sleep()orasyncio.create_task()— usingsession_tasksAnything else?
Supports 6 modes: quick check, custom route, commute, departure planner, mid-trip status, save location. Uses IP geolocation for automatic origin detection and session tracking for follow-up queries like "how much is left?". API key provided via GOOGLE_MAPS_API_KEY environment variable or voice setup on first use.