Skip to Content
🚀 We just launched! Please star us on Github!

Lock Device

Device Category: lock

The Lock device represents an electronic or smart locking system, providing control and monitoring of access points such as doors or gates.


Required Channels

These channels are mandatory for the functionality of the lock:

ChannelDescriptionMultipleDetails
lockManages the locked/unlocked state of physical locks for doors, safes, or other secure areas.NoSee details
device_informationProvides metadata about the device, including manufacturer details, model information, and operational statuses.NoSee details

Optional Channels

These channels are optional and provide additional features:

ChannelDescriptionMultipleDetails
batteryReports the status of a device’s battery, including level, charging state, and operational health.NoSee details
contactTracks the open or closed state of a contact point, such as a door, window, or cabinet.NoSee details
motionDetects motion in an area to trigger alerts or automate responses.NoSee details

Use Case Scenarios

  1. Access Control:

    • Lock and unlock doors remotely using the lock channel. Track lock state for security auditing.
  2. Security Monitoring:

    • Monitor door contact state and detect motion for enhanced security.
  3. Battery Management:

    • Track battery level for battery-powered locks to ensure reliability.

Developer Notes

  1. The lock channel is required for lock/unlock functionality.
  2. Battery channel is important for wireless smart locks.
  3. Contact channel can detect if the door is actually closed.
Last updated on