]> git.basschouten.com Git - openhab-addons.git/blob
e150cf06e16830fbff791d06f0ae39d024cc3a0f
[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 import org.openhab.binding.lghombot.internal.discovery.LGHomBotDiscovery;
17
18 /**
19  * The {@link LGHomBotConfiguration} class contains fields mapping thing configuration parameters.
20  *
21  * @author Fredrik Ahlström - Initial contribution
22  */
23 @NonNullByDefault
24 public class LGHomBotConfiguration {
25
26     /**
27      * Constant field used in {@link LGHomBotDiscovery} to set the 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 }