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.tivo.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link TiVoBindingConstants} class defines common constants that are
20 * used across the whole binding.
22 * @author Jayson Kubilis (DigitalBytes) - Initial contribution
23 * @author Andrew Black (AndyXMB) - Addition of Min / Max Channel and channel scanning properties
24 * @author Michael Lobstein - Updated for OH3
28 public class TiVoBindingConstants {
29 public static final String BINDING_ID = "tivo";
30 public static final int CONFIG_SOCKET_TIMEOUT_MS = 1000;
31 public static final int INIT_POLLING_DELAY_S = 5;
32 public static final int POLLING_DELAY_12HR_S = 43200;
34 // List of all Thing Type UIDs
35 public static final ThingTypeUID THING_TYPE_TIVO = new ThingTypeUID(BINDING_ID, "sckt");
37 // List of all Channel ids
38 public static final String CHANNEL_TIVO_CHANNEL_FORCE = "channelForce";
39 public static final String CHANNEL_TIVO_CHANNEL_SET = "channelSet";
40 public static final String CHANNEL_TIVO_IS_RECORDING = "isRecording";
41 public static final String CHANNEL_TIVO_TELEPORT = "menuTeleport";
42 public static final String CHANNEL_TIVO_IRCMD = "irCommand";
43 public static final String CHANNEL_TIVO_KBDCMD = "kbdCommand";
44 public static final String CHANNEL_TIVO_STATUS = "dvrStatus";
46 // List of all configuration Properties
47 public static final String CONFIG_HOST = "host";
48 public static final String CONFIG_PORT = "tcpPort";