Hi All! I’m very new to home assistant, so forgive me if this is a bit of an obvious answer for someone who knows their way around a bit, but I’m having trouble controlling my tablet’s active dashboard with the “command_webview” notification command.

For reference, I’m using “madface”'s suggestion from this link to handle the screen on/off behavior, and its working great, except for the fact that no matter what I use for the “command_webview” nested command: “/lovelace-flur” in the linked example, I cannot get the companion app to switch to any dashboard other than the default/main dashboard.

I’ve traced the issue to here, which implies a resolution can be found in the definition of “path”, (linked from the documentation for command_webview), but the link is dead as a doornail.

My assumption is that the “path” corresponds to “https://homeassistant.<mydomain>.com/<path>”, but that doesn’t seem to do the trick, and I’m at a loss for other things to try in the absense of a working “path” documentation link.

Hopefully someone here might be able to point me in the right direction? Any help is much appreciated!

  • StickyOP
    link
    English
    2
    edit-2
    1 year ago

    Thanks for the response, that confirms my assumption, seems like I was configuring it right, but the behavior is not as expected.

    • If HA is active/onscreen already, the command will do nothing.
    • If HA is idle/offscreen, the command will bring HA to the forefront, but not change pages. (This is the state it is in after the “turn_off” sends the launcher intent.)
    • If HA is off, the command will launch HA, and navgate to the correct page.

    Is this all that is to be expected? or should I be able to get to the desired dashboard, from any previous screen or application state?

    • @[email protected]
      link
      fedilink
      English
      11 year ago

      Nope, that doesn’t sound right.

      I just tried all of your use cases and it works for me every time, HA in the foreground, background, closed; the command changes to the HA app and the right page.

      One thing you should check: Android Settings, Apps, Special app access, Display over other apps, -> make sure home assistant is enabled here. If that doesn’t help I’m out of ideas and suggestions for the moment.