Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
    • Browse by device type
    • Device capabilities
      • Common methods
      • Detection and alarms
        • Arming
        • Attention zone
        • People counting
        • Cry detection
        • Absence from post
        • Face recognition
        • Fall detection
        • Gesture call
        • Intrusion
        • Loitering
        • Minor detection
        • Person and vehicle mix
        • Motion detection
        • Video occlusion
        • Illegal parking
        • Person detection
        • Pet detection
        • PIR
        • License plate recognition
        • Vehicle guard
        • Siren
        • Voice SOS
        • Abnormal sound
        • Tripwire
        • Unoccupied detection
        • Vehicle
        • Door contact
        • Tamper
        • Gate accessory
          • detection.gate.closed (Gate closed)
          • detection.gate.leftOpen (Door left open too long)
          • detection.gate.opened (Gate opened)
          • detection.gate.alarmDuration (Read gate alarm duration)
          • detection.gate.alarmSetting (Read gate alarm settings)
          • detection.gate.alarmType (Read gate alarm type)
          • detection.gate.contactCheck (Read contact sensor check switch)
          • detection.gate.alarmDuration (Set gate alarm duration)
          • detection.gate.alarmSetting (Set gate alarm settings)
          • detection.gate.alarmType (Set gate alarm type)
          • detection.gate.contactCheck (Set contact sensor check switch)
        • Environment sensing
        • Target detection frame
      • Image
      • PTZ
      • Light
      • Recording
      • Audio
      • Media
      • Network
      • Power
      • Privacy
      • Call
      • Storage
      • System
      • Algorithm
      • Maintenance
      • Control
    • Events overview
    • Permission codes
    • Capability error codes
    • Alarm and capability messages
    • Capability FAQ
    • Legacy ability and push types
  • API reference
  • SDK and tools
  • Solutions
  • Platform and support
On this page
Scope
Reader notes
Index in this folder

Gate accessory

Gate accessory

Scope

Permission Config. Device scope.

Reader notes

Start with Using capabilities. Call device.capability.list before you use IDs on this page. See Permission codes and Capability errors.

Index in this folder

OperationID
Read gate alarm durationdetection.gate.alarmDuration
Set gate alarm durationdetection.gate.alarmDuration
Read gate alarm typedetection.gate.alarmType
Set gate alarm typedetection.gate.alarmType
Read contact sensor check switchdetection.gate.contactCheck
Set contact sensor check switchdetection.gate.contactCheck
Read gate alarm settingsdetection.gate.alarmSetting
Set gate alarm settingsdetection.gate.alarmSetting
Gate openeddetection.gate.opened
Gate closeddetection.gate.closed
Door left open too longdetection.gate.leftOpen