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.robonect.internal;
15 import org.openhab.core.thing.ThingTypeUID;
18 * The {@link RobonectBindingConstants} class defines common constants, which are
19 * used across the whole binding.
21 * @author Marco Meyer - Initial contribution
23 public class RobonectBindingConstants {
25 public static final String BINDING_ID = "robonect";
27 // List of all Thing Type UIDs
28 public static final ThingTypeUID THING_TYPE_AUTOMOWER = new ThingTypeUID(BINDING_ID, "mower");
30 // List of all Channel ids
31 public static final String CHANNEL_MOWER_NAME = "name";
32 public static final String CHANNEL_STATUS_BATTERY = "battery";
33 public static final String CHANNEL_STATUS_DURATION = "status-duration";
34 public static final String CHANNEL_STATUS_DISTANCE = "status-distance";
35 public static final String CHANNEL_STATUS_HOURS = "mowing-hours";
36 public static final String CHANNEL_STATUS_MODE = "mode";
37 public static final String CHANNEL_STATUS = "status";
38 public static final String CHANNEL_MOWER_START = "start";
39 public static final String CHANNEL_MOWER_STATUS_OFFLINE_TRIGGER = "offlineTrigger";
40 public static final String CHANNEL_TIMER_STATUS = "timer-status";
41 public static final String CHANNEL_TIMER_NEXT_TIMER = "timer-next";
42 public static final String CHANNEL_WLAN_SIGNAL = "wlan-signal";
44 public static final String CHANNEL_JOB = "job";
46 public static final String CHANNEL_ERROR_CODE = "error-code";
47 public static final String CHANNEL_ERROR_MESSAGE = "error-message";
48 public static final String CHANNEL_ERROR_DATE = "error-date";
50 public static final String CHANNEL_LAST_ERROR_CODE = "last-error-code";
51 public static final String CHANNEL_LAST_ERROR_MESSAGE = "last-error-message";
52 public static final String CHANNEL_LAST_ERROR_DATE = "last-error-date";
54 public static final String CHANNEL_HEALTH_TEMP = "health-temperature";
55 public static final String CHANNEL_HEALTH_HUM = "health-humidity";
57 public static final String PROPERTY_COMPILED = "compiled";
58 public static final String PROPERTY_COMMENT = "comment";