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.loxone.internal;
16 * Configuration of a Loxone Miniserver ({@link LxServerHandler})
18 * @author Pawel Pieczul - Initial contribution
21 public class LxBindingConfiguration {
23 * Host address or IP of the Miniserver
27 * Port of HTTP web service of the Miniserver
31 * Port of HTTPS web service of the Miniserver
35 * User name used to log into the Miniserver
39 * Password used to log into the Miniserver
41 public String password;
43 * Authentication token acquired from the Miniserver
45 public String authToken;
47 * Time in seconds between binding initialization and first connection attempt
49 public int firstConDelay;
51 * Time in seconds between sending two consecutive keep-alive messages
53 public int keepAlivePeriod;
55 * Time in seconds between failed websocket connect attempts
57 public int connectErrDelay;
59 * Time to wait for Miniserver response to a request sent from the binding
61 public int responseTimeout;
63 * Time in seconds between user login error as a result of wrong name/password or no authority and next connection
66 public int userErrorDelay;
68 * Time in seconds between connection close (as a result of some communication error) and next connection attempt
70 public int comErrorDelay;
72 * Websocket client's max binary message size in kB
74 public int maxBinMsgSize;
76 * Websocket client's max text message size in kB
78 public int maxTextMsgSize;
80 * Authentication method (0-auto, 1-hash, 2-token)
82 public int authMethod;
84 * WebSocket connection type (0-auto, 1-HTTPS, 2-HTTP)
86 public int webSocketType;