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.max.internal.config;
15 import org.openhab.binding.max.internal.MaxBindingConstants;
18 * Configuration class for {@link MaxBindingConstants} bridge used to connect to the
21 * @author Marcel Verpaalen - Initial contribution
23 public class MaxCubeBridgeConfiguration {
25 /** The IP address of the MAX! Cube LAN gateway */
26 public String ipAddress;
29 * The port of the MAX! Cube LAN gateway as provided at
30 * <a href="http://www.elv.de/controller.aspx?cid=824&detail=10&detail2=3484">
31 * http://www.elv.de/controller.aspx?cid=824&detail=10&detail2=3484</a>
35 /** The refresh interval in seconds which is used to poll given MAX! Cube */
36 public Integer refreshInterval;
38 /** The unique serial number for a device */
39 public String serialNumber;
42 * If set to true, the binding will leave the connection to the cube open
43 * and just request new informations. This allows much higher poll rates and
44 * causes less load than the non-exclusive polling but has the drawback that
45 * no other apps (i.E. original software) can use the cube while this
48 public boolean exclusive = false;
51 * in exclusive mode, how many requests are allowed until connection is
54 public Integer maxRequestsPerConnection;
56 public Integer cubeReboot;
58 /** NTP Server 1 hostname */
59 public String ntpServer1;
61 /** NTP Server 2 hostname */
62 public String ntpServer2;