-
Notifications
You must be signed in to change notification settings - Fork 113
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
Device URLs not helpful when using the addon #257
Comments
... but that wouldn't work when it's NOT an addon (e.g. just another docker container, or a separate machine entirely). Given the choice between the two, I think as implemented may be a better default as it is at least behaving correct network wise (even if it's not that useful).
Yes, something like that is the real fix I suspect. This would be an issue with any addon and any use of device URL, might be something to take/discuss upstream. |
There is another option, a new configuration (as the RTMP URL template seem below): That would allow the user to set some kind of "browsable base URL". I would set as Although I still believe the integration is able to detect whether the Frigate is running under the addon (by comparing it to the known addon hostnames for example), and then automatically set the "browsable base URL" as |
Here is some extra information:
This should cover most cases, as with the default settings of the addon, it would work. Later improvements can be made:
|
I think the ingress will transfer any http parameter (I haven't confirmed) like Perhaps they can be handled in nginx itself? |
if it stays with the addon address, please add |
It seems to be possible to have URLs to specific contexts in Hass addons, see the go2rtc example: https:///api/hassio_ingress/gDSoAWDx1fTcipX0ive4x2xaXHOGlB4COSf-ebdB0PA/webrtc.html?src=camera.rua |
I found another "official" example, the AdGuard integration, which when configured with the Adguard Home addon makes the device url open the addon page in the HA ingress: |
anyway to get this into frigate? messed around with the frigate & addon nginx options couldn't get it working. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Would it be possible to reopen this issue? It's still an issue and maybe someday someone works on it. |
Version of the custom_component
v2.3
Configuration
Describe the bug
The newly added Device URLs aren't helpful when the Frigate server is an addon. See:
chrome_N4jyCmKhwx.mp4
IMO: Taking the HA internal URL + the right port is better than using the configured Frigate URL (which will never be accessible from a browser).
Ideally, the HA ingress should allow custom paths instead of only the /dashboard home. That would be better to redirect to, as it would work both internally and externally.
Debug log
N/A
The text was updated successfully, but these errors were encountered: