2 * Copyright (c) 2010-2024 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.boschshc.internal.devices;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link BoschSHCBindingConstants} class defines common constants, which
20 * are used across the whole binding.
22 * @author Stefan Kästle - Initial contribution
23 * @author Christian Oeing - added Shutter Control, ThermostatHandler
24 * @author Christian Oeing - Added WallThermostatHandler
25 * @author David Pace - Added cameras, intrusion detection system, smart plugs, battery state support and smart bulbs
26 * @author Christian Oeing - Added smoke detector
29 public class BoschSHCBindingConstants {
31 public static final String BINDING_ID = "boschshc";
33 // List of all Thing Type UIDs
34 public static final ThingTypeUID THING_TYPE_SHC = new ThingTypeUID(BINDING_ID, "shc");
36 public static final ThingTypeUID THING_TYPE_INWALL_SWITCH = new ThingTypeUID(BINDING_ID, "in-wall-switch");
37 public static final ThingTypeUID THING_TYPE_TWINGUARD = new ThingTypeUID(BINDING_ID, "twinguard");
38 public static final ThingTypeUID THING_TYPE_WINDOW_CONTACT = new ThingTypeUID(BINDING_ID, "window-contact");
39 public static final ThingTypeUID THING_TYPE_WINDOW_CONTACT_2 = new ThingTypeUID(BINDING_ID, "window-contact-2");
40 public static final ThingTypeUID THING_TYPE_MOTION_DETECTOR = new ThingTypeUID(BINDING_ID, "motion-detector");
41 public static final ThingTypeUID THING_TYPE_SHUTTER_CONTROL = new ThingTypeUID(BINDING_ID, "shutter-control");
42 public static final ThingTypeUID THING_TYPE_THERMOSTAT = new ThingTypeUID(BINDING_ID, "thermostat");
43 public static final ThingTypeUID THING_TYPE_CLIMATE_CONTROL = new ThingTypeUID(BINDING_ID, "climate-control");
44 public static final ThingTypeUID THING_TYPE_WALL_THERMOSTAT = new ThingTypeUID(BINDING_ID, "wall-thermostat");
45 public static final ThingTypeUID THING_TYPE_CAMERA_360 = new ThingTypeUID(BINDING_ID, "security-camera-360");
46 public static final ThingTypeUID THING_TYPE_CAMERA_EYES = new ThingTypeUID(BINDING_ID, "security-camera-eyes");
47 public static final ThingTypeUID THING_TYPE_INTRUSION_DETECTION_SYSTEM = new ThingTypeUID(BINDING_ID,
48 "intrusion-detection-system");
49 public static final ThingTypeUID THING_TYPE_SMART_PLUG_COMPACT = new ThingTypeUID(BINDING_ID, "smart-plug-compact");
50 public static final ThingTypeUID THING_TYPE_SMART_BULB = new ThingTypeUID(BINDING_ID, "smart-bulb");
51 public static final ThingTypeUID THING_TYPE_SMOKE_DETECTOR = new ThingTypeUID(BINDING_ID, "smoke-detector");
52 public static final ThingTypeUID THING_TYPE_UNIVERSAL_SWITCH = new ThingTypeUID(BINDING_ID, "universal-switch");
53 public static final ThingTypeUID THING_TYPE_UNIVERSAL_SWITCH_2 = new ThingTypeUID(BINDING_ID, "universal-switch-2");
55 public static final ThingTypeUID THING_TYPE_USER_DEFINED_STATE = new ThingTypeUID(BINDING_ID, "user-defined-state");
57 // List of all Channel IDs
58 // Auto-generated from thing-types.xml via script, don't modify
59 public static final String CHANNEL_SCENARIO_TRIGGERED = "scenario-triggered";
60 public static final String CHANNEL_TRIGGER_SCENARIO = "trigger-scenario";
61 public static final String CHANNEL_POWER_SWITCH = "power-switch";
62 public static final String CHANNEL_TEMPERATURE = "temperature";
63 public static final String CHANNEL_TEMPERATURE_RATING = "temperature-rating";
64 public static final String CHANNEL_HUMIDITY = "humidity";
65 public static final String CHANNEL_HUMIDITY_RATING = "humidity-rating";
66 public static final String CHANNEL_ENERGY_CONSUMPTION = "energy-consumption";
67 public static final String CHANNEL_POWER_CONSUMPTION = "power-consumption";
68 public static final String CHANNEL_PURITY = "purity";
69 public static final String CHANNEL_AIR_DESCRIPTION = "air-description";
70 public static final String CHANNEL_PURITY_RATING = "purity-rating";
71 public static final String CHANNEL_COMBINED_RATING = "combined-rating";
72 public static final String CHANNEL_CONTACT = "contact";
73 public static final String CHANNEL_LATEST_MOTION = "latest-motion";
74 public static final String CHANNEL_LEVEL = "level";
75 public static final String CHANNEL_VALVE_TAPPET_POSITION = "valve-tappet-position";
76 public static final String CHANNEL_SETPOINT_TEMPERATURE = "setpoint-temperature";
77 public static final String CHANNEL_CHILD_LOCK = "child-lock";
78 public static final String CHANNEL_PRIVACY_MODE = "privacy-mode";
79 public static final String CHANNEL_CAMERA_NOTIFICATION = "camera-notification";
80 public static final String CHANNEL_SYSTEM_AVAILABILITY = "system-availability";
81 public static final String CHANNEL_ARMING_STATE = "arming-state";
82 public static final String CHANNEL_ALARM_STATE = "alarm-state";
83 public static final String CHANNEL_ACTIVE_CONFIGURATION_PROFILE = "active-configuration-profile";
84 public static final String CHANNEL_ARM_ACTION = "arm-action";
85 public static final String CHANNEL_DISARM_ACTION = "disarm-action";
86 public static final String CHANNEL_MUTE_ACTION = "mute-action";
87 public static final String CHANNEL_BATTERY_LEVEL = "battery-level";
88 public static final String CHANNEL_LOW_BATTERY = "low-battery";
89 public static final String CHANNEL_COLOR = "color";
90 public static final String CHANNEL_BRIGHTNESS = "brightness";
91 public static final String CHANNEL_SMOKE_CHECK = "smoke-check";
92 public static final String CHANNEL_SILENT_MODE = "silent-mode";
93 public static final String CHANNEL_ILLUMINANCE = "illuminance";
94 public static final String CHANNEL_BYPASS_STATE = "bypass-state";
95 public static final String CHANNEL_SIGNAL_STRENGTH = "signal-strength";
96 public static final String CHANNEL_KEY_CODE = "key-code";
97 public static final String CHANNEL_KEY_NAME = "key-name";
98 public static final String CHANNEL_KEY_EVENT_TYPE = "key-event-type";
99 public static final String CHANNEL_KEY_EVENT_TIMESTAMP = "key-event-timestamp";
101 public static final String CHANNEL_USER_DEFINED_STATE = "user-state";
103 // static device/service names
104 public static final String SERVICE_INTRUSION_DETECTION = "intrusionDetectionSystem";