]> git.basschouten.com Git - openhab-addons.git/blob
bb8a863a9a156b56c8ced79eebe66a4fd14664db
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.bluetooth.daikinmadoka;
14
15 import java.util.UUID;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * The {@link DaikinMadokaBindingConstants} class defines common constants, which are
23  * used across the whole binding.
24  *
25  * @author Benjamin Lafois - Initial contribution
26  */
27 @NonNullByDefault
28 public class DaikinMadokaBindingConstants {
29
30     private DaikinMadokaBindingConstants() {
31     }
32
33     public static final ThingTypeUID THING_TYPE_BRC1H = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID, "brc1h");
34
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";
40
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";
47
48     /**
49      * BLUETOOTH UUID (service + chars)
50      */
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");
54 }