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.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 int WRITE_CHARACTERISTIC_MAX_RETRIES = 3;
35 public static final ThingTypeUID THING_TYPE_BRC1H = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID, "brc1h");
37 public static final String CHANNEL_ID_ONOFF_STATUS = "onOffStatus";
38 public static final String CHANNEL_ID_INDOOR_TEMPERATURE = "indoorTemperature";
39 public static final String CHANNEL_ID_OUTDOOR_TEMPERATURE = "outdoorTemperature";
40 public static final String CHANNEL_ID_COMMUNICATION_CONTROLLER_VERSION = "commCtrlVersion";
41 public static final String CHANNEL_ID_REMOTE_CONTROLLER_VERSION = "remoteCtrlVersion";
43 public static final String CHANNEL_ID_OPERATION_MODE = "operationMode";
44 public static final String CHANNEL_ID_FAN_SPEED = "fanSpeed";
45 public static final String CHANNEL_ID_SETPOINT = "setpoint";
46 public static final String CHANNEL_ID_HOMEKIT_CURRENT_HEATING_COOLING_MODE = "homekitCurrentHeatingCoolingMode";
47 public static final String CHANNEL_ID_HOMEKIT_TARGET_HEATING_COOLING_MODE = "homekitTargetHeatingCoolingMode";
48 public static final String CHANNEL_ID_HOMEBRIDGE_MODE = "homebridgeMode";
50 public static final String CHANNEL_ID_EYE_BRIGHTNESS = "eyeBrightness";
51 public static final String CHANNEL_ID_INDOOR_OPERATION_HOURS = "indoorOperationHours";
52 public static final String CHANNEL_ID_INDOOR_POWER_HOURS = "indoorPowerHours";
53 public static final String CHANNEL_ID_INDOOR_FAN_HOURS = "indoorFanHours";
55 public static final String CHANNEL_ID_CLEAN_FILTER_INDICATOR = "cleanFilterIndicator";
58 * BLUETOOTH UUID (service + chars)
60 public static final UUID SERVICE_UART_UUID = UUID.fromString("2141E110-213A-11E6-B67B-9E71128CAE77");
61 public static final UUID CHAR_WRITE_WITHOUT_RESPONSE_UUID = UUID.fromString("2141E112-213A-11E6-B67B-9E71128CAE77");
62 public static final UUID CHAR_NOTIF_UUID = UUID.fromString("2141E111-213A-11E6-B67B-9E71128CAE77");