# Motor (https://logable.app/docs/reference/device-types/motor)

Electric motors for driving machinery.

## Metrics

| Field | Type | Required | Unit | Description |
| --- | --- | --- | --- | --- |
| rpm | number | Yes | rpm | Current rotation speed |
| power | number | Yes | kW | Current power consumption |
| temperature | number | Yes | °C | Motor temperature |
| status | string | No |  | Operational status |

## Configuration

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| motorType | ac, dc, servo, stepper | Yes | ac | Type of motor |
| maxPower | number | Yes |  | Maximum power rating in kW |
| ratedRpm | number | Yes |  | Rated rotation speed in rpm |
| temperatureUnit | celsius, fahrenheit | Yes | celsius | Temperature unit preference |
| minRpm | number | No |  | Minimum RPM threshold |
| maxRpm | number | No |  | Maximum RPM threshold |

## Example payload

```json
{
  "timestamp": "2026-07-01T10:00:00.000Z",
  "status": "online",
  "data": {
    "rpm": 1480,
    "power": 7.4,
    "temperature": 62.5,
    "status": "running"
  }
}
```

For HTTP and MQTT code samples, see https://logable.app/docs/reference/device-types/motor.