Open alsak0de opened 3 years ago
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:
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.
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?
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
additinoal info here, I suppose:
Oh, nice find!
On Wed, 30 Sep 2020, 16:50 alsa-kode, notifications@github.com wrote:
additinoal info here, I suppose:
https://github.com/Cebeerre/VerisureEUAPI
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mountaindude/verisure-mqtt/issues/21#issuecomment-701441518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH3JDRUR3CZD6PVYHVGDOTSINAU7ANCNFSM4R636P3Q .
Hello and thanks for taking the time for this.
I'm not sure whether this is a new feature or something is wrong with my installation. Docker is running fine and publishing the 'Hellp mqtt' on my mqtt server but does not go any further. I suspect there's an authentication issue and this could probably because of Verisure might have different web services for different countries. I'm using credentials that work for Spanish site (https://customers.securitasdirect.es/es/login)