Giter Site home page Giter Site logo

Comments (6)

alsak0de avatar alsak0de commented on August 18, 2024

Update: I managed to capture a log failure and, yes, it is an authorisation issue. I suppose it is the country thing.
Verisure iphone and android work with that credentials, though. But, again, Spain version I presume.

Error 1: UNAUTHORIZEDAUT_00004Invalid username/password/authentication method combination

from verisure-mqtt.

mountaindude avatar mountaindude commented on August 18, 2024

Interesting.
I checked here and the current code works fine on my server - it has in facet been running without a single hickup for many, many months. I am almost a bit surprised myself 😆

Could very well be something around different servers being used in different countries that's causing your problems.
I guess you would need to sniff the traffic going from your browser when logging into the web service, or the traffic from your Android app. That way you could probably get the correct servers/IPs etc.
I've never done that myself, so I can't provide any good tips there, sorry.

from verisure-mqtt.

alsak0de avatar alsak0de commented on August 18, 2024

Thanks mdude.. I believe I managed to get the IP through a tcpdump.
How do I replace it? is the server used a parameter or is it hard coded somewhere along the code?

from verisure-mqtt.

mountaindude avatar mountaindude commented on August 18, 2024

Well.... My project here is really just a wrapper around another module that does all the taliking to Verisure servers (https://github.com/ptz0n/node-verisure). I also add some mqtt support.

The server names/IPs are embedded in the verisure module, I believe.
Looks like these lines set the server host names: https://github.com/ptz0n/node-verisure/blob/b51f58f8bd1bc140120741308e542c6cf61f4345/index.js#L6

from verisure-mqtt.

alsak0de avatar alsak0de commented on August 18, 2024

additinoal info here, I suppose:

https://github.com/Cebeerre/VerisureEUAPI

from verisure-mqtt.

mountaindude avatar mountaindude commented on August 18, 2024

from verisure-mqtt.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.