From 44fe976bfb7b714d924777f3aa0f50ae85a59288 Mon Sep 17 00:00:00 2001 From: Ollie Date: Wed, 1 Apr 2020 00:16:30 +0200 Subject: [PATCH] [innogysmarthome] New innogy auth endpoint as livisi will shutdown the old endpoint (#7264) Changes auth endpoint as livisi will shutdown the old endpoint on 31.06.2020 Signed-off-by: Oliver Kuhl --- .../binding/innogysmarthome/internal/client/Constants.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/client/Constants.java b/bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/client/Constants.java index 4e3b82b184b2c..446121dd83dca 100644 --- a/bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/client/Constants.java +++ b/bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/client/Constants.java @@ -34,9 +34,10 @@ public final class Constants { // API URLs public static final String API_HOST = "api.services-smarthome.de"; + public static final String AUTH_HOST = "auth.services-smarthome.de"; public static final String API_VERSION = "1.1"; public static final String API_URL_BASE = "https://" + API_HOST + "/API/" + API_VERSION; - public static final String API_URL_TOKEN = "https://" + API_HOST + "/AUTH/token"; + public static final String API_URL_TOKEN = "https://" + AUTH_HOST + "/AUTH/token"; public static final String API_URL_CHECK_CONNECTION = API_URL_BASE + "/desc/device/SHC.RWE/1.0/event/StateChanged"; public static final String API_URL_INITIALIZE = API_URL_BASE + "/initialize";