---
name: "SmartDeviceModel.offDpDataChange"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.0.0" }
---

## SmartDeviceModel.offDpDataChange

> [VERSION] @ray-js/panel-sdk >= 1.0.0

### Description

Unsubscribe from smart device DP change events

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `number` | Yes | Listener ID returned by onDpDataChange |

### Return Value

None


### Examples

#### Example

```typescript
// Register the listener first
const id = device.onDpDataChange((data) => {
  console.log('DP change:', data.dps);
});
// Unsubscribe when needed
device.offDpDataChange(id);
```
