Skip to content

Lock Object (lock)

A 'lock' type object represents a physical or virtual mechanism designed to control access to a space or resource within the Netsocs ecosystem. This object not only monitors the current state of the lock (locked or unlocked) but also allows executing remote actions to change that state, ensuring security and facilitating permission management.

Main characteristics:

  • State control: Reports in real-time if the lock is locked, unlocked, or in an intermediate state (such as partial lock).
  • Remote action: Allows locking or unlocking the lock remotely through authorized commands.
  • Authentication: Records successful or failed access attempts, including methods used (physical key, PIN, fingerprint, etc.).
  • Event integration: Can trigger alarms, notifications, or automations for unauthorized attempts or operation failures.

Common use cases:

  • Smart door locks: Access control to homes, offices, or rooms.
  • Electronic padlocks: For cabinets, lockers, or access to restricted areas.
  • Vehicle locking systems: Remote locking/unlocking of cars or fleets.
  • Resource protection: Access control to critical or shared devices.

States

Possible states:

  • jammed → Jammed.
  • locked → Locked.
  • locking → Locking.
  • unlocked → Unlocked.
  • unlocking → Unlocking.
  • unknown → Unknown.

State Properties

Check integration manual for more details.

Iconography

Locked (locked)

Unlocked (unlocked)

Jammed (jammed)