ptz0n/homebridge-verisure

Unable to find my token !

Closed this issue · 3 comments

Hi everybody, i can't find my token using npx, i get this error :

(node:5478) UnhandledPromiseRejectionWarning: Error: Request failed with status code 401
at createError (/home/pi/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/pi/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/home/pi/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

I use securitas direct, in France (it's the same than GB, Spain, etc.).
Some ideas to help me ?

ptz0n commented

Oh, yes. That's the issue; you should not use this plugin but rather https://github.com/ptz0n/homebridge-securitas-direct

As stated in the README, this plugin only supports Vbox installations.

Hi, ok, i'll try again the other plugin (last time it's not run). Thank you !