]> git.basschouten.com Git - openhab-addons.git/blob
327b08ae00c2c2c0cf5b0712179194b8220aaeba
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.miele.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link MieleBinding} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Karel Goderis - Initial contribution
23  * @author Martin Lepsy - added constants for support of WiFi devices & protocol
24  */
25 @NonNullByDefault
26 public class MieleBindingConstants {
27
28     public static final String BINDING_ID = "miele";
29     public static final String APPLIANCE_ID = "uid";
30     public static final String DEVICE_CLASS = "dc";
31     public static final String HDM_LAN = "hdm:LAN:";
32     public static final String HDM_ZIGBEE = "hdm:ZigBee:";
33     public static final String PROTOCOL_PROPERTY_NAME = "protocol";
34
35     // List of all Thing Type UIDs
36     public static final ThingTypeUID THING_TYPE_XGW3000 = new ThingTypeUID(BINDING_ID, "xgw3000");
37     public static final ThingTypeUID THING_TYPE_DISHWASHER = new ThingTypeUID(BINDING_ID, "dishwasher");
38     public static final ThingTypeUID THING_TYPE_OVEN = new ThingTypeUID(BINDING_ID, "oven");
39     public static final ThingTypeUID THING_TYPE_FRIDGE = new ThingTypeUID(BINDING_ID, "fridge");
40     public static final ThingTypeUID THING_TYPE_DRYER = new ThingTypeUID(BINDING_ID, "tumbledryer");
41     public static final ThingTypeUID THING_TYPE_HOB = new ThingTypeUID(BINDING_ID, "hob");
42     public static final ThingTypeUID THING_TYPE_FRIDGEFREEZER = new ThingTypeUID(BINDING_ID, "fridgefreezer");
43     public static final ThingTypeUID THING_TYPE_HOOD = new ThingTypeUID(BINDING_ID, "hood");
44     public static final ThingTypeUID THING_TYPE_WASHINGMACHINE = new ThingTypeUID(BINDING_ID, "washingmachine");
45     public static final ThingTypeUID THING_TYPE_COFFEEMACHINE = new ThingTypeUID(BINDING_ID, "coffeemachine");
46
47     // Bridge config properties
48     public static final String HOST = "ipAddress";
49     public static final String INTERFACE = "interface";
50     public static final String USER_NAME = "userName";
51     public static final String PASSWORD = "password";
52 }