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.gpio.internal.configuration;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link PigpioConfiguration} class contains fields mapping thing configuration parameters.
21 * @author Nils Bauer - Initial contribution
24 public class PigpioConfiguration {
27 * Network address of the raspberry pi
29 public @Nullable String host;
32 * Port of pigpio on the remote raspberry pi
34 public int port = 8888;
37 * Interval to send heartbeat checks
39 public int heartBeatInterval = 60000;
42 * Input channel action on connect
43 * (First connect after INITIALIATION)
45 public @Nullable String inputConnectAction;
48 * Input channel action on reconnect
50 public @Nullable String inputReconnectAction;
53 * Input channel action on disconnect
55 public @Nullable String inputDisconnectAction;
58 * Output channel action on connect
59 * (First connect after INITIALIATION)
61 public @Nullable String outputConnectAction;
64 * Output channel action on reconnect
66 public @Nullable String outputReconnectAction;
69 * Output channel action on disconnect
71 public @Nullable String outputDisconnectAction;