Skip to content

ottojo/entryManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Door Lock

Software

API

  • GET /api/validatePin Returns 1 if PIN is correct and not expired, otherwise returns 0
    • doorId Numeric ID of device, typically ESP Chip ID
    • pin Numeric PIN Code
  • GET /api/testForMasterPin Returns 1 if PIN is correct and does not have an expiration date, otherwise returns 0
    • doorId Numeric ID of device, typically ESP Chip ID
    • pin Numeric PIN Code
  • GET /api/revokePin Removes the supplied PIN from the database
    • doorId Numeric ID of device, typically ESP Chip ID
    • pin Numeric PIN Code
    • masterPin Numeric PIN Code without expiration date ("Master PIN")
  • GET /api/registerPin Registers PIN for door in the database
    • doorId Numeric ID of device, typically ESP Chip ID
    • pin Numeric PIN Code
    • OPTIONAL expireDate UNIX Timestamp of the expiration date for the pin. If not supplied, expireDate will be null

App

  • App is still in development
  • Supported Features:
    • Finding the ESP in the local network
    • Opening the door

Arduino

Hardware

ESP8266

The ESP8266 is used to connect the lock to the internet. I'm using an NodeMCU devboard because of the various GPIO, the integrated powersupply and because a shield to drive the solenoid is availiable.

Other Hardware

  • NodeMCU Motor Shield
    • Used to drive the solenoid as it requires far more current than a microcontroller could provide
  • Solenoid
    • Small "ZYE1-0530" type solenoid i got from Amazon, for application in a real house there are some availiable that can be directly mounted to the door.

About

IoT Door Lock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages