We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use the debug.ts from hacksore/bluelinky **Usefull info
OS: linux - Linux hoobs 5.15.84-sunxi #trunk SMP Mon Feb 20 20:01:08 EST 2023 armv7l GNU/Linux
OS:Darwin iMac-10596.localdomain 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64 x86_64 - ventura 13.6.5
Bluelinky Version v8.3.1
Region: US
Brand: hyundai
Additional context
debug bluelinky calls - I x'd out the sensitive data.
npm run debug [email protected] debug ts-node debug.ts
? What Region are you in? US ? Which brand are you using? hyundai { region: 'US', brand: 'hyundai' } Logging in...
**? What you wanna do? start GotError [ParseError]: Unexpected token < in JSON at position 0 in "https://api.telematics.hyundaiusa.com//ac/v2/rcs/rsc/start":
The request / response that are contrary to the W... at EventEmitter. (/Users/carlosorozco/bluelinky/node_modules/got/source/as-promise.js:65:26) at processTicksAndRejections (node:internal/process/task_queues:95:5) { host: 'api.telematics.hyundaiusa.com', hostname: 'api.telematics.hyundaiusa.com', method: 'POST', path: '//ac/v2/rcs/rsc/start', socketPath: undefined, protocol: 'https:', url: 'https://api.telematics.hyundaiusa.com//ac/v2/rcs/rsc/start', gotOptions: { path: '//ac/v2/rcs/rsc/start', protocol: 'https:', slashes: true, auth: null, host: 'api.telematics.hyundaiusa.com', port: null, hostname: 'api.telematics.hyundaiusa.com', hash: null, search: null, query: null, pathname: '//ac/v2/rcs/rsc/start', href: 'https://api.telematics.hyundaiusa.com//ac/v2/rcs/rsc/start', retry: { retries: [Function (anonymous)], methods: [Set], statusCodes: [Set], errorCodes: [Set] }, headers: { 'user-agent': 'okhttp/3.12.0', access_token: 'wdddddd', client_id: 'm66129Bb-em93-SPAHYN-bZ91-am4540zp19920', host: 'api.telematics.hyundaiusa.com', registrationid: 'H00004841122Vxxxxxxxxx7', gen: '2', username: 'xxxxxxxxxgmail.com', vin: 'xxxxxxx' 'appcloud-vin': 'xxxxxxx', language: '0', to: 'ISS', encryptflag: 'false', from: 'SPA', brandindicator: 'H', bluelinkservicepin: '0xxx', offset: '-4', accept: 'application/json', 'accept-encoding': 'gzip, deflate', 'content-type': 'application/json', 'content-length': 188 }, hooks: { beforeRequest: [], beforeRedirect: [], beforeRetry: [], afterResponse: [], beforeError: [], init: [] }, decompress: true, throwHttpErrors: false, followRedirect: true, stream: false, form: false, json: true, cache: false, useElectronNet: false, method: 'POST', body: '{"Ims":0,"airCtrl":0,"airTemp":{"unit":1,"value":"70"},"defrost":false,"heating1":0,"igniOnDuration":10,"seatHeaterVentInfo":null,"username":"[email protected]","vin":"Kxxxxxxx7"}', secureOptions: 4 }, statusCode: 200, statusMessage: 'OK' }**
The text was updated successfully, but these errors were encountered:
i fixed it by patching the vehicle code.
[email protected] debug ts-node debug.ts
? What Region are you in? CN ❯ US ? Which brand are you using? (Use arrow keys) ❯ hyundai What you wanna do? start start : "Vehicle started!"
? What you wanna do? (Use arrow keys) ❯ exit
Sorry, something went wrong.
american.vehicle.ts.zip
Can you possibly create a pull request with this fix ?
No branches or pull requests
remote start fails
use the debug.ts from hacksore/bluelinky
**Usefull info
OS: linux - Linux hoobs 5.15.84-sunxi #trunk SMP Mon Feb 20 20:01:08 EST 2023 armv7l GNU/Linux
OS:Darwin iMac-10596.localdomain 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64 x86_64 - ventura 13.6.5
Bluelinky Version v8.3.1
Region: US
Brand: hyundai
Additional context
debug bluelinky calls - I x'd out the sensitive data.
npm run debug
[email protected] debug
ts-node debug.ts
? What Region are you in? US
? Which brand are you using? hyundai
{ region: 'US', brand: 'hyundai' }
Logging in...
**? What you wanna do? start
GotError [ParseError]: Unexpected token < in JSON at position 0 in "https://api.telematics.hyundaiusa.com//ac/v2/rcs/rsc/start":
The request / response that are contrary to the W...
at EventEmitter. (/Users/carlosorozco/bluelinky/node_modules/got/source/as-promise.js:65:26)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
host: 'api.telematics.hyundaiusa.com',
hostname: 'api.telematics.hyundaiusa.com',
method: 'POST',
path: '//ac/v2/rcs/rsc/start',
socketPath: undefined,
protocol: 'https:',
url: 'https://api.telematics.hyundaiusa.com//ac/v2/rcs/rsc/start',
gotOptions: {
path: '//ac/v2/rcs/rsc/start',
protocol: 'https:',
slashes: true,
auth: null,
host: 'api.telematics.hyundaiusa.com',
port: null,
hostname: 'api.telematics.hyundaiusa.com',
hash: null,
search: null,
query: null,
pathname: '//ac/v2/rcs/rsc/start',
href: 'https://api.telematics.hyundaiusa.com//ac/v2/rcs/rsc/start',
retry: {
retries: [Function (anonymous)],
methods: [Set],
statusCodes: [Set],
errorCodes: [Set]
},
headers: {
'user-agent': 'okhttp/3.12.0',
access_token: 'wdddddd',
client_id: 'm66129Bb-em93-SPAHYN-bZ91-am4540zp19920',
host: 'api.telematics.hyundaiusa.com',
registrationid: 'H00004841122Vxxxxxxxxx7',
gen: '2',
username: 'xxxxxxxxxgmail.com',
vin: 'xxxxxxx'
'appcloud-vin': 'xxxxxxx',
language: '0',
to: 'ISS',
encryptflag: 'false',
from: 'SPA',
brandindicator: 'H',
bluelinkservicepin: '0xxx',
offset: '-4',
accept: 'application/json',
'accept-encoding': 'gzip, deflate',
'content-type': 'application/json',
'content-length': 188
},
hooks: {
beforeRequest: [],
beforeRedirect: [],
beforeRetry: [],
afterResponse: [],
beforeError: [],
init: []
},
decompress: true,
throwHttpErrors: false,
followRedirect: true,
stream: false,
form: false,
json: true,
cache: false,
useElectronNet: false,
method: 'POST',
body: '{"Ims":0,"airCtrl":0,"airTemp":{"unit":1,"value":"70"},"defrost":false,"heating1":0,"igniOnDuration":10,"seatHeaterVentInfo":null,"username":"[email protected]","vin":"Kxxxxxxx7"}',
secureOptions: 4
},
statusCode: 200,
statusMessage: 'OK'
}**
The text was updated successfully, but these errors were encountered: