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
What it does
Reported fields
Example
Minimum permission

control.ir.studyFailed (IR learning failed)

control.ir.studyFailed: IR learning failed

control.ir.studyFailed · device scope · message query permission Alarm

What it does

Reported when IR learning fails. Usually follows Set IR learning switch. After subscribing to capabilityEvent. See Receive device messages, setMessageCallback, Event catalog, and Overview and common payload.

Reported fields

No extra fields. Platform fields are described in Overview and common payload.

Example

{
 "msgType": "control.ir.studyFailed",
 "deviceId": "TESTIPC000012345",
 "productId": "56WGTET2",
 "outputData": {},
 "time": 1673406989,
 "localTime": "20230111T111629",
 "alarmId": "116257862023505xxxx"
}

Minimum permission

The administrator does not need an extra permission on a device they bound. A shared device needs the alarm message permission. A bound sub-user does not. A sub-account needs Alarm. List and search filter out events you are not allowed to see. Infrared remote.

device.password.set (Change password)
control.ir.send (Get IR transmit property)