New door locks, want to control with PIN via dashboard

I've tried searching, but haven't found this. I'm sure someone has run into this before. I just added a couple of new Zigbee door locks. They don't have a code on the door locks themselves, they're the Kwikset Conversion kits.

So I put them on my Hubitat dashboard because I want to see at a glance if they're locked before I go to bed. I would also like to be able to lock them from the dashboard, but I would prefer that a PIN is required to unlock them from the dashboard. When I tap them I just get a "Are you sure?" confirmation box.

I'd be ok with just creating a separate panel just for unlocking them and making that dashboard controlled with a PIN, but I want to be able to at least view their status from my main dashboard, which I don't want to have to PIN protect.

I thought about making a virtual button called "Lock all doors" that locks them when you push it. And I also could make a virtual switch for each door lock that is "ON" when "LOCKED" and "OFF" when Unlocked. Kind of a pain, but workable. EDIT: No this won't work. If you click on the virtual switch, it will change states even thought the door lock hasn't locked/unlocked.

But is there an easier/more elegant solution I'm missing?

Gonna sound crazy here and a little thinking out of the box but it would work.

You could make 10 virtual switches and then setup a rule that would lock/unlock the door if the switches are turned on/off in the correct order. Tedious but if you want it bad enough that would get you there.

1 Like

SharpTools has this functionality... I use it for disarming the alarm system.

2 Likes

I wanted this to be an option too, as I needed to give access to my cleaner. What I did was to create a virtual lock device and put it on it's own simple dashboard that I can provide via link to the cleaner. Then I just put a PIN on the dashboard itself. The virtual lock/unlock triggers a rule that does what I want, such as set mode, disarm, unlock door, etc. (By using a virtual lock instead of a virtual switch, you get the "are you sure" confirmation which helps to prevent accidental presses.) The added benefit of this is that I can set a timeframe for the cleaner and allow the virtual lock to only do those actions during that timeframe. And I also get an alert if they try to unlock outside of that timeframe. :slight_smile: I also have a string variable that I display on the dashboard to report an updated status to the user (such as "Home is locked... press to unlock," and "ALERT... access not permitted at this time... contact home owner" when unlock is attempted outside of the timeframe.)

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.