-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add navigation app link in status card #1273
Conversation
I don't think it makes sense to hardcode something like this. Waze is not ubiquitous enough. Maybe a better option is a customizable menu option there where you can provide a custom URL with location placeholder. btw you should only add English string. |
Thanks for your quick review. Ok, I can spend a little more time making it customizable 👍 |
Could you give me an idea how I could interpret a specific format in the attribute string so that I can replace it with latitude and longitude values 🤔 I should create custom user and server attributes like:
navigationAppLink should have a value like "https://www.waze.com/ul?ll=${position.latitude}%2C${position.longitude}" but I don't know how to handle the position.latitude and position.longitude in the string so that they are replaced with their value. |
Two attributes is probably enough. I recommend just The link can include placeholders. For example |
Ok, navigationAppLink and navigationAppTitle should be in server attributes or only for user attributes? |
They should be in |
Merged, thanks. |
Hello,
I often need to reach the position of my trackers but I prefer to use Waze.
Before, I had to open the link for Google Maps, copy latlon coordinates, open Waze manually and paste the coordinates.
With this query we add a "Waze" entry to the status card menu:
This will trigger the Waze app to open on the smartphone.
I have successfully tested this locally with an Android phone.