interface DeviceInfoBase {
    bucket: {
        id: string;
        name: string;
    };
    created_at: Date;
    id: string;
    last_input: Date;
    payload_decoder: string;
    profile: string;
    rpm: {
        data_input?: number;
        data_output?: number;
    };
    updated_at: Date;
}

Properties

bucket: {
    id: string;
    name: string;
}

Bucket storing the device's data.

Type declaration

  • id: string
  • name: string

Deprecated

created_at: Date

Date for the device's creation.

id: string

Device ID.

last_input: Date

Date for the device's last input.

payload_decoder: string

Payload parser.

Encoded string when enabled, null when not enabled.

profile: string

ID of the profile that owns the device.

rpm: {
    data_input?: number;
    data_output?: number;
}

Device-specific soft limits on RPM.

rpm is null when not set or when the profile doesn't have the add-on.

Type declaration

  • Optional data_input?: number
  • Optional data_output?: number
updated_at: Date

Date for the device's last update.