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

Mini Card (Feature Request) #101

Open
efaden opened this issue Apr 30, 2023 · 2 comments
Open

Mini Card (Feature Request) #101

efaden opened this issue Apr 30, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@efaden
Copy link

efaden commented Apr 30, 2023

So like many people I am trying use this to replicate an intercom in my house. I have a bunch of tablets throughout my house that have a regular display with a bunch of buttons. The sip card is nice, but too large to put onto my main tab, but when on a separate tab it doesn't always load/register. I have tried using browser-mod, etc, but nothing really works correctly. So my thought is to make the main rendering a mushroom chip style card or something along those lines. Since the card itself would be loading it would be possible to load jssip and register with asterisk. When you click on button popup a browser-mod style popup (ha-dialog) that has the current stuff in it (call buttons, etc).

Thoughts on this idea? I forked the project to start playing around with as I have time, but I am curious what others think about this idea.

@efaden
Copy link
Author

efaden commented Apr 30, 2023

Look at: https://github.com/thomasloven/hass-browser_mod/blob/master/js/plugin/popups.ts

for an example of ha-dialog in use.

@efaden
Copy link
Author

efaden commented Apr 30, 2023

Alternatively could do something like kiosk mode and "inject" the code into the header. That way you could load the client regardless of the page. Think of it this way, the settings would be done on the dashboard level itself.

sip:
  enabled: true
  extension: 200
  name: My NAme
  secret: My Secret

kiosk_mode:

views: 
  ....

Think about automatically inserting the button into the header on the far right or something with a telephone icon. When clicked on would popup the current card. Since it is loading in the header though should be able to stay registered.

@TECH7Fox TECH7Fox added the enhancement New feature or request label May 2, 2023
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