]> git.basschouten.com Git - openhab-addons.git/blob
3c4b8f707c37c143c3d15cb1367a9ff515758e14
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.lghombot.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link LGHomBotConfiguration} class contains fields mapping thing configuration parameters.
19  *
20  * @author Fredrik Ahlström - Initial contribution
21  */
22 @NonNullByDefault
23 public class LGHomBotConfiguration {
24
25     /**
26      * Constant field used in {@link org.openhab.binding.lghombot.internal.discovery.LGHomBotDiscovery} to set the
27      * configuration property during discovery. Value of
28      * this field needs to match {@link #ipAddress}
29      */
30     public static final String IP_ADDRESS = "ipAddress";
31
32     /**
33      * IP Address (or host name) of HomBot
34      */
35     public String ipAddress = "";
36
37     /**
38      * Port used by the HomBot
39      */
40     public int port = LGHomBotBindingConstants.DEFAULT_HOMBOT_PORT;
41
42     /**
43      * Polling time (in seconds) to refresh state from the HomBot itself.
44      */
45     public int pollingPeriod = 3;
46 }