sipb/sipb-door

Code ignores doors open for longer than a week

Opened this issue · 0 comments

The code in https://github.com/sipb/sipb-door/blob/master/script.js#L282 assumes that the door will never be open for longer than a week. While this will rarely happen empirically (it has never happened at all since the beginning of the log), it is good practice to secure all such edge cases.