2 * Copyright (c) 2010-2020 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 web service of the Miniserver
31 * User name used to log into the Miniserver
35 * Password used to log into the Miniserver
37 public String password;
39 * Authentication token acquired from the Miniserver
41 public String authToken;
43 * Time in seconds between binding initialization and first connection attempt
45 public int firstConDelay;
47 * Time in seconds between sending two consecutive keep-alive messages
49 public int keepAlivePeriod;
51 * Time in seconds between failed websocket connect attempts
53 public int connectErrDelay;
55 * Time to wait for Miniserver response to a request sent from the binding
57 public int responseTimeout;
59 * Time in seconds between user login error as a result of wrong name/password or no authority and next connection
62 public int userErrorDelay;
64 * Time in seconds between connection close (as a result of some communication error) and next connection attempt
66 public int comErrorDelay;
68 * Websocket client's max binary message size in kB
70 public int maxBinMsgSize;
72 * Websocket client's max text message size in kB
74 public int maxTextMsgSize;
76 * Authentication method (0-auto, 1-hash, 2-token)
78 public int authMethod;