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.solarwatt.internal.configuration;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link SolarwattBridgeConfiguration} class contains fields mapping thing configuration parameters.
20 * @author Sven Carstens - Initial contribution
23 public class SolarwattBridgeConfiguration {
24 private static final int DEFAULT_RESCAN_MINUTES = 5;
25 private static final int DEFAULT_REFRESH_SECONDS = 30;
28 * Hostname or ip where the solarwatt energymanager is reachable.
30 * Energy manager does not set a default name via DHCP.
32 public String hostname = "";
35 * Refresh interval for updating devices data
37 public int refresh = DEFAULT_REFRESH_SECONDS;
40 * Refresh interval for reading of devices (not the devices data)
42 public int rescan = DEFAULT_RESCAN_MINUTES;