The preamble series is >, >, >

[Doodle Internet of Things Footprint] Doodle cloud platform interface list — universal infrared remote control

First, the overall introduction of intelligent door lock:

Different from traditional mechanical locks, intelligent locks are more intelligent and simple in terms of user security, identification and management. Smart door locks use non-mechanical keys as user identification ID, such as fingerprint lock, iris recognition and so on. It can even remotely open the door directly through mobile APP or small program.

This paper introduces the related process and API of intelligent door lock development using cloud development platform. The docking type of intelligent door lock cloud development is mainly aimed at customer-built server to realize door lock related business, including but not limited to WeChat applet, Web system and H5 application.

Second, docking process

Before docking the door lock vertical category business, you need to register as a developer of Doodle Cloud Development Platform. For details, please refer to Doodle Cloud Development Platform – Quick Start.

Doodle smart door lock cloud development and docking process is shown in the figure below:

III. Applicable categories

IV. Interface log

Graffiti can provide in the current time, within 7 days of query interface call log, the developer can provide interface request parameters, the developer platform in the form of a work order submitted, graffiti staff will deal with as soon as possible, the repair order processing time, generally within two hours to respond, such as emergency problem, can through offline channels for project managers to accelerate the processing.

5. Password creation process

  1. Wi-Fi door lock processing process:

  1. ZigBee door lock processing process:

  • ZigBee door lock normal business process

    • The caller invokes the API to create the password
    • The Doodle Cloud Platform sends the password to the gateway
    • The gateway sends a code to the door lock
    • Door lock response password status: configuration successful
    • Gateway Escalation Password Status: Configure successfully
    • Doodle cloud platform storage updated password status: configuration successful
    • The caller polls for the password status until the password status is updated to: Configure Successfully/Configure Failed, and the polling outage time is 25s
  • ZigBee door lock exception business process

    • The caller calls the API to get the lock information
    • The caller calls the API to create the password (encrypted using LocalKey for the door lock)
    • The Doodle Cloud Platform sends the password to the gateway
    • The gateway sends a code to the door lock
    • Door lock unresponsive state
    • The gateway retries to send the password and retries 3 times to end
    • Gateway Escalation Password Status: Configuration failed
    • Doodle cloud platform storage update password status: configuration failed
    • The caller polls for the password status until the password status is updated to: Configure Successfully/Configure Failed, with a polling timeout of 25s

VI. Password encryption process

Seven, door lock API

  • Gets the temporary secret key for cryptography
  • Create a temporary password
  • Create a nameless temporary password
  • Synchronize the password
  • Gets temporary password information/list
  • Change/freeze/thaw/delete/temporary password
  • Get dynamic password
  • Gets the offline temporary password
  • Query door opening record
  • Device member management
  • Add/modify/delete device members
  • Query device member information
  • Query the list of member information based on the device ID
  • Assign door lock passwords to device members

VIII. API for door lock unlocking mode

  • Gets a list of unlocking methods that lock members are not/bound to
  • Lock unlock mode input/delete
  • Cancel entry to unlock all
  • Set the unlock mode as hijacked unlock
  • Door lock general ability to issue control
  • Door unlock mode input result push