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.bluetooth.airthings.internal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
19 import org.openhab.core.thing.ThingTypeUID;
22 * The {@link AirthingsBindingConstants} class defines common constants, which are
23 * used across the whole binding.
25 * @author Pauli Anttila - Initial contribution
26 * @author Kai Kreuzer - Added Airthings Wave Mini support
27 * @author Davy Wong - Added Airthings Wave Gen 1 support
30 public class AirthingsBindingConstants {
32 // List of all Thing Type UIDs
33 public static final ThingTypeUID THING_TYPE_AIRTHINGS_WAVE_PLUS = new ThingTypeUID(
34 BluetoothBindingConstants.BINDING_ID, "airthings_wave_plus");
35 public static final ThingTypeUID THING_TYPE_AIRTHINGS_WAVE_MINI = new ThingTypeUID(
36 BluetoothBindingConstants.BINDING_ID, "airthings_wave_mini");
37 public static final ThingTypeUID THING_TYPE_AIRTHINGS_WAVE_GEN1 = new ThingTypeUID(
38 BluetoothBindingConstants.BINDING_ID, "airthings_wave_gen1");
40 public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = Set.of(THING_TYPE_AIRTHINGS_WAVE_PLUS,
41 THING_TYPE_AIRTHINGS_WAVE_MINI, THING_TYPE_AIRTHINGS_WAVE_GEN1);
44 public static final String CHANNEL_ID_HUMIDITY = "humidity";
45 public static final String CHANNEL_ID_TEMPERATURE = "temperature";
46 public static final String CHANNEL_ID_PRESSURE = "pressure";
47 public static final String CHANNEL_ID_CO2 = "co2";
48 public static final String CHANNEL_ID_TVOC = "tvoc";
49 public static final String CHANNEL_ID_RADON_ST_AVG = "radon_st_avg";
50 public static final String CHANNEL_ID_RADON_LT_AVG = "radon_lt_avg";