Skip to content

Commit

Permalink
[verisure] Fix broken cloud authentication (#17761)
Browse files Browse the repository at this point in the history
* Fix Verisure bridge cannot login (#17730)

Signed-off-by: Jan Gustafsson <[email protected]>
  • Loading branch information
jannegpriv authored and jlaur committed Nov 22, 2024
1 parent bef3a08 commit c3bf41f
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 134 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,22 @@ public class VerisureBindingConstants {
public static final String USERNAME = "username";
public static final String PASSWORD = "password";
public static final String BASE_URL = "https://mypages.verisure.com";
public static final String LOGON_SUF = BASE_URL + "/j_spring_security_check?locale=en_GB";
public static final String LOGON_SUF = BASE_URL + "/j_spring_security_check?locale=sv-SE";
public static final String ALARM_COMMAND = BASE_URL + "/remotecontrol/armstatechange.cmd";
public static final String SMARTLOCK_LOCK_COMMAND = BASE_URL + "/remotecontrol/lockunlock.cmd";
public static final String SMARTLOCK_SET_COMMAND = BASE_URL + "/overview/setdoorlock.cmd";
public static final String SMARTLOCK_AUTORELOCK_COMMAND = BASE_URL + "/settings/setautorelock.cmd";
public static final String SMARTLOCK_VOLUME_COMMAND = BASE_URL + "/settings/setvolume.cmd";

public static final String SMARTPLUG_COMMAND = BASE_URL + "/settings/smartplug/onoffplug.cmd";
public static final String START_REDIRECT = "/uk/start.html";
public static final String START_REDIRECT = "/se/start.html";
public static final String START_SUF = BASE_URL + START_REDIRECT;

// GraphQL constants
public static final String STATUS = BASE_URL + "/uk/status";
public static final String STATUS = BASE_URL + "/se/status";
public static final String EXTEND = BASE_URL + "/session/extend";
public static final String SETTINGS = BASE_URL + "/uk/settings.html?giid=";
public static final String LOGIN = BASE_URL + "/login.html";
public static final String SETTINGS = BASE_URL + "/se/settings.html?giid=";
public static final String SET_INSTALLATION = BASE_URL + "/setinstallation?giid=";
public static final String BASEURL_API = "https://m-api02.verisure.com";
public static final String START_GRAPHQL = "/graphql";
Expand Down
Loading

0 comments on commit c3bf41f

Please sign in to comment.