2 * Copyright (c) 2010-2023 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.ventaair.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link VentaAirBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Stefan Triller - Initial contribution
25 public class VentaAirBindingConstants {
27 private static final String BINDING_ID = "ventaair";
29 // List of all Thing Type UIDs
30 public static final ThingTypeUID THING_TYPE_LW60T = new ThingTypeUID(BINDING_ID, "lw60t");
31 public static final ThingTypeUID THING_TYPE_GENERIC = new ThingTypeUID(BINDING_ID, "generic");
33 // List of all Channel ids
34 public static final String CHANNEL_POWER = "power";
35 public static final String CHANNEL_FAN_SPEED = "fanSpeed";
36 public static final String CHANNEL_TARGET_HUMIDITY = "targetHumidity";
37 public static final String CHANNEL_TIMER = "timer";
38 public static final String CHANNEL_SLEEP_MODE = "sleepMode";
39 public static final String CHANNEL_BOOST = "boost";
40 public static final String CHANNEL_CHILD_LOCK = "childLock";
41 public static final String CHANNEL_AUTOMATIC = "automatic";
42 public static final String CHANNEL_TEMPERATURE = "temperature";
43 public static final String CHANNEL_HUMIDITY = "humidity";
44 public static final String CHANNEL_PM25 = "pm25";
45 public static final String CHANNEL_WATERLEVEL = "waterLevel";
46 public static final String CHANNEL_FAN_RPM = "fanRPM";
47 public static final String CHANNEL_CLEAN_MODE = "cleanMode";
48 public static final String CHANNEL_OPERATION_TIME = "operationTime";
49 public static final String CHANNEL_DISC_REPLACE_TIME = "discReplaceTime";
50 public static final String CHANNEL_CLEANING_TIME = "cleaningTime";
51 public static final String CHANNEL_TIMER_TIME_PASSED = "timerTimePassed";
52 public static final String CHANNEL_SERVICE_TIME = "serviceTime";
54 public static final int PORT = 48000;