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.doorbird.internal.config;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link DoorbellConfig} class contains fields mapping thing configuration parameters
20 * for doorbell thing types.
22 * @author Mark Hilbush - Initial contribution
25 public class DoorbellConfiguration {
27 * Hostname or IP address of doorbell
29 public @Nullable String doorbirdHost;
32 * User ID used for API requests
34 public @Nullable String userId;
37 * Password used in API requests, and to decrypt doorbird events
39 public @Nullable String userPassword;
42 * Rate at which image channel will be updated
44 public @Nullable Integer imageRefreshRate;
47 * Delay to set doorbell channel OFF after doorbell event
49 public @Nullable Integer doorbellOffDelay;
52 * Delay to set motion channel OFF after motion event
54 public @Nullable Integer motionOffDelay;
57 * Number of images in doorbell and motion montages
59 public @Nullable Integer montageNumImages;
62 * Scale factor for montages
64 public @Nullable Integer montageScaleFactor;