> For the complete documentation index, see [llms.txt](https://cupnoodles.gitbook.io/open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cupnoodles.gitbook.io/open-api/report-state/device-status-changed.md).

# Device status changed

```
{
    "requestId": "16349988792583564403",
    "unionId": "fPLhRVC_10gI9yQwwn3swNz4XwBqqJ8m8OrrA86A",
    "topic": "devices-status-changed",
    "devices": [
        {
            "id": "M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaW5rLWNvbG9AyMRUUGAg0NTk2NTYwNRVoAA",
            "online": true
        }
    ]
}
```

| Params           | Type    | Value                  | Remarks                                                            |
| ---------------- | ------- | ---------------------- | ------------------------------------------------------------------ |
| requestId        | String  | 4180463424101195867    | Required. Random string as Id of each request for ease of tracing. |
| topic            | String  | devices-status-changed |                                                                    |
| devices → id     | String  |                        | Device ID                                                          |
| devices → online | Boolean | true / false           | Device status                                                      |
