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.dsmr.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * This class defines common constants, which are used across the whole binding.
21 * @author M. Volaart - Initial contribution
22 * @author Hilbrand Bouwkamp - Removed time constants
25 public final class DSMRBindingConstants {
29 public static final String BINDING_ID = "dsmr";
32 * Key to use to identify serial port.
34 public static final String DSMR_PORT_NAME = "org.openhab.binding.dsmr";
37 * Bridge device things
39 public static final ThingTypeUID THING_TYPE_DSMR_BRIDGE = new ThingTypeUID(BINDING_ID, "dsmrBridge");
40 public static final ThingTypeUID THING_TYPE_SMARTY_BRIDGE = new ThingTypeUID(BINDING_ID, "smartyBridge");
43 * Configuration parameter for the serial port.
45 public static final String CONFIGURATION_SERIAL_PORT = "serialPort";
47 public static final String CONFIGURATION_DECRYPTION_KEY = "decryptionKey";
48 public static final String CONFIGURATION_DECRYPTION_KEY_EMPTY = "";
49 public static final String CONFIGURATION_ADDITIONAL_KEY = "additionalKey";
50 public static final String CONFIGURATION_ADDITIONAL_KEY_DEFAULT = "3000112233445566778899AABBCCDDEEFF";
52 private DSMRBindingConstants() {