Open Platform
Skip to content

Power switch API ​

1. Add and delete ​

The add and delete APIs of the power switch are the same as the lock. When passing parameters, the value of lockId should be the id of the power switch.

2. Query the power switch list ​

The list query API of the power switch is the same as the Get the lock list of an account API. When passing parameters, a new parameter type must be added.

  • type = 1 for lock list
  • type = 2 for elevator control list
  • type = 3 for power-taking switch list.

3. Remote power-off and power-on of the power switch ​

The remote power-off and power-on APIs of the power switch are the same as the remote unlock/lock APIs of the door lock.

Remote power-on API: Remote unlock | TTLock Open Platform Documentation

Remote power-off API: Remote lock | TTLock Open Platform Documentation

CopyRight © 2012-2026 TTLock.All Rights Reserved