this post was submitted on 03 Jul 2023
5 points (77.8% liked)

homeassistant

12053 readers
46 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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..com/", 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!

you are viewing a single comment's thread
view the rest of the comments
[–] hillbicks@feddit.de 1 points 1 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.