-
Notifications
You must be signed in to change notification settings - Fork 591
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
Register another URL in Companion App to open itself via https://
URL
#4410
Comments
How do I do that? I tried logging out and in again on the companion app and no effect. |
Wait, do you mean it is fixed to https://my.home-assistant.io only? What if I have https://ha.abc.com? |
No we don't register for your own URL. |
Ok,
|
So, I tested
OK = opens in WhatsApp app Taken together it tells me telegram isn't the one blocking these URLs from the respective app, my logical conclusion is to point at the companion app, all permissions already given and I can see URLs 2 and 3 under If this is an existing feature, then this issue will be a bug report |
If this is to be a bug report then we need much more information like app version, device info, logs. What URL you are actually using. A my home assistant link is usually configured in a manner like you see on the HA website. |
I tested on another android, same issue: no URL leads to companion app (CA) and I don't think it can happen, here's why:
Perhaps can point out where if my understanding and deduction is incorrect? |
https://
URL
Alright, I got it figured out. We were talking about 2 very different things.
|
https://
URLhttps://
URL
The app needs to include the URLs it wants to register for to deep link (open app directly) in the manifest file, which is included when the app is built. So overriding your Home Assistant URL won't be possible. Deeplinks for HA, also for apps, are handled via my.home-assistant.io. If you need this we should add it there instead of making it Android specific. Going to close this as a duplicate of home-assistant/my.home-assistant.io#172.
The landing page won't work. A specific page like https://my.home-assistant.io/redirect/energy should open the app. |
I found and implemented a working solution on my own domain. HA can implement this for the community too. |
How do I go to a specific page of mine? https://my.home-assistant.io/redirect/lovelace results in 404 page not found |
The issue I linked to as duplicate is a request to allow arbitrary pages with my. Currently you can only use the predefined destinations. |
Is your feature request related to a problem? Please describe.
Yes, I cannot form any
https://...
URL link that will open my CA. https://my.home-assistant.io opens up in browser instead of companion app (CA). This is because the CA expects the URL to start withhomeassistant://...
which creates another problem because many apps/software do not renderhomeassistant://...
as a clickable linkDescribe the solution you'd like
I would like to have a
https://...
link that will open my companion app.An easier solution, but not within my control is to have add another registered URL in the CA e.g.
direct.home-assistant.io
, thus, when I click onhttps://direct.home-assistant.io/{where-the-user-wanna-go}
, it redirects tohomeassistant://navigate/{where-the-user-wanna-go}
Describe alternatives you've considered, if any
Update the form on https://my.home-assistant.io to accept
homeassistant://navigate/{where-the-user-wanna-go}
. Currently when I try to set my URL ashomeassistant://navigate/{where-the-user-wanna-go}
, it becomeshomeassistant://
Additional context
None
WORKING SOLUTION
Location: homeassistant://navigate/{where-the-user-wanna-go}
on Chrome, did not workThe text was updated successfully, but these errors were encountered: