跳到主要内容

HMS Management

Event

Health Alert

Topic: thing/product/{gateway_sn}/events

Direction: up

Method: hms

Data:

ColumnNameTypeconstraintDescription
listHealth Alert Listarray{"size": 20, "item_type": struct}
»levelAlert Levelenum_int{"0":"Notification","1":"Reminder","2":"Warning"}
»moduleEvent Moduleenum_int{"0":"Flight Task","1":"Device Management","2":"Media","3":"HMS"}
»in_the_skyIn Flightenum_int{"0":"On Ground","1":"In Sky"}
»codeAlert Codetext{"length":"10240"}
»device_typeDevice TypetextFormat: {domain-type-subtype~~~~}
»imminentIs Immediateenum_int{"0":"No","1":"Yes"}Indicates whether the alert is immediate. For example, a high wind alert would automatically disappear when the wind decreases.
»argsParametersstruct
»»component_indexMessage Variableint{"length":"10240"}
»»sensor_indexMessage Variableint{"length":"10240"}

Example:

{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"list": [
{
"args": {
"component_index": 0,
"sensor_index": 0
},
"code": "0x16100083",
"device_type": "0-67-0",
"imminent": 1,
"in_the_sky": 0,
"level": 2,
"module": 3
}
]
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655,
"method": "hms"
}