[RELEASE] Auto Lock

Stay warm!

1 Like

Smart house + no power = bad... :frowning:

Everything is on ups but I try to conserve power when it's out. The hubs ups runs for at least a week.

1 Like

O wow that is cool!

Can you send me the lock events? The format of the text is probably different than what is currently captured.

The day Lewis' UPS was delivered:

3 Likes

lol nah it's tiny. Not much bigger than the hub.

https://www.amazon.com/dp/B07WLD32RP/ref=as_sl_pc_tf_til?tag=lewisheidrick-20&linkCode=w00&linkId=60e89e2a171a3cd6f1daddbec31d7263&creativeASIN=B07WLD32RP

1 Like

That's what I figured. But I like my idea a lot better.

Sigh... Back on ups power.

It's a very unfortunate winter wonderland. As in we wonder when the heck this stuff's going to go away.

You mean from the events page like this screenshot?
I wanted to copy and paste on the computer for you but I can't login to the forum from my PC today for some reason.

Sorry for the potato formatting.

is that streetlight really that crooked?

No, it's just the angle that makes it look weird.

1 Like

Working on adding the device events.

} else if (evt.type == 'physical' && evt.descriptionText.endsWith('locked by thumb turn') && (notifyOnEvent == true) && eventNotificationDevices && settings.eventNotifications?.contains("1")) {sendEventNotification("Locked manually")}

1.1.35 released. Added additional locking and unlocking events.

2 Likes

1.1.36 released. I reworked event notifications to better handle all locks since drivers can format the event text differently depending on the manufacturer. You'll need to re-enable any notification options though.

4 Likes

Hey, Lewis, hope your winter wonderland has started to ebb and things are getting back to normal for you guys.

I had a couple incidents of my front door locking when it was open. Info below from one instance. I only have "Lock when contact closes" enabled.


Door events showing opened at 4:05 and still open at 4:13 when Auto Lock locked it.

Lemme take a look.

1 Like

Lock was scheduled to lock 10 minutes after the door closed event at 4:03. Added an unschedule to the contact open event handler to clear the scheduled event. Added some unschedules in other functions as well. I'll do some internal testing and post the code to hpm and github tomorrow.

1 Like