{"id":21584842,"url":"https://github.com/kcsoft/lovelace-virtual-keys","last_synced_at":"2025-03-18T09:13:04.443Z","repository":{"id":262411994,"uuid":"887097506","full_name":"kcsoft/lovelace-virtual-keys","owner":"kcsoft","description":"Create login link for Home Assistant that you can share with guests","archived":false,"fork":false,"pushed_at":"2024-11-12T09:05:58.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T15:27:12.544Z","etag":null,"topics":["guest","hacs","home-assistant","virtual-keys"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kcsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T06:51:43.000Z","updated_at":"2024-11-12T09:05:22.000Z","dependencies_parsed_at":"2024-11-12T10:19:26.967Z","dependency_job_id":"acbcf67a-427e-4215-913e-f04e0d617c7c","html_url":"https://github.com/kcsoft/lovelace-virtual-keys","commit_stats":null,"previous_names":["kcsoft/lovelace-virtual-keys"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcsoft%2Flovelace-virtual-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcsoft%2Flovelace-virtual-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcsoft%2Flovelace-virtual-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcsoft%2Flovelace-virtual-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kcsoft","download_url":"https://codeload.github.com/kcsoft/lovelace-virtual-keys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244189830,"owners_count":20412991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["guest","hacs","home-assistant","virtual-keys"],"created_at":"2024-11-24T15:07:54.248Z","updated_at":"2025-03-18T09:13:04.245Z","avatar_url":"https://github.com/kcsoft.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lovelace Virtual Keys\n[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration)\n\nCreate login link for [Home Assistant](https://www.home-assistant.io/) that you can share with guests.\n\n![image](images/screenshot1.png)\n\n## Description\n\nLovelace Virtual Keys is a Home Assistant plugin that allows you to create login links that can be shared with guests. These links provide access to specific entities in Home Assistant for a limited time.\n\n## Installation\n\nBoth [Virtual Keys](https://github.com/kcsoft/virtual-keys) integration and the [Lovelace plugin](https://github.com/kcsoft/lovelace-virtual-keys) need to be installed.\n\n### HACS installation\n\nYou need to install [HACS](https://hacs.xyz/) first.\n\n1. Install the [Virtual Keys](https://github.com/kcsoft/virtual-keys) integration.\n\n2. Add \"Custom repositories\" to HACS, paste the URL of this repository and select \"Dashboard\"/\"Plugin\" as category.\n\n3. Go to HACS -\u003e Integrations, Explore and Download Repositories, search for \"lovelace virtual keys\" and install it.\n\n4. Add the following to `configuration.yaml`:\n\n```yaml\npanel_custom:\n  - name: virtual-keys-panel\n    require_admin: true\n    url_path: virtual-keys\n    sidebar_title: Virtual Keys\n    sidebar_icon: mdi:key-variant\n    module_url: /local/community/lovelace-virtual-keys/virtual-keys.js\n```\n\n6. Restart Home Assistant.\n\n## Use case\n\nI 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 front gate. The key is actually a link to my Home Assistant that can be opened in a browser.\n\nTo make this work, I need to make some additional steps (after installing Virtual Keys):\n\n1. Create a new user in Home Assistant, e.g., \"guest\".\n\n2. Create a new group, e.g., \"guests\", and add the user \"guest\" to it, and also the devices you want to give access to, e.g., \"cover.front_gate\". Instructions [here](https://developers.home-assistant.io/blog/2019/03/11/user-permissions/).\n\n3. Create a new View (tab) in the default Lovelace UI and add the entities you want to give access to, e.g., \"cover.front_gate\", set the visibility to only show to user \"guest\".\n\n4. Install [kiosk-mode](https://github.com/NemesisRE/kiosk-mode) and configure it to set \"kiosk\" mode for user \"guest\".\n\nThat's it, you can now create Virtual Keys and share the link.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkcsoft%2Flovelace-virtual-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkcsoft%2Flovelace-virtual-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkcsoft%2Flovelace-virtual-keys/lists"}