]> git.basschouten.com Git - openhab-addons.git/blob
81535a0ad7ad4cdea2458e7005fff858c20bfa84
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.robonect.internal;
14
15 import org.openhab.core.thing.ThingTypeUID;
16
17 /**
18  * The {@link RobonectBindingConstants} class defines common constants, which are
19  * used across the whole binding.
20  *
21  * @author Marco Meyer - Initial contribution
22  */
23 public class RobonectBindingConstants {
24
25     public static final String BINDING_ID = "robonect";
26
27     // List of all Thing Type UIDs
28     public static final ThingTypeUID THING_TYPE_AUTOMOWER = new ThingTypeUID(BINDING_ID, "mower");
29
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";
43
44     public static final String CHANNEL_JOB = "job";
45
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";
49
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";
53
54     public static final String CHANNEL_HEALTH_TEMP = "health-temperature";
55     public static final String CHANNEL_HEALTH_HUM = "health-humidity";
56
57     public static final String PROPERTY_COMPILED = "compiled";
58     public static final String PROPERTY_COMMENT = "comment";
59 }