2 * Copyright (c) 2010-2021 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.bluetooth.daikinmadoka;
15 import java.util.UUID;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
19 import org.openhab.core.thing.ThingTypeUID;
22 * The {@link DaikinMadokaBindingConstants} class defines common constants, which are
23 * used across the whole binding.
25 * @author Benjamin Lafois - Initial contribution
28 public class DaikinMadokaBindingConstants {
30 private DaikinMadokaBindingConstants() {
33 public static final ThingTypeUID THING_TYPE_BRC1H = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID, "brc1h");
35 public static final String CHANNEL_ID_ONOFF_STATUS = "onOffStatus";
36 public static final String CHANNEL_ID_INDOOR_TEMPERATURE = "indoorTemperature";
37 public static final String CHANNEL_ID_OUTDOOR_TEMPERATURE = "outdoorTemperature";
38 public static final String CHANNEL_ID_COMMUNICATION_CONTROLLER_VERSION = "commCtrlVersion";
39 public static final String CHANNEL_ID_REMOTE_CONTROLLER_VERSION = "remoteCtrlVersion";
41 public static final String CHANNEL_ID_OPERATION_MODE = "operationMode";
42 public static final String CHANNEL_ID_FAN_SPEED = "fanSpeed";
43 public static final String CHANNEL_ID_SETPOINT = "setpoint";
44 public static final String CHANNEL_ID_HOMEKIT_CURRENT_HEATING_COOLING_MODE = "homekitCurrentHeatingCoolingMode";
45 public static final String CHANNEL_ID_HOMEKIT_TARGET_HEATING_COOLING_MODE = "homekitTargetHeatingCoolingMode";
46 public static final String CHANNEL_ID_HOMEBRIDGE_MODE = "homebridgeMode";
49 * BLUETOOTH UUID (service + chars)
51 public static final UUID SERVICE_UART_UUID = UUID.fromString("2141E110-213A-11E6-B67B-9E71128CAE77");
52 public static final UUID CHAR_WRITE_WITHOUT_RESPONSE_UUID = UUID.fromString("2141E112-213A-11E6-B67B-9E71128CAE77");
53 public static final UUID CHAR_NOTIF_UUID = UUID.fromString("2141E111-213A-11E6-B67B-9E71128CAE77");