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

Use Google Maps to navigate on smartphone [Feature Request] #229

Open
pbuergi opened this issue Jun 14, 2024 · 0 comments
Open

Use Google Maps to navigate on smartphone [Feature Request] #229

pbuergi opened this issue Jun 14, 2024 · 0 comments

Comments

@pbuergi
Copy link

pbuergi commented Jun 14, 2024

open Google Maps Navigation on smartphone:

- spec:
    name: navigate_to_location
    description: Starts navigation to a specified location via Google Maps on your phone.
    parameters:
      type: object
      properties:
        location:
          type: string
          description: The location to navigate to (e.g. address or place name)
      required:
      - location
  function:
    type: script
    sequence:
      - service: notify.mobile_app_<device id>
        data:
          message: "command_activity"
          data:
            intent_package_name: "com.google.android.apps.maps"
            intent_action: "android.intent.action.VIEW"
            intent_uri: "google.navigation:q={{ location }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant