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
        • Local media
          • storage.local.capacity (Read storage info)
          • storage.local.division (Read storage capacity breakdown)
          • storage.local.encrypted (Read SD card encryption)
          • storage.local.encrypted (Set SD card encryption property)
          • storage.local.format (Format SD card)
          • storage.local.abnormal (Storage card abnormal alarm)
          • storage.local.removed (Storage card removed alarm)
      • 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
What it does
Reported fields
Example
Minimum permission

storage.local.abnormal (Storage card abnormal alarm)

storage.local.abnormal: Storage card abnormal alarm

storage.local.abnormal · Device scope · Message query permission Alarm

What it does

Reported when the storage card is abnormal (multiple legacy paas_msg types map to the same msgType). After subscribing to capabilityEvent. See Receive device messages, setMessageCallback, Event catalog, and Overview and common payload.

Reported fields

Fields inside outputData. Platform fields: Overview and common payload.

NameDescriptionTypeRequiredValues
errorCodeDevice-side abnormal description (optional); outputData may be {} or omit this fieldtextnoDevice-specific string; differs from property item.storageAbnormal

Example

{
 "msgType": "storage.local.abnormal",
 "deviceId": "TESTIPC000012345",
 "productId": "56WGTET2",
 "outputData": {
 "errorCode": ""
 },
 "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 / search filters out events you lack permission for. Local media.

storage.local.format (Format SD card)
storage.local.removed (Storage card removed alarm)