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.homematic.internal.communicator;
15 import java.io.IOException;
16 import java.util.Collection;
18 import org.eclipse.jetty.client.HttpClient;
19 import org.openhab.binding.homematic.internal.common.HomematicConfig;
20 import org.openhab.binding.homematic.internal.model.HmChannel;
21 import org.openhab.binding.homematic.internal.model.HmDatapoint;
22 import org.openhab.binding.homematic.internal.model.HmDevice;
25 * Default HomematicGateway implementation for RF and HS485 daemons.
27 * @author Gerhard Riegler - Initial contribution
29 public class DefaultGateway extends AbstractHomematicGateway {
31 protected DefaultGateway(String id, HomematicConfig config, HomematicGatewayAdapter gatewayAdapter,
32 HttpClient httpClient) {
33 super(id, config, gatewayAdapter, httpClient);
37 protected void loadVariables(HmChannel channel) throws IOException {
42 protected void loadScripts(HmChannel channel) throws IOException {
47 protected void setVariable(HmDatapoint dp, Object value) throws IOException {
52 protected void executeScript(HmDatapoint dp) throws IOException {
57 protected void loadDeviceNames(Collection<HmDevice> devices) throws IOException {