Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple PIN codes #67

Open
kalhimeo opened this issue Dec 5, 2021 · 2 comments
Open

Multiple PIN codes #67

kalhimeo opened this issue Dec 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@kalhimeo
Copy link

kalhimeo commented Dec 5, 2021

Is your feature request related to a problem? Please describe.
Not related to a problem, just that at the moment we can only specify one unique pin code per card

Describe the solution you'd like
Change the code section to make it a list of strings instead of just a string

Describe alternatives you've considered
N.A.

Additional context
When multiple users are using the wall tablet, it's nice that that everyone can have his own PIN code (ie. to disable the alarm system).

Thank you very much for considering the feature request :-)

@Fusseldieb
Copy link

Fusseldieb commented Nov 8, 2023

A workaround is to create conditional entities based on the logged user.

Let's say you have three users. Create a card with three alarm entities (the same one three times). Then, using the YAML code editor, conditionally show only the one for the logged user. Do that for all three. Done that, I think you can just assign a pin to each one and done.
As a "bonus" you'll see that just the right pin for the right user works, as with an array all codes would be valid for all users (which increases the "risk*").

* Protecting something in the frontend isn't really a protection anyways. Someone with a little experience with JS can click right through, regardless of which pin you set.

@ildar170975 ildar170975 added the enhancement New feature or request label Jan 16, 2024
@kitty99hub
Copy link

kitty99hub commented Aug 24, 2024

Hi,
@Fusseldieb
However, this workaround does not necessarily lead to the desired solution!
If, for example, you want to record which person has entered a code on a wall tablet that accesses HA with a separate device login, this is not possible, because in this case, the individual people do not log in to the tablet with their personal login...
The workaround only works with personal devices such as a cell phone, but not on a wall tablet that is permanently logged in with the separate device login.
The desired multi-pin solution would be very helpful here.
I am also looking for a solution on how I can best integrate my Aqara U200 door lock into HA, but for various reasons I have not yet found the right one.
Multiple personal PINs would be great here :)
kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants
@Fusseldieb @kalhimeo @ildar170975 @kitty99hub and others