App: Locks and Contacts Manager

Making this app to replace a couple rules and some outdated apps. Control locks and monitor contacts.

Features:
--Manually control locks and view contacts status from app.
--View last active time stats and counts
--Use Contact sensor to Auto Lock locks after a delay Option. Cancelable and Retry
--Auto Lock a lock if left unlocked Option
--Auto Lock all Locks at a certain time of day Option.
--Auto Lock retry after 5sec if failed Option.
--Get push notifications of locks and contacts actions, per device, 3 Options.
--Monitor Lock and Contact Battery levels. Get low level notifications if selected.
--Never unlock any lock from App in any circumstance Option.
--Lock codes; set, delete, or retrieve codes. Ver1.1.0 and up. This part is BETA, I only have 1 lock type to test
Will entertain any reasonable new feature request.

To Install: Got to github link below. Copy all lines of code. On Hubitat go to Developers menu / Apps Code, Hit '+ Add App' Button, copy code in there. Hit save. Then go to Hubitat Apps menu, Hit '+ Add User App' button. Click on this App. Configure App and hit Done.

https://raw.githubusercontent.com/kampto/Hubitat/refs/heads/main/Apps/Locks%20and%20Contacts%20Manager

9 Likes

Ver 1.0.3, Added ability to select specific devices to get notifications from, if not all.

1 Like

New section in app. Lock Code Admin BETA. Not sure if this will work for all locks as I have only one real lock and a virtual lock to test with. Starting with App ver1.1.0

Features:
--Set Lock Codes
--Delete Codes
--Retrieve Codes

One weird thing that I haven't solved is that the Buttons are very finicky. Like they don't always work. I found that the bottom left corner of the button works best. Need to sort this out still. If the Confirmation message changes then the button worked.

If you already have the app you can easily update by going to Developers / Apps Code and opening the App's previous install, then Import. Save App.

Added a 3rd notifications option so more flexibility on what devices get what notifications. ver1.1.5, on github