2 * Copyright (c) 2010-2022 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.openhab.binding.bluetooth.BluetoothBindingConstants;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link RuuviTagBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Sami Salonen - Initial contribution
24 public class RuuviTagBindingConstants {
26 // List of all Thing Type UIDs
27 public static final ThingTypeUID THING_TYPE_BEACON = new ThingTypeUID(BluetoothBindingConstants.BINDING_ID,
31 public static final String CHANNEL_ID_BATTERY = "batteryVoltage";
32 public static final String CHANNEL_ID_DATA_FORMAT = "dataFormat";
33 public static final String CHANNEL_ID_TEMPERATURE = "temperature";
34 public static final String CHANNEL_ID_HUMIDITY = "humidity";
35 public static final String CHANNEL_ID_PRESSURE = "pressure";
36 public static final String CHANNEL_ID_TX_POWER = "txPower";
38 public static final String CHANNEL_ID_ACCELERATIONX = "accelerationx";
39 public static final String CHANNEL_ID_ACCELERATIONY = "accelerationy";
40 public static final String CHANNEL_ID_ACCELERATIONZ = "accelerationz";
41 public static final String CHANNEL_ID_MEASUREMENT_SEQUENCE_NUMBER = "measurementSequenceNumber";
42 public static final String CHANNEL_ID_MOVEMENT_COUNTER = "movementCounter";