]> git.basschouten.com Git - openhab-addons.git/blob
2e991c27ad41e875dac623a34ade45c7ab3f36c6
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.nanoleaf.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link NanoleafControllerConfig} class contains fields mapping controller configuration parameters.
20  *
21  * @author Martin Raepple - Initial contribution
22  */
23 @NonNullByDefault
24 public class NanoleafControllerConfig {
25
26     /** IP address or hostname of the light panels controller */
27     public static final String ADDRESS = "address";
28     public String address = "";
29     /** Port number of the light panels controller */
30     public static final String PORT = "port";
31     public int port = 16021;
32     /** Authorization token for controller API */
33     public static final String AUTH_TOKEN = "authToken";
34     public @Nullable String authToken;
35     /** Light panels status refresh interval */
36     public static final String REFRESH_INTERVAL = "refreshInterval";
37     public int refreshInterval = 60;
38     /** Nanoleaf device type: Light panels or Canvas */
39     public static final String DEVICE_TYPE = "deviceType";
40     public String deviceType = "lightPanels";
41 }