Skip to content

Commit

Permalink
Add use case
Browse files Browse the repository at this point in the history
  • Loading branch information
kcsoft committed Nov 1, 2022
1 parent 00477b9 commit 41b107a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,19 @@ panel_custom:
```
* restart Home Assistant
# Use case
I want to share a "virtual key" with my friends that is valid for a limited time and that they can use to access specific entities in Home Assistant like the fron gate. The key is actually a link to my Home Assistant that can be opened in a browser.
To make this work, I need to make some additional steps (after installing Virtual Keys):
* create a new user in Home Assistant eg. "guest"
* create a new group eg. "guests" and add the user "guest" to it, and also the devices you want to give access to, eg "cover.front_gate", instructions [here](https://developers.home-assistant.io/blog/2019/03/11/user-permissions/)
* create a new View (tab) in the default Lovelace UI and add the entities you want to give access to, eg. "cover.front_gate", set the visibility to only show to user "guest".
* install [kiosk-mode](https://github.com/NemesisRE/kiosk-mode) and configure it set "kiosk" mode for user "guest"
Ths is it, you can now create Virtual Keys and share the link.

0 comments on commit 41b107a

Please sign in to comment.