]> git.basschouten.com Git - openhab-addons.git/blob
a942c520539d837e3e2a67fbc7f4f2454f015b40
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.boschshc.internal.devices;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link BoschSHCBindingConstants} class defines common constants, which
20  * are used across the whole binding.
21  *
22  * @author Stefan Kästle - Initial contribution
23  * @author Christian Oeing - added Shutter Control, ThermostatHandler
24  * @author Christian Oeing - Added WallThermostatHandler
25  */
26 @NonNullByDefault
27 public class BoschSHCBindingConstants {
28
29     private static final String BINDING_ID = "boschshc";
30
31     // List of all Thing Type UIDs
32     public static final ThingTypeUID THING_TYPE_SHC = new ThingTypeUID(BINDING_ID, "shc");
33
34     public static final ThingTypeUID THING_TYPE_INWALL_SWITCH = new ThingTypeUID(BINDING_ID, "in-wall-switch");
35     public static final ThingTypeUID THING_TYPE_TWINGUARD = new ThingTypeUID(BINDING_ID, "twinguard");
36     public static final ThingTypeUID THING_TYPE_WINDOW_CONTACT = new ThingTypeUID(BINDING_ID, "window-contact");
37     public static final ThingTypeUID THING_TYPE_MOTION_DETECTOR = new ThingTypeUID(BINDING_ID, "motion-detector");
38     public static final ThingTypeUID THING_TYPE_SHUTTER_CONTROL = new ThingTypeUID(BINDING_ID, "shutter-control");
39     public static final ThingTypeUID THING_TYPE_THERMOSTAT = new ThingTypeUID(BINDING_ID, "thermostat");
40     public static final ThingTypeUID THING_TYPE_CLIMATE_CONTROL = new ThingTypeUID(BINDING_ID, "climate-control");
41     public static final ThingTypeUID THING_TYPE_WALL_THERMOSTAT = new ThingTypeUID(BINDING_ID, "wall-thermostat");
42     public static final ThingTypeUID THING_TYPE_CAMERA_360 = new ThingTypeUID(BINDING_ID, "security-camera-360");
43     public static final ThingTypeUID THING_TYPE_CAMERA_EYES = new ThingTypeUID(BINDING_ID, "security-camera-eyes");
44
45     // List of all Channel IDs
46     // Auto-generated from thing-types.xml via script, don't modify
47     public static final String CHANNEL_POWER_SWITCH = "power-switch";
48     public static final String CHANNEL_TEMPERATURE = "temperature";
49     public static final String CHANNEL_TEMPERATURE_RATING = "temperature-rating";
50     public static final String CHANNEL_HUMIDITY = "humidity";
51     public static final String CHANNEL_HUMIDITY_RATING = "humidity-rating";
52     public static final String CHANNEL_ENERGY_CONSUMPTION = "energy-consumption";
53     public static final String CHANNEL_POWER_CONSUMPTION = "power-consumption";
54     public static final String CHANNEL_PURITY = "purity";
55     public static final String CHANNEL_AIR_DESCRIPTION = "air-description";
56     public static final String CHANNEL_PURITY_RATING = "purity-rating";
57     public static final String CHANNEL_COMBINED_RATING = "combined-rating";
58     public static final String CHANNEL_CONTACT = "contact";
59     public static final String CHANNEL_LATEST_MOTION = "latest-motion";
60     public static final String CHANNEL_LEVEL = "level";
61     public static final String CHANNEL_VALVE_TAPPET_POSITION = "valve-tappet-position";
62     public static final String CHANNEL_SETPOINT_TEMPERATURE = "setpoint-temperature";
63     public static final String CHANNEL_CHILD_LOCK = "child-lock";
64     public static final String CHANNEL_PRIVACY_MODE = "privacy-mode";
65     public static final String CHANNEL_CAMERA_NOTIFICATION = "camera-notification";
66 }