BlueLinky icon

BlueLinky

Control Hyundai/Kia vehicles via the bluelinky library

Get Vehicle Status

AI-generated

Summary

Fetch current vehicle status from a BlueLinky-connected vehicle.

Inputs

  • vin — Optional VIN to target a specific vehicle. If empty, vehicle index will be used.
  • vehicleIndex — Index of the vehicle to use when VIN is not provided.

Output shape

array

Returns an array containing a single JSON object with the vehicle status data, or {message: 'No status returned'} if unavailable. The node first attempts parsed status, falling back to full status.

Examples

Example 1: Vehicle status retrieved by VIN

Provide a VIN string via the 'vin' parameter. If the VIN matches a registered vehicle, its status is returned; otherwise a 'Vehicle with VIN ... not found' error is thrown.

Example 2: Vehicle status retrieved by index

Leave 'vin' empty and set 'vehicleIndex' to a valid index (0 to N-1 where N is the number of vehicles). The vehicle at that index is used for the status request.

Discussion