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.bluetooth.ruuvitag.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.bluetooth.BluetoothBindingConstants;
17 import org.openhab.core.thing.ThingTypeUID;
20 * The {@link RuuviTagBindingConstants} class defines common constants, which are
21 * used across the whole binding.
23 * @author Sami Salonen - Initial contribution
26 public class RuuviTagBindingConstants {
28 // List of all Thing Type UIDs
29 public static final ThingTypeUID THING_TYPE_BEACON = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID,
33 public static final String CHANNEL_ID_BATTERY = "batteryVoltage";
34 public static final String CHANNEL_ID_DATA_FORMAT = "dataFormat";
35 public static final String CHANNEL_ID_TEMPERATURE = "temperature";
36 public static final String CHANNEL_ID_HUMIDITY = "humidity";
37 public static final String CHANNEL_ID_PRESSURE = "pressure";
38 public static final String CHANNEL_ID_TX_POWER = "txPower";
40 public static final String CHANNEL_ID_ACCELERATIONX = "accelerationx";
41 public static final String CHANNEL_ID_ACCELERATIONY = "accelerationy";
42 public static final String CHANNEL_ID_ACCELERATIONZ = "accelerationz";
43 public static final String CHANNEL_ID_MEASUREMENT_SEQUENCE_NUMBER = "measurementSequenceNumber";
44 public static final String CHANNEL_ID_MOVEMENT_COUNTER = "movementCounter";