An unoffcial nodejs API wrapper for Hyundai BlueLink
npm install bluelinky
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
});
Ensure you have a config.json
that matches the structure of the following, with your account details
{
"username": "email",
"password": "password",
"pin": "ping",
"vin": "vin"
}
Run an install for all the dependencies, npm install
Now you can invoke the debug.ts script with npm run debug
Checkout out the bluelinky-docs for more info.
- Lock
- Unlock
- Start (with climate control)
- Stop
- Status
| Regions
Give a ⭐️ if this project helped you!