2 * Copyright (c) 2010-2021 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.miele.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link MieleBinding} class defines common constants, which are
20 * used across the whole binding.
22 * @author Karel Goderis - Initial contribution
23 * @author Martin Lepsy - added constants for support of WiFi devices & protocol
24 * @author Jacob Laursen - Fixed multicast and protocol support (ZigBee/LAN)
27 public class MieleBindingConstants {
29 public static final String BINDING_ID = "miele";
30 public static final String APPLIANCE_ID = "uid";
31 public static final String DEVICE_CLASS = "dc";
32 public static final String PROTOCOL_PROPERTY_NAME = "protocol";
33 public static final String SERIAL_NUMBER_PROPERTY_NAME = "serialNumber";
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");
47 // Miele devices classes
48 public static final String MIELE_DEVICE_CLASS_COFFEE_SYSTEM = "CoffeeSystem";
50 // Bridge config properties
51 public static final String HOST = "ipAddress";
52 public static final String INTERFACE = "interface";
53 public static final String USER_NAME = "userName";
54 public static final String PASSWORD = "password";