#User UI dashboard selection
1 messages · Page 1 of 1 (latest)
Home Assistant does not have any real User Access Control built in other than User vs Admin. While I've not used this feature specifically, browser_mod appears to have some options that might fit what you're looking for.
There are other options available such as hiding the sidebar and header and changing the order/visibility of sidebar options per User.
As an example, my dad has the app on his phone. I ended up deleting one of the UI. I didn’t know he was using it. It would be hard to explain to him how to select a new UI. It would be nice as an admin. Just pick the UI that would work best for him. If I’m explaining that correctly or if I custom-made one just for him, I would like the ability to select it for him and not have to go and log in under his login.
Hey, thanks for looking into it
So, it did not work as I was expecting. It works if I specifically browse to http://10.10.10.2:8123, but when logging in it takes me to the default dashboard (not the one that I selected via browser_mod).
I've tried a couple of different settings and options and it does not seem to want to work the way I think would be best for your use...
I even tried using the Browser method instead of User method and it was bacsically the same experience.
Maybe if he's the only other user, you can set HA's default dashboard to the one he uses, but turn around and set yours to whatever you want.
Yeah, and I need it to work with the app on android
app and browser should be pretty much interchangeable. lemme see what it does on my phone. Maybe it's just being weird because on my laptop.
Change the default dashboard should change the users, default dashboard, and just make mine a different one
?
I think that’s what you were trying to say
Yeah. Then you wouldn't have to worry about trying to get his phone set accordingly.
I’ll give that a try tomorrow, but it would be nice if this was just an option where if you create a new user, you could just select the UI you want them to have
Four people that don’t wanna mess with it or kids
HA's default dashboard
That's not a thing.
Just tried on my tablet; did not work as I was hoping.
This is what I was referring to. The dashboard that is shown when first logging in and before its been set to something else.
Yes each user can pick a default. But you can't pick a "system" default that's not overview.
Err, well I guess you can edit the overview dashboard. (I thought it was fixed to autogenerated but I guess I misremembered)
He could still take control of the Overview and make his own. That's what I did here.
But, with the multiple users involved, this isn't exactly a fix.
You're right, I had that mixed up.
It will regenerate when creating a new dashboard (but let the UI handle it IIRC.)
It's changed since I last looked. This is how to get the autogenerated one back when adding a new dashboard.
DBR-it another thing to consider is the dashboard is a per user per device setting. So, for example, your Dad logs in and sets his dashboard, if he gets a new phone or logins in on another device, he'll have to pick the dashboard again.
The only other thing that I can think of is maybe configuring a default dashboard that can redirect based on the user. I'm not totally sure how to go about doing something like this. Theoretically, it could work with some inline JavaScript via a custom:button-card.
Ultimately, at least for now, the easiest thing is probably just going to be telling your users how to set their preferred dashboard (or doing it for them.)