WebRTC
WebRTC copied to clipboard
Feature request: tap_action
Hi. Thank you first of all for this quick camera connection. For the integration in Lovelace I have the following request: Is it possible to provide the item "tap_action" - as with "picture-entity" - so that one can then navigate or save the current picture? E.G.:
tap_action:
action: navigate
navigation_path: /yaml-dashboard-2/cam_eg
Greetings, Eckart
Yes please, this is something I'm missing since it disables basic HassIO ui functionality.
https://github.com/junalmeida/homeassistant-webrtc-card
I see it on this version, it is not integrated here? two versions in parallel? THANKS
I'd love to have tap and hold actions supported, if not for the card itself, perhaps for the shortcuts. As of now, I have a volume shortcut that brings up an iframe pointing to the webui using the browser_mod.pop service, but browser_mod service calls open the popup on every registered browser. If I had the ability to use actions for the shortcut, I'd be able to use the fire-dom-event option, which only opens the popup in the current browser.
+1
Use case is showing multiple cameras on screen and wanting a single click to maximize the the feed to fullscreen. Using the built in fullscreen icon has two issues:
- Requires two taps (one to bring up icons, then to click)
- Doesn't work with different resolution RTSP streams. My tablet can't handle multiple 4k rtc streams, but can handle a single one, or multiple low res streams. When they are small, there's no need for high res anyway.
Ideally, I would have multiple low res rtsp cards on screen that when tapped would create a fullscreen single stream of the full resolution RTSP stream (which has a different url).
Check this card. It has a lot of functionality https://github.com/dermotduffy/frigate-hass-card
Wow - that card is incredible and has a lot of functionality. It does seem overkill for what I want, but perhaps that is the only option until this feature request gets prioritized...
Either way, thanks for the fast reply!
Check this card. It has a lot of functionality https://github.com/dermotduffy/frigate-hass-card
That's actually a very good card, but unfortunately it uses javascript to go to full screen, which is not supported on iOS. The full screen button in the WebRTC implementation does work, but cannot be triggered in the frigate card.
+1
The only way to use confirmation (https://www.home-assistant.io/dashboards/actions/#options-for-confirmation) with text is to use native tap_action (and double_tap_action as well as hold_action).
Therefore please implement the tap_action. I want to show a confirmation like "Do you want to start the 30 seconds recording?" before actually running the service: camera.record.
Is there any movement on this please? Would love to use browser_mod to popup a high res full-screen stream when I click the card
Looks like no one wants to implement this.
Looks like no one wants to implement this.
If anyone can point me in the right direction I would be happy to give it a go?
I've implemented tap_action support in the below PR if you can take a look please.
https://github.com/AlexxIT/WebRTC/pull/668