I'm building a magic box. It will appear as a smallish 5" x 5" x 5" wooden cube with a hinged lid. There is no keyhole, just a power cord that comes out the back and a small red button. Under the lid is a small LED array that, when activated, can shine an 8x8 pixel image through the thin wood. When off, you only see the wood. It will be connected to WiFi, and can be accessed from the internet. The lid will be locked and can be unlocked in one of three different ways. When the countdown timer expires When a user with appropriate permissions logins in and unlocks it When the red button on the back is held down for 20 seconds solid (assuming that it's been enabled) (this would also cause an alert to flash on the display until it is reset) The display on the lid will show an unlock icon when it's been unlocked, otherwise a user can set images (basic emojis) or none. (heart/lock/unlock/key/etc) There are two roles a user can have: keyholder, and user. The keyholder has the following permissions: Set a timer (add/remove day/hour) View the remaining time Set an image Enable/Disable emergency button (red button on the back) Auto-lock on close (enable/disable) (basically leave it open, allow someone to place a key, then close and it locks) Allow User to set timer Allow User to view remaining time Leave notes between User/Keyholder View logs (lock/unlock times, if/when red button pressed) What else should the magic box do? Some ideas, but I need more. Stay unlocked, but send email if the lid is opened? Add time if the box is moved? A single red button press will unlock during a random 30 min window, but any other time adds 1 hour? Keyholder lockout? An unlock request takes 24 hours to process? Discuss!
Impressive! I'm assuming the keyholder can control the settings remotely - will this be done via some kind of app with a user interface?
Yep. It's WiFi attached, so I'll setup a website that can control it from anywhere. Still need to add the servo as a locking mechanism, but once that's done it can be remotely locked/unlocked from anywhere and I'll setup timers as well.