• Stars
    star
    320
  • Rank 131,126 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An unofficial nodejs API wrapper for Hyundai bluelink and Kia UVO

bluelinky

An unofficial nodejs API wrapper for Hyundai BlueLink

npm Discord

Install

npm install bluelinky

Example

const BlueLinky = require('bluelinky');

const client = new BlueLinky({
  username: '[email protected]',
  password: 'hunter1',
  brand: 'hyundai',
  region: 'US',
  pin: '1234'
});

client.on('ready', async () => {
  const vehicle = client.getVehicle('5NMS55555555555555');
  try {
    const response = await vehicle.lock();
    console.log(response);
  } catch (err) {
    // log the error from the command invocation 
  }
});

client.on('error', async (err) => {
  // something went wrong with login
});

Debug locally

Ensure you have a config.json that matches the structure of the following, with your account details

{
  "username": "email",
  "password": "password",
  "pin": "pin",
  "brand": "kia" or "hyundai",
  "vin": "vin"
}

Run an install for all the dependencies, npm install

Now you can invoke the debug.ts script with npm run debug

Documentation

Checkout out the docs for more info.

Important information for login problems:

  • If you experience login problems, please logout from the app on your phone and login again. You might need to ' upgrade ' your account to a generic Kia/Hyundai account, or create a new password or PIN.
  • After you migrated your Bluelink account to a generic Hyundai account, or your UVO account to a generic Kia account, make sure that both accounts have the same credentials (userid and password) to avoid confusion in logging in.

EU specific options

EU has specific Bluelinky options :

  • language: The language to use when login into the system, it will also change the laguage of your mobile app. en by default.
  • stampMode: Advanced The kind of stamping mechanism to use (LOCAL | DISTANT). DISTANT by default. โš ๏ธ though LOCAL seems to work properly, it's in beta for now.
  • stampFile: Advanced The DISTANT stamp source to use. https://raw.githubusercontent.com/neoPix/bluelinky-stamps/master/${brand}-${appId}.v2.json by default.

Custom Stamps

In the EU region, stamps are used to sign every API queries. These stamps have a 1 week validity. Those stamps are using a tricky algorithm and cannot be replicated by Bluelinky and have to be generated by an external solution. An http call is performed to get the existing tokens. It is possible to specify an other path using the stampFile option. This path can be a local file prefixed by file:// or from any webserver.

By default the case is 24H, but it can but customized at will. A nice trick is to run you own stamp generator http server and querying it regularly (with low cache timeout) for fresh stamps.

The JSON file must respect this format

Supported Features

  • Lock
  • Unlock
  • Start (with climate control)
  • Stop
  • Status (full, parsed, cached)
  • odometer
  • location
  • startCharge
  • monthlyReport
  • tripInfo
  • EV: driveHistory
  • EV: getChargeTargets
  • EV: setChargeLimits

Supported Regions

| Regions

Show your support

Give a โญ๏ธ if this project helped you!

Warnings

Using Bluelinky may result in draining your 12V battery when refreshing from the car too often. Make sure you have read and understood the terms of use of your Kia or Hyundai account before using Bluelinky.

More Repositories

1

vercel.lol

vercel.lol - The Triangle Company, We sell triangles
TypeScript
171
star
2

overlayed

A modern, open-source, and free voice chat overlay for Discord
TypeScript
64
star
3

gitpilled

TypeScript
61
star
4

overlayed-electron

A Discord overlay that just worksโ„ข
TypeScript
49
star
5

turborepo-firebase-example

Turborepo + Firebase
TypeScript
42
star
6

oghunt

TypeScript
42
star
7

react-skinview3d

React component for rendering Minecraft skins
TypeScript
30
star
8

bt-hid-proxy

Proxy Bluetooth keyboard keystrokes to a hardwired raspberry pi
Python
25
star
9

rpc-discord

Cross-platform crate for interfacing with the Discord client locally via RPC
Rust
15
star
10

vite-plugin-caddy

โšก A vite plugin to enable automagic HTTPS for local development with caddy server
TypeScript
13
star
11

skinpreview3d.js

A Three.js powered Minecraft skin viewer.
JavaScript
11
star
12

vscode-extension-markdown

TypeScript
10
star
13

github-websocket-api

Reverse engineering the Github websocket API - alive.github.com
TypeScript
10
star
14

yarn-npm-pnpm

yarn && npm && pnpm && bun
8
star
15

skinpreview.js

A skin renderer for minecraft utilizing HTML5 canvas.
JavaScript
8
star
16

react-grid-select

React grid selection component
TypeScript
8
star
17

drone-mobile

An unofficial nodejs API wrapper for DroneMobile
TypeScript
8
star
18

discord-md

All the features of Discord flavored markdown
TypeScript
6
star
19

Hacksore

My personal site codebase as well as my github bio
TypeScript
6
star
20

dotfiles

my dotfiles
Lua
6
star
21

opx

This is a CLI meant to enhance the native 1Passwords native CLI (op) simplifying the developer experience.
Rust
5
star
22

srcds-agones

Source games and the power of kubernetes+agones?
Dockerfile
5
star
23

hyundai-kia-stamp

Call native bin JNI methods from hyundai/kia android app
Java
5
star
24

htmx.lol

htmx lol
HTML
5
star
25

teamshare

Screensharing via WebRTC
TypeScript
4
star
26

wash

wash your dicts
Python
4
star
27

firebase-bluelinky

A cloud function
JavaScript
4
star
28

node-red-flow

GitHub action to make a request to the Node Red Flows catalog to reindex the latest version
JavaScript
3
star
29

github-websocket-pipeline-api

Reverse engineering the Github websocket API - pipelines.actions.githubusercontent.com
TypeScript
3
star
30

test-github-graphql

Testing codegen for github graphql
TypeScript
2
star
31

ts-node-debug

use tsx to debug typescript
TypeScript
2
star
32

smol

scale to zero Minecraft server on aws
TypeScript
2
star
33

overwolf-react

React + Overwolf
JavaScript
2
star
34

typecheck-service

TypeScript
2
star
35

bluelinky-docker

Unofficial Hyundai Blue Link API (bluelinky)
JavaScript
2
star
36

FactionsPHP

A class to make getting faction json data a little easier
PHP
2
star
37

garage-plate-detection

JavaScript
2
star
38

TSL

Teamspeak lib - A Lua framework for making client plugins
Lua
2
star
39

uploadthing-proxy-worker

Proxy requests to uploadthing so you can have a custom domain
TypeScript
2
star
40

max-npm-package-deps

Max amount of packages that a single npm package can contain
TypeScript
2
star
41

important

๐Ÿ˜€ ๐Ÿ˜ƒ ๐Ÿ˜„ ๐Ÿ˜ ๐Ÿ˜† ๐Ÿ˜… ๐Ÿคฃ ๐Ÿ˜‚ ๐Ÿฅน ๐Ÿ™‚ ๐Ÿ™ƒ ๐Ÿ˜‰ ๐Ÿ˜Š ๐Ÿ˜‡ ๐Ÿฅฐ ๐Ÿ˜ ๐Ÿคฉ ๐Ÿ˜˜ ๐Ÿ˜— โ˜บ๏ธ ๐Ÿ˜š ๐Ÿ˜™ ๐Ÿฅฒ ๐Ÿ˜‹ ๐Ÿ˜› ๐Ÿ˜œ ๐Ÿคช ๐Ÿ˜ ๐Ÿค‘ ๐Ÿค— ๐Ÿซข ๐Ÿคญ ๐Ÿคซ ๐Ÿค” ๐Ÿซก ๐Ÿค ๐Ÿคจ ๐Ÿ˜๏ธ ๐Ÿ˜‘ ๐Ÿ˜ถ ๐Ÿ˜ ๐Ÿ˜’ ๐Ÿ™„ ๐Ÿ˜ฌ ๐Ÿคฅ ๐Ÿ˜Œ ๐Ÿ˜” ๐Ÿ˜ช ๐Ÿ˜ฎโ€๐Ÿ’จ ๐Ÿคค ๐Ÿ˜ด ๐Ÿ˜ท ๐Ÿค’ ๐Ÿค• ๐Ÿคข ๐Ÿคฎ ๐Ÿคง ๐Ÿซ  ๐Ÿฅต ๐Ÿฅถ ๐Ÿ˜ถโ€๐ŸŒซ๏ธ ๐Ÿซฅ ๐Ÿฅด ๐Ÿซจ ๐Ÿ˜ตโ€๐Ÿ’ซ ๐Ÿ˜ต ๐Ÿคฏ ๐Ÿค  ๐Ÿฅณ ๐Ÿฅธ ๐Ÿ˜Ž ๐Ÿค“ ๐Ÿง ๐Ÿซค ๐Ÿ˜• ๐Ÿ˜Ÿ ๐Ÿ™ โ˜น๏ธ ๐Ÿ˜ฎ ๐Ÿ˜ฏ ๐Ÿ˜ฒ ๐Ÿ˜ณ ๐Ÿซฃ ๐Ÿฅบ ๐Ÿ˜ฆ ๐Ÿ˜ง ๐Ÿ˜จ ๐Ÿ˜ฐ ๐Ÿ˜ฅ ๐Ÿ˜ข ๐Ÿ˜ญ ๐Ÿ˜ฑ ๐Ÿ˜– ๐Ÿ˜ฃ ๐Ÿ˜ž ๐Ÿ˜“ ๐Ÿ˜ฉ ๐Ÿ˜ซ ๐Ÿฅฑ ๐Ÿ˜ค ๐Ÿ˜ก ๐Ÿ˜  ๐Ÿคฌ ๐Ÿ˜ˆ ๐Ÿ‘ฟ ๐Ÿ’€ โ˜ ๏ธ ๐Ÿ’ฉ ๐Ÿคก ๐Ÿ‘น ๐Ÿ‘บ ๐Ÿ‘ป ๐Ÿ‘ฝ๏ธ
2
star
42

markdown-color-code-bug

github markdown color code bug when using hex colors
2
star
43

dewaifu

remove the anime girls from yt
TypeScript
1
star
44

demo-1pass-secret-files

JavaScript
1
star
45

overlayed-api

REST API for getting oauth tokens
JavaScript
1
star
46

dsg-wrapper

Wrap your dedicated game server binary/script to feed data into agones
Go
1
star
47

u2f

A collection of sites that support hardware U2F tokens
TypeScript
1
star
48

defpi

A silly defcon badge
JavaScript
1
star
49

turborepo-rollup-shared-lib

JavaScript
1
star
50

htm-next

next and HTMX living unironically in harmony
1
star
51

gitrekt

comingsoonโ„ข
Rust
1
star
52

ueye

React site that compares React/Vue/Angular
JavaScript
1
star
53

mfe-demo

testing mfe
JavaScript
1
star
54

Hacksore-cdk

yes
TypeScript
1
star
55

astro-tailwind-vendor-prefix-bug

Astro
1
star
56

turbo-import-src-named-exports

JavaScript
1
star
57

usb-switchy

Super fast keyboard/mouse switcher
C++
1
star
58

overlayed-rust

TypeScript
1
star
59

winidle

Run a command when windows is idle
Go
1
star
60

next-og-github-graphql

TypeScript
1
star
61

websocket-auth

TypeScript
1
star
62

must-star-action

JavaScript
1
star
63

hacksore-npm

My business card
JavaScript
1
star
64

react-ha-iframe

Running react in a Home Assistant lovelace card
JavaScript
1
star
65

chrome-set-cookie-py

Python
1
star
66

youcog

A chrome extension that allows you to open youtube videos in an incognito window
JavaScript
1
star
67

flatpak-tauri

How to convert tauri v1 AppImage and deb to flatpak
TypeScript
1
star
68

tauri-window-save-state-bug

TypeScript
1
star