2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.evohome.internal.api;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * List of evohome API constants
20 * @author Jasper van Zuijlen - Initial contribution
24 public class EvohomeApiConstants {
25 public static final String URL_V2_AUTH = "https://tccna.honeywell.com/Auth/OAuth/Token";
27 public static final String URL_V2_BASE = "https://tccna.honeywell.com/WebAPI/emea/api/v1/";
29 public static final String URL_V2_ACCOUNT = "userAccount";
30 public static final String URL_V2_INSTALLATION_INFO = "location/installationInfo?userId=%s&includeTemperatureControlSystems=True";// {userId}
31 public static final String URL_V2_LOCATION = "location/%s/installationInfo?includeTemperatureControlSystems=True"; // {locationId}
32 public static final String URL_V2_GATEWAY = "gateway";
33 public static final String URL_V2_HOT_WATER = "domesticHotWater/%s/state"; // {hardwareId}
34 public static final String URL_V2_SCHEDULE = "%s/%s/schedule"; // {zone_type}, {zoneId}
35 public static final String URL_V2_HEAT_SETPOINT = "temperatureZone/%s/heatSetpoint"; // {zoneId}
36 public static final String URL_V2_LOCATION_STATUS = "location/%s/status?includeTemperatureControlSystems=True"; // {locationId}
37 public static final String URL_V2_MODE = "temperatureControlSystem/%s/mode"; // {systemId}