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

Keep SIP websocket connection alive accross all HA pages #34

Open
nanosonde opened this issue Feb 28, 2022 · 1 comment
Open

Keep SIP websocket connection alive accross all HA pages #34

nanosonde opened this issue Feb 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@nanosonde
Copy link
Contributor

Hi!
Being not a web developer I wonder if it possible to load some JS module (defined under "resources") with every lovelace page?
I read something about service workers and the like. However, I am not sure if this would be the correct way to do it.

Basically I would like to have the SIP UA registered on all HA web pages.

@TECH7Fox TECH7Fox added the enhancement New feature or request label Mar 3, 2022
@TECH7Fox
Copy link
Owner

TECH7Fox commented Mar 8, 2022

Good idea, would be awesome to get a popup from a incoming call while in another page.

Maybe we could do this. As long as it is client side javascript it should be possible.
But it would need to get the card config or some other global config.

But I'm not gonna give this much priority myself, I'm trying to get everything solid and polished for release. Will try it later after release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants