Notification Command Webview works not correct with path (title)

Hello,

i tried to activate my homeassitant app on my tablet and open the Kameras lovelance section.

the correct path is :

“/lovelace/kameras”

then i add it as title in the automation.

service: notify.mobile_app_firetvtablet
data:
  message: "command_webview"
  title: "/lovelace/kameras"

the app opens but only the HOME screen, not the kameras tab.

Any ideas ?

are you certain that is the path that shows up in a browser when you navigate to that view? I just tested myself and its working as expected

Yeah look at my screenshot

the screenshot is of an iOS device, what device are you seeing hte issue with? I just tested this on my Fire HD8 and it works as expected. Also what app version are you on?

i have a firetvHD tablet 10, with the newest Homeassistant app. 2022.1.1-full
But i have only FireOS 5.6.8.0

EDIT

Ok i restartet my Tablet, now it works.

but i have a question is it possible to start a stream direct? i mean open the webview and open my kamera widget?

yes for the path use entityId:<entity_id> replacing <entity_id> with the entity you wish to view. Then also make sure that Auto play videos is enabled in app configuraiton.

1 Like

Could someone add that helpful bit of information to the docs? Because it doesn’t mention being to view a specific entity_id on there.

Additionally Notification Commands | Home Assistant Companion Docs the links on the Webview docs are supposed to go to https://www.home-assistant.io/lovelace/dashboards-and-views/ which doesn’t exist.

1 Like

Here is the PR to capture all changes mentioned: Fix some broken links and mention opening more info panel by dshokouhi · Pull Request #671 · home-assistant/companion.home-assistant · GitHub

1 Like

okay that works, two questions.

  1. is it possible to open the kamera scream in Fullscreen? actually he opens it in a small window.
    when i fire the command
data:
  message: command_webview
  title: entityId:camera.kamera_frontdoor
  1. he reopens the app, and opens the stream. he closes the app and open it again. its possible to easy open the kamera without this behaviour?

  2. and gives a command to close the kamera ? and go back to home? or must i fire again a automation with the webview command of the lovelance card?

not unless the HA frontend supports that

same answer as above, you’ll need to use the command to trigger that to open again. Alternatively change your dashboard to include a live view picture entity card?

youll need to use commands as and when you need to, there is no command to close the camera.