ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Username/password does not match any valid login #39

Closed ben4523 closed 6 years ago

ben4523 commented 6 years ago

hi when i configure your module i have this error message : Error: <response><status><errorGroup>UNAUTHORIZED</errorGroup><errorCode>AUT_00001</errorCode><errorMessage>Username/password does not match any valid login</errorMessage></status></response> at verisure.getToken.then (/usr/local/lib/node_modules/homebridge-verisure/lib/platform.js:81:72) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) but my email and password work in myverisure app. For myverisure app i use username and not email for connect. This plugin it's for verisure https://www.verisure.fr/ ? thanks

ptz0n commented 6 years ago

Thanks for submitting this issue and sorry for the late reply.

Interesting, this plugin should work with verisure.fr too, but I have not done any explicit tests. I suspect that it's a regional app that talks to a different host.

Can you please share a link to the app you are using to successfully login?

ptz0n commented 6 years ago

Is this the one? https://itunes.apple.com/fr/app/my-verisure/id385076046

ben4523 commented 6 years ago

Yes exact !

ptz0n commented 6 years ago

That app seem to be using a different set of API’s and therefore is not compatible, sorry.

If you have a VBox system, you should be able to use the following app along with this plugin.

https://itunes.apple.com/se/app/verisure/id423747572

ben4523 commented 6 years ago

you can give me the information api about this app ? i put in the plugin !

ptz0n commented 6 years ago

The API’s are not public. You need to use something like Wireshark or Charles Proxy to view the HTTPS requests being sent from the app.

ptz0n commented 6 years ago

Closing as the client mentioned seem to be using a totally different API. I'm happy to review a PR enable use of this API.

ptz0n commented 4 years ago

@ben4523 Some progress is finally being made. Please head over here to help out: https://github.com/ptz0n/node-verisure/pull/41