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 * http://www.elv.de/controller.aspx?cid=824&detail=10&detail2=3484
34 /** The refresh interval in seconds which is used to poll given MAX! Cube */
35 public Integer refreshInterval;
37 /** The unique serial number for a device */
38 public String serialNumber;
41 * If set to true, the binding will leave the connection to the cube open
42 * and just request new informations. This allows much higher poll rates and
43 * causes less load than the non-exclusive polling but has the drawback that
44 * no other apps (i.E. original software) can use the cube while this
47 public boolean exclusive = false;
50 * in exclusive mode, how many requests are allowed until connection is
53 public Integer maxRequestsPerConnection;
55 public Integer cubeReboot;
57 /** NTP Server 1 hostname */
58 public String ntpServer1;
60 /** NTP Server 2 hostname */
61 public String ntpServer2;