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
      • Image
      • PTZ
      • Light
      • Recording
      • Audio
      • Media
      • Network
      • Power
      • Privacy
      • Call
      • Storage
      • System
      • Algorithm
      • Maintenance
      • Control
        • Infrared remote
          • control.ir.studyFailed (IR learning failed)
          • control.ir.send (Get IR transmit property)
          • control.ir.studyCode (Get learned IR code property)
          • control.ir.studyEnabled (Get IR learning switch property)
          • control.ir.send (Set IR transmit property)
          • control.ir.studyEnabled (Set IR learning switch property)
        • Outlet and switching
        • Travel motor
        • Lock actuator
    • 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

Control

Control

Scope

This domain covers external load control: infrared remote, outlet switching, travel motor, and lock actuator. It is unrelated to fill-light light.ir.

Sub-accounts need Config; shared devices need Config,config (per capability). property get/set coexists with device.service.invoke (e.g. lock actuator); some subdomains raise Alarm events (IR learn failure, outlet countdown, and so on)—use Receive device messages with capabilityEvent via setMessageCallback. Device scope: do not send channelId.

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

CapabilityDescription
Infrared remoteLearn and transmit codes; includes event pages
Outlet and switchingMulti-channel switch, countdown, timer
Travel motorCurtains / travel
Lock actuatorstatus/state, invoke, keys under control.lock.*; door contact: Door contact (3 leaves)