From a74389af757281a74e51d4df89a9464e6d8125d4 Mon Sep 17 00:00:00 2001 From: Guenther Schreiner Date: Fri, 18 Aug 2017 07:36:44 +0200 Subject: [PATCH] - adapted for 2.2.0, - copyrights changed to standard, localization stuff fixed, javadoc eliminated, - modified files addons/binding/pom.xml and features/openhab-addons/src/main/feature/feature.xml included in repository changes, - minor fix: bundle version adapted to 2.2.0, - replacing http access lib (org.eclipse.smarthome.io.net.http instead of org.apache.http), - discovery added, - bridge channels (status, scenes, products and several parameters) added, Signed-off-by: Guenther Schreiner (github: gs4711) --- .../org.openhab.binding.velux/.classpath | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 7 + .../ESH-INF/binding/binding.xml | 4 +- .../ESH-INF/i18n/velux_de.properties | 148 ++--- .../ESH-INF/i18n/velux_en.properties | 37 -- .../ESH-INF/thing/bridge.xml | 15 + .../ESH-INF/thing/channels.xml | 106 +++- .../ESH-INF/thing/thing-types.xml | 3 +- .../META-INF/MANIFEST.MF | 14 +- .../org.openhab.binding.velux/README.md | 162 ++++- .../doc/allclasses-frame.html | 63 -- .../doc/allclasses-noframe.html | 63 -- .../doc/constant-values.html | 270 -------- .../doc/deprecated-list.html | 124 ---- .../doc/help-doc.html | 229 ------- .../doc/index-files/index-1.html | 352 ----------- .../doc/index-files/index-10.html | 159 ----- .../doc/index-files/index-11.html | 140 ----- .../doc/index-files/index-12.html | 151 ----- .../doc/index-files/index-13.html | 137 ----- .../doc/index-files/index-14.html | 289 --------- .../doc/index-files/index-2.html | 145 ----- .../doc/index-files/index-3.html | 139 ----- .../doc/index-files/index-4.html | 136 ----- .../doc/index-files/index-5.html | 355 ----------- .../doc/index-files/index-6.html | 129 ---- .../doc/index-files/index-7.html | 153 ----- .../doc/index-files/index-8.html | 143 ----- .../doc/index-files/index-9.html | 141 ----- .../org.openhab.binding.velux/doc/index.html | 75 --- .../doc/items/velux.items | 39 ++ .../doc/logback_debug.xml | 31 + .../binding/velux/VeluxBindingConstants.html | 343 ----------- .../binding/velux/bridge/VeluxBridge.html | 339 ----------- .../velux/bridge/class-use/VeluxBridge.html | 124 ---- .../bridge/comm/BCgetProducts.Request.html | 248 -------- .../bridge/comm/BCgetProducts.Response.html | 351 ----------- .../velux/bridge/comm/BCgetProducts.html | 562 ----------------- .../comm/BCgetScenes.BCproductState.html | 319 ---------- .../bridge/comm/BCgetScenes.BCscene.html | 320 ---------- .../bridge/comm/BCgetScenes.Request.html | 242 -------- .../bridge/comm/BCgetScenes.Response.html | 328 ---------- .../velux/bridge/comm/BCgetScenes.html | 545 ----------------- .../comm/BCidentifyProduct.Request.html | 248 -------- .../comm/BCidentifyProduct.Response.html | 327 ---------- .../velux/bridge/comm/BCidentifyProduct.html | 569 ----------------- .../velux/bridge/comm/BClogin.Request.html | 248 -------- .../velux/bridge/comm/BClogin.Response.html | 321 ---------- .../binding/velux/bridge/comm/BClogin.html | 545 ----------------- .../velux/bridge/comm/BClogout.Request.html | 248 -------- .../velux/bridge/comm/BClogout.Response.html | 321 ---------- .../binding/velux/bridge/comm/BClogout.html | 545 ----------------- .../binding/velux/bridge/comm/BCproduct.html | 342 ----------- .../velux/bridge/comm/BCrunScene.Request.html | 248 -------- .../bridge/comm/BCrunScene.Response.html | 327 ---------- .../binding/velux/bridge/comm/BCrunScene.html | 551 ----------------- .../comm/BridgeCommunicationProtocol.html | 403 ------------ .../comm/class-use/BCgetProducts.Request.html | 124 ---- .../class-use/BCgetProducts.Response.html | 189 ------ .../bridge/comm/class-use/BCgetProducts.html | 124 ---- .../class-use/BCgetScenes.BCproductState.html | 187 ------ .../comm/class-use/BCgetScenes.BCscene.html | 184 ------ .../comm/class-use/BCgetScenes.Request.html | 124 ---- .../comm/class-use/BCgetScenes.Response.html | 189 ------ .../bridge/comm/class-use/BCgetScenes.html | 124 ---- .../class-use/BCidentifyProduct.Request.html | 124 ---- .../class-use/BCidentifyProduct.Response.html | 189 ------ .../comm/class-use/BCidentifyProduct.html | 124 ---- .../comm/class-use/BClogin.Request.html | 124 ---- .../comm/class-use/BClogin.Response.html | 189 ------ .../velux/bridge/comm/class-use/BClogin.html | 124 ---- .../comm/class-use/BClogout.Request.html | 124 ---- .../comm/class-use/BClogout.Response.html | 189 ------ .../velux/bridge/comm/class-use/BClogout.html | 124 ---- .../bridge/comm/class-use/BCproduct.html | 184 ------ .../comm/class-use/BCrunScene.Request.html | 124 ---- .../comm/class-use/BCrunScene.Response.html | 189 ------ .../bridge/comm/class-use/BCrunScene.html | 124 ---- .../BridgeCommunicationProtocol.html | 222 ------- .../velux/bridge/comm/package-frame.html | 44 -- .../velux/bridge/comm/package-summary.html | 370 ----------- .../velux/bridge/comm/package-tree.html | 161 ----- .../velux/bridge/comm/package-use.html | 315 ---------- .../binding/velux/bridge/package-frame.html | 20 - .../binding/velux/bridge/package-summary.html | 144 ----- .../binding/velux/bridge/package-tree.html | 137 ----- .../binding/velux/bridge/package-use.html | 124 ---- .../class-use/VeluxBindingConstants.html | 124 ---- .../velux/handler/VeluxBridgeDiscovery.html | 243 -------- .../velux/handler/VeluxBridgeExecute.html | 279 --------- .../velux/handler/VeluxBridgeHandler.html | 569 ----------------- .../handler/VeluxBridgeHandlerTester.html | 277 --------- .../velux/handler/VeluxChannel.Channel.html | 346 ----------- .../binding/velux/handler/VeluxChannel.html | 349 ----------- .../binding/velux/handler/VeluxHandler.html | 405 ------------ .../class-use/VeluxBridgeDiscovery.html | 166 ----- .../handler/class-use/VeluxBridgeExecute.html | 124 ---- .../handler/class-use/VeluxBridgeHandler.html | 180 ------ .../class-use/VeluxBridgeHandlerTester.html | 124 ---- .../class-use/VeluxChannel.Channel.html | 186 ------ .../velux/handler/class-use/VeluxChannel.html | 124 ---- .../velux/handler/class-use/VeluxHandler.html | 124 ---- .../binding/velux/handler/package-frame.html | 29 - .../velux/handler/package-summary.html | 195 ------ .../binding/velux/handler/package-tree.html | 162 ----- .../binding/velux/handler/package-use.html | 169 ------ .../velux/internal/VeluxHandlerFactory.html | 325 ---------- .../class-use/VeluxHandlerFactory.html | 124 ---- .../config/VeluxBridgeConfiguration.html | 405 ------------ .../config/VeluxThingConfiguration.html | 315 ---------- .../class-use/VeluxBridgeConfiguration.html | 124 ---- .../class-use/VeluxThingConfiguration.html | 124 ---- .../velux/internal/config/package-frame.html | 21 - .../internal/config/package-summary.html | 154 ----- .../velux/internal/config/package-tree.html | 142 ----- .../velux/internal/config/package-use.html | 124 ---- .../binding/velux/internal/package-frame.html | 20 - .../velux/internal/package-summary.html | 145 ----- .../binding/velux/internal/package-tree.html | 141 ----- .../binding/velux/internal/package-use.html | 124 ---- .../openhab/binding/velux/package-frame.html | 20 - .../binding/velux/package-summary.html | 145 ----- .../openhab/binding/velux/package-tree.html | 137 ----- .../openhab/binding/velux/package-use.html | 124 ---- .../velux/things/VeluxExistingProducts.html | 361 ----------- .../velux/things/VeluxExistingScenes.html | 387 ------------ .../VeluxProduct.ProductBridgeIndex.html | 201 ------ .../things/VeluxProduct.ProductName.html | 245 -------- .../things/VeluxProduct.ProductTypeId.html | 396 ------------ .../binding/velux/things/VeluxProduct.html | 373 ------------ .../velux/things/VeluxProductReference.html | 335 ---------- .../VeluxProductState.ProductState.html | 241 -------- .../velux/things/VeluxProductState.html | 371 ----------- .../things/VeluxScene.SceneBridgeIndex.html | 258 -------- .../velux/things/VeluxScene.SceneName.html | 292 --------- .../binding/velux/things/VeluxScene.html | 351 ----------- .../class-use/VeluxExistingProducts.html | 164 ----- .../things/class-use/VeluxExistingScenes.html | 164 ----- .../VeluxProduct.ProductBridgeIndex.html | 164 ----- .../class-use/VeluxProduct.ProductName.html | 168 ----- .../class-use/VeluxProduct.ProductTypeId.html | 185 ------ .../velux/things/class-use/VeluxProduct.html | 199 ------ .../class-use/VeluxProductReference.html | 177 ------ .../VeluxProductState.ProductState.html | 164 ----- .../things/class-use/VeluxProductState.html | 165 ----- .../VeluxScene.SceneBridgeIndex.html | 164 ----- .../class-use/VeluxScene.SceneName.html | 189 ------ .../velux/things/class-use/VeluxScene.html | 185 ------ .../binding/velux/things/package-frame.html | 33 - .../binding/velux/things/package-summary.html | 207 ------- .../binding/velux/things/package-tree.html | 159 ----- .../binding/velux/things/package-use.html | 220 ------- .../doc/overview-frame.html | 27 - .../doc/overview-summary.html | 162 ----- .../doc/overview-tree.html | 218 ------- .../doc/package-list | 7 - .../doc/rules/velux.rules | 21 + .../org.openhab.binding.velux/doc/script.js | 30 - .../doc/sitemaps/velux.sitemap | 39 ++ .../doc/stylesheet.css | 574 ------------------ .../doc/things/velux.things | 9 + .../binding/org.openhab.binding.velux/pom.xml | 3 +- .../binding/velux/VeluxBindingConstants.java | 20 +- .../binding/velux/bridge/VeluxBridge.java | 139 +++-- .../bridge/VeluxBridgeDetectProducts.java | 93 +++ .../velux/bridge/VeluxBridgeDeviceStatus.java | 59 ++ .../VeluxBridgeExecute.java | 28 +- .../velux/bridge/VeluxBridgeFirmware.java | 81 +++ .../velux/bridge/VeluxBridgeGetProducts.java | 77 +++ .../velux/bridge/VeluxBridgeGetScenes.java | 64 ++ .../velux/bridge/VeluxBridgeLANConfig.java | 90 +++ .../velux/bridge/VeluxBridgeSceneMode.java | 72 +++ .../velux/bridge/VeluxBridgeWLANConfig.java | 84 +++ .../velux/bridge/comm/BCdetectProducts.java | 149 +++++ .../velux/bridge/comm/BCgetDeviceStatus.java | 149 +++++ .../velux/bridge/comm/BCgetFirmware.java | 168 +++++ .../velux/bridge/comm/BCgetLANConfig.java | 189 ++++++ .../velux/bridge/comm/BCgetProducts.java | 5 +- .../velux/bridge/comm/BCgetScenes.java | 12 +- .../velux/bridge/comm/BCgetWLANConfig.java | 179 ++++++ .../velux/bridge/comm/BCidentifyProduct.java | 2 +- .../binding/velux/bridge/comm/BClogin.java | 2 +- .../binding/velux/bridge/comm/BClogout.java | 2 +- .../binding/velux/bridge/comm/BCproduct.java | 2 +- .../binding/velux/bridge/comm/BCrunScene.java | 2 +- .../velux/bridge/comm/BCsetSilentMode.java | 160 +++++ .../comm/BridgeCommunicationProtocol.java | 2 +- .../discovery/VeluxDiscoveryService.java | 131 ++++ .../velux/handler/VeluxBridgeDiscovery.java | 103 ---- .../velux/handler/VeluxBridgeHandler.java | 280 ++++++++- .../handler/VeluxBridgeHandlerTester.java | 63 -- .../binding/velux/handler/VeluxChannel.java | 17 +- .../binding/velux/handler/VeluxHandler.java | 97 ++- .../velux/internal/VeluxHandlerFactory.java | 35 +- .../config/VeluxBridgeConfiguration.java | 2 +- .../config/VeluxThingConfiguration.java | 2 +- .../velux/things/VeluxExistingProducts.java | 12 +- .../velux/things/VeluxExistingScenes.java | 12 +- .../binding/velux/things/VeluxProduct.java | 2 +- .../velux/things/VeluxProductReference.java | 2 +- .../velux/things/VeluxProductState.java | 2 +- .../binding/velux/things/VeluxScene.java | 2 +- addons/binding/pom.xml | 1 + .../src/main/feature/feature.xml | 5 + 204 files changed, 2721 insertions(+), 32013 deletions(-) create mode 100644 addons/binding/org.openhab.binding.velux/.settings/org.eclipse.jdt.core.prefs delete mode 100644 addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_en.properties delete mode 100644 addons/binding/org.openhab.binding.velux/doc/allclasses-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/allclasses-noframe.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/constant-values.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/deprecated-list.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/help-doc.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-1.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-10.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-11.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-12.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-13.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-14.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-2.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-3.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-4.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-5.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-6.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-7.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-8.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index-files/index-9.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/index.html create mode 100644 addons/binding/org.openhab.binding.velux/doc/items/velux.items create mode 100644 addons/binding/org.openhab.binding.velux/doc/logback_debug.xml delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/VeluxBindingConstants.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/VeluxBridge.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/class-use/VeluxBridge.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCproductState.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCscene.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCproduct.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCproductState.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCscene.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCproduct.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Request.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Response.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BridgeCommunicationProtocol.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/class-use/VeluxBindingConstants.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeExecute.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandler.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.Channel.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxHandler.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeDiscovery.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeExecute.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandler.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandlerTester.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.Channel.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxHandler.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/VeluxHandlerFactory.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/class-use/VeluxHandlerFactory.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxBridgeConfiguration.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxThingConfiguration.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingProducts.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingScenes.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductBridgeIndex.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductName.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductTypeId.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductReference.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.ProductState.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneBridgeIndex.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneName.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingProducts.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingScenes.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductBridgeIndex.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductName.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductTypeId.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductReference.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.ProductState.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneBridgeIndex.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneName.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-use.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/overview-frame.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/overview-summary.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/overview-tree.html delete mode 100644 addons/binding/org.openhab.binding.velux/doc/package-list create mode 100644 addons/binding/org.openhab.binding.velux/doc/rules/velux.rules delete mode 100644 addons/binding/org.openhab.binding.velux/doc/script.js create mode 100644 addons/binding/org.openhab.binding.velux/doc/sitemaps/velux.sitemap delete mode 100644 addons/binding/org.openhab.binding.velux/doc/stylesheet.css create mode 100644 addons/binding/org.openhab.binding.velux/doc/things/velux.things create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDetectProducts.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDeviceStatus.java rename addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/{handler => bridge}/VeluxBridgeExecute.java (60%) create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeFirmware.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetProducts.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetScenes.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeLANConfig.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeSceneMode.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeWLANConfig.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCdetectProducts.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetDeviceStatus.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetFirmware.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetLANConfig.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetWLANConfig.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCsetSilentMode.java create mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/discovery/VeluxDiscoveryService.java delete mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.java delete mode 100644 addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.java diff --git a/addons/binding/org.openhab.binding.velux/.classpath b/addons/binding/org.openhab.binding.velux/.classpath index 7f457fa4138d1..ff7647366a74d 100644 --- a/addons/binding/org.openhab.binding.velux/.classpath +++ b/addons/binding/org.openhab.binding.velux/.classpath @@ -1,7 +1,7 @@ - + diff --git a/addons/binding/org.openhab.binding.velux/.settings/org.eclipse.jdt.core.prefs b/addons/binding/org.openhab.binding.velux/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000..0c68a61dca867 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/addons/binding/org.openhab.binding.velux/ESH-INF/binding/binding.xml b/addons/binding/org.openhab.binding.velux/ESH-INF/binding/binding.xml index 4eed752a2fe2b..f31b3119bd8a6 100644 --- a/addons/binding/org.openhab.binding.velux/ESH-INF/binding/binding.xml +++ b/addons/binding/org.openhab.binding.velux/ESH-INF/binding/binding.xml @@ -14,8 +14,8 @@ xsi:schemaLocation="http://eclipse.org/smarthome/schemas/binding/v1.0.0 http://eclipse.org/smarthome/schemas/binding-1.0.0.xsd"> Velux Binding - The Velux Binding interacts via the Velux Bridge with the Velux devices - like controlling window openers, shutters and others. + The Velux Binding interacts via a Velux Bridge with the different Velux devices + like controlling window openers, shutters and others. For example a KLF200 can act as interface between the HomeAutomation and the VELUX INTEGRA products with wireless connectivity based on the io-homecontrol standard. Guenther Schreiner diff --git a/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_de.properties b/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_de.properties index 0dc950d12ff82..d4f5716c1547a 100644 --- a/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_de.properties +++ b/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_de.properties @@ -1,113 +1,53 @@ -#/** -# * Copyright 2016-2017 (c) Guenther Schreiner -# * -# * All rights reserved. This program and the accompanying materials -# * are made available under the terms of the Eclipse Public License v1.0 -# * which accompanies this distribution, and is available at -# * http://www.eclipse.org/legal/epl-v10.html -# * -# */ # binding binding.velux.name = Velux Binding -binding.velux.description = Das Velux Binding stellt verschiedene Energieinformationen wie die Erzeugung, den Verbrauch und die Einspeisung auf Basis von Velux, einer modularen Datenlogger-, Überwachungs- und Auswertungssoftware für Photovoltaikanlagen, bereit. +binding.velux.description = Das Velux Binding kommuniziert ueber ein Velux Kopplungselement mit den unterschiedlichen Veluxgeraeten zur Steuerung von Fenstern, Rollaeden und anderen Geraeten. Beispielsweise kann ein KLF 200 als Schnittstelle zwischen Hausleitsystemen und VELUX INTEGRA Produkten mit Funkanbindung basierend auf dem io-homecontrol-Standard eingesetzt werden. # thing types -thing-type.velux.veluxServer.label = Velux Server -thing-type.velux.veluxServer.description = Datenlieferungsschnittstelle für diverse Energiewerte. -thing-type.config.velux.veluxServer.hostname.label = IP-Adresse -thing-type.config.velux.veluxServer.hostname.description = Name/Adresse des Velux Servers -thing-type.config.velux.veluxServer.tcpPort.label = TCP port -thing-type.config.velux.veluxServer.tcpPort.description = TCP Port number of the SAP of the Velux system -thing-type.config.velux.veluxServer.timeoutMsecs.label = Timeout -thing-type.config.velux.veluxServer.timeoutMsecs.description = TCP Connection timeout in milliseconds - -thing-type.velux.energyProduction.label = Energieerzeugung -thing-type.velux.energyProduction.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.energyProduction.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.energyProduction.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.energyInjection.label = Energieeinspeisung -thing-type.velux.energyInjection.description = Stellt verschiedene Daten über die Energieeinspeisung bereit -thing-type.config.velux.energyInjection.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.energyInjection.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.energyImport.label = Energiebezug -thing-type.velux.energyImport.description = Stellt verschiedene Daten über den Energiebezug bereit -thing-type.config.velux.energyImport.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.energyImport.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterOne.label = Energieerzeugung Wechselrichter (I) -thing-type.velux.productionInverterOne.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterOne.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterOne.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterTwo.label = Energieerzeugung Wechselrichter (II) -thing-type.velux.productionInverterTwo.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterTwo.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterTwo.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterThree.label = Energieerzeugung Wechselrichter (III) -thing-type.velux.productionInverterThree.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterThree.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterThree.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterFour.label = Energieerzeugung Wechselrichter (IV) -thing-type.velux.productionInverterFour.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterFour.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterFour.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterFive.label = Energieerzeugung Wechselrichter (V) -thing-type.velux.productionInverterFive.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterFive.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterFive.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterSix.label = Energieerzeugung Wechselrichter (VI) -thing-type.velux.productionInverterSix.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterSix.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterSix.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterSeven.label = Energieerzeugung Wechselrichter (VII) -thing-type.velux.productionInverterSeven.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterSeven.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterSeven.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterEight.label = Energieerzeugung Wechselrichter (IIX) -thing-type.velux.productionInverterEight.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterEight.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterEight.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden - -thing-type.velux.productionInverterNine.label = Energieerzeugung Wechselrichter (IX) -thing-type.velux.productionInverterNine.description = Stellt verschiedene Daten über die Energieerzeugung bereit -thing-type.config.velux.productionInverterNine.refreshSecs.label = Aktualisierungsintervall -thing-type.config.velux.productionInverterNine.refreshSecs.description = Spezifiziert das Aktualisierungsintervall in Sekunden +thing-type.velux.klf200.label = Velux KLF200 +thing-type.velux.klf200.description = Kopplungselement zur Interaktion mit unterschiedlichen Veluxgeraeten. +thing-type.config.velux.klf200.bridgeURL.label = URL des Kopplungselements +thing-type.config.velux.klf200.bridgeURL.description = Basis-URL zum Zugriff auf das Velux KLF200 Kopplungselement. +thing-type.config.velux.klf200.bridgePassword.label = Passwort +thing-type.config.velux.klf200.bridgePassword.description = Password zur Anmeldung an dem Velux KLF200 Kopplungselement. +thing-type.config.velux.klf200.timeoutMsecs.label = Antwortwartezeit +thing-type.config.velux.klf200.timeoutMsecs.description = Zeit in Millisekunden. +thing-type.config.velux.klf200.retries.label = Wiederholungsversuche +thing-type.config.velux.klf200.retries.description = Anzahl der Verbindungswiederholungen fuer den Binary Exponential Backoff (BEB) Algorithmus. + +thing-type.velux.scene.label = Velux Szene +thing-type.velux.scene.description = Szene als Sammlung von Geraetezustaenden, welche aktiviert werden koennen. +thing-type.config.velux.scene.refreshSecs.label = Refresh Intervall +thing-type.config.velux.scene.refreshSecs.description = Auffrischungsintervall in Sekunden # channel types -channel-type.velux.KYR.label = Energiejahreswert -channel-type.velux.KYR.description = Jahreswert in kWh -channel-type.velux.KMT.label = Energiemonatswert -channel-type.velux.KMT.description = Monatswert in kWh -channel-type.velux.KDY.label = Energietageswert -channel-type.velux.KDY.description = Tagesertrag in kWh -channel-type.velux.PAC.label = Leistungswert -channel-type.velux.PAC.description = Aktuelle Leistung in W -channel-type.velux.UDC.label = Spannungswert (Strang I) -channel-type.velux.UDC.description = Aktuelle Spannung in V -channel-type.velux.IDC.label = Stromwert (Strang I) -channel-type.velux.IDC.description = Aktueller Strom in A -channel-type.velux.UDCB.label = Spannungswert (Strang II) -channel-type.velux.UDCB.description = Aktuelle Spannung in V -channel-type.velux.IDCB.label = Stromwert (Strang II) -channel-type.velux.IDCB.description = Aktueller Strom in A -channel-type.velux.UDCC.label = Spannungswert (Strang III) -channel-type.velux.UDCC.description = Aktuelle Spannung in V -channel-type.velux.IDCC.label = Stromwert (Strang III) -channel-type.velux.IDCC.description = Aktueller Strom in A -channel-type.velux.UL1.label = Netzspannungswert -channel-type.velux.UL1.description = Aktuelle Spannung in V -channel-type.velux.IL1.label = Netzstromwert -channel-type.velux.IL1.description = Aktueller Strom in A -channel-type.velux.TKK.label = Wechselrichtertemperatur -channel-type.velux.TKK.description = Aktuelle Temperator in C +channel-type.velux.STATUS.label = Status +channel-type.velux.STATUS.description = Status des Kopplungselements. +channel-type.velux.FIRMWARE.label = Firmware +channel-type.velux.FIRMWARE.description = Softwareversion des Kopplungselements. +channel-type.velux.IPADDRESS.label = IP-Adresse +channel-type.velux.IPADDRESS.description = IP-Adresse des Kopplungselements. +channel-type.velux.SUBNETMASK.label = Subnetzmaske +channel-type.velux.SUBNETMASK.description = IP-Subnetzmaske des Kopplungselements. +channel-type.velux.DEFAULTGW.label = Gateway-IP-Adresse +channel-type.velux.DEFAULTGW.description = IP-Adresse des Gateways. +channel-type.velux.DHCP.label = DHCP-Aktivierung +channel-type.velux.DHCP.description = Aktivierung der automatischen IP-Konfiguration mittels DHCP. +channel-type.velux.WLANSSID.label = WLAN-SSID +channel-type.velux.WLANSSID.description = Netzwerkkennung des Wireless-Netzwerks. +channel-type.velux.WLANPASSWORD.label = WLAN-Passwort +channel-type.velux.WLANPASSWORD.description = Passwort zum Zugriff auf das Wireless-Netzwerk. +channel-type.velux.SCENES.label = Identifizierte Szenen +channel-type.velux.SCENES.description = Szenen welche auf dem Kopplungselement definiert sind. +channel-type.velux.PRODUCTS.label = Identifizierte Produkte +channel-type.velux.PRODUCTS.description = Produkte welche auf dem Kopplungselement im Rahmen von Szenen definiert sind. +channel-type.velux.DETECTION.label = Produkterkennung +channel-type.velux.DETECTION.description = Schalter zum Start der Produkterkennung. + +channel-type.velux.ACTION.label = Szenenstart +channel-type.velux.ACTION.description = Schalter zum Start dieser Szene +channel-type.velux.SILENTMODE.label = Stillmodus +channel-type.velux.SILENTMODE.description = Aktiviert den Leise-Modus auf einer definierten Szene. # end-of-ESH-INF/i18n/velux_de.properties + diff --git a/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_en.properties b/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_en.properties deleted file mode 100644 index e6065dcb1f844..0000000000000 --- a/addons/binding/org.openhab.binding.velux/ESH-INF/i18n/velux_en.properties +++ /dev/null @@ -1,37 +0,0 @@ -#/** -# * Copyright 2016-2017 (c) Guenther Schreiner -# * -# * All rights reserved. This program and the accompanying materials -# * are made available under the terms of the Eclipse Public License v1.0 -# * which accompanies this distribution, and is available at -# * http://www.eclipse.org/legal/epl-v10.html -# * -# */ - -# binding - -binding.velux.name = Velux Binding -binding.velux.description = The Velux Binding provides control to all Velux device via the Velux KLF200 Bridge. - -# thing types -thing-type.velux.klf200.label = Velux KLF200 Bridge -thing-type.velux.klf200.description = Interface for different Velux Device. -thing-type.config.velux.klf200.hostname.label = IP Address -thing-type.config.velux.klf200.hostname.description = Name/Address of the Velux Bridge -thing-type.config.velux.klf200.tcpPort.label = TCP port -thing-type.config.velux.klf200.tcpPort.description = TCP Port number of the SAP of the Velux system -thing-type.config.velux.klf200.timeoutMsecs.label = Timeout -thing-type.config.velux.klf200.timeoutMsecs.description = TCP Connection timeout in milliseconds - -thing-type.velux.scene.label = Energy Production -thing-type.velux.scene.description = Provides different information about energy production -thing-type.config.velux.scene.refreshSecs.label = Refresh interval -thing-type.config.velux.scene.refreshSecs.description = Specifies the refresh interval in seconds - -# channel types -channel-type.velux.NAME.label = Scene name -channel-type.velux.NAME.description = Name describing the scene binding -channel-type.velux.ACTION.label = Start of Scene -channel-type.velux.ACTION.description = Switch to start this scene - -# end-of-ESH-INF/i18n/velux_en.properties diff --git a/addons/binding/org.openhab.binding.velux/ESH-INF/thing/bridge.xml b/addons/binding/org.openhab.binding.velux/ESH-INF/thing/bridge.xml index b4b9e152f15d1..b71e5eade3ac3 100644 --- a/addons/binding/org.openhab.binding.velux/ESH-INF/thing/bridge.xml +++ b/addons/binding/org.openhab.binding.velux/ESH-INF/thing/bridge.xml @@ -18,6 +18,20 @@ The Velux KLF200 represents a gateway to all Velux devices. + + + + + + + + + + + + + + Velux @@ -50,6 +64,7 @@ true + diff --git a/addons/binding/org.openhab.binding.velux/ESH-INF/thing/channels.xml b/addons/binding/org.openhab.binding.velux/ESH-INF/thing/channels.xml index 0d53e3892f275..5259bcdd66e8c 100644 --- a/addons/binding/org.openhab.binding.velux/ESH-INF/thing/channels.xml +++ b/addons/binding/org.openhab.binding.velux/ESH-INF/thing/channels.xml @@ -14,23 +14,111 @@ xmlns:thing="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0" xsi:schemaLocation="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd"> - + - - String - - Programmed Service + + Switch + + Activates a set of predefined product settings Scene - - + Switch - - Start of the Programmed Service + + Activates the silent mode of the predefined product settings Scene + + + + String + + Software version of the Bridge + Bridge + + + + + String + + Description of current Bridge State + Bridge + + + + + String + + IP address of the Bridge + Bridge + + + + + String + + IP subnetmask of the Bridge + Bridge + + + + + String + + IP address of the Default Gateway of the Bridge + Bridge + + + + + Switch + + Flag whether automatic IP configuration is enabled + Bridge + + + + + String + + Name of the wireless network + Bridge + + + + + String + + WLAN Authentication Password + Bridge + + + + + Switch + + Start of the Detection Mode + Bridge + + + + String + + Products which are configured on the Bridge + Bridge + + + + + String + + Scenes which are configured on the Bridge + Bridge + + + diff --git a/addons/binding/org.openhab.binding.velux/ESH-INF/thing/thing-types.xml b/addons/binding/org.openhab.binding.velux/ESH-INF/thing/thing-types.xml index 96688083e9085..6dbb1dad9ac70 100644 --- a/addons/binding/org.openhab.binding.velux/ESH-INF/thing/thing-types.xml +++ b/addons/binding/org.openhab.binding.velux/ESH-INF/thing/thing-types.xml @@ -23,7 +23,8 @@ Provides basic information of the program - + + diff --git a/addons/binding/org.openhab.binding.velux/META-INF/MANIFEST.MF b/addons/binding/org.openhab.binding.velux/META-INF/MANIFEST.MF index 162b5d02f902a..a5298cb3b6d03 100644 --- a/addons/binding/org.openhab.binding.velux/META-INF/MANIFEST.MF +++ b/addons/binding/org.openhab.binding.velux/META-INF/MANIFEST.MF @@ -4,29 +4,27 @@ Bundle-Name: velux Binding Bundle-SymbolicName: org.openhab.binding.velux;singleton:=true Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Vendor: openHAB -Bundle-Version: 2.1.0.qualifier +Bundle-Version: 2.2.0.qualifier Bundle-ClassPath: . Import-Package: com.google.common.collect, com.google.gson, - org.apache.commons.httpclient, + org.apache.commons.io, org.apache.commons.lang, - org.apache.http, - org.apache.http.client.methods, - org.apache.http.entity, - org.apache.http.impl.client, - org.apache.http.message, - org.apache.http.util, + org.apache.log4j, org.eclipse.smarthome.config.core, org.eclipse.smarthome.config.core.status, + org.eclipse.smarthome.config.discovery, org.eclipse.smarthome.core.library.types, org.eclipse.smarthome.core.thing, org.eclipse.smarthome.core.thing.binding, org.eclipse.smarthome.core.thing.binding.builder, org.eclipse.smarthome.core.thing.type, org.eclipse.smarthome.core.types, + org.eclipse.smarthome.io.net.http, org.openhab.binding.velux, org.openhab.binding.velux.handler, + org.osgi.framework, org.slf4j Service-Component: OSGI-INF/*.xml Export-Package: org.openhab.binding.velux, diff --git a/addons/binding/org.openhab.binding.velux/README.md b/addons/binding/org.openhab.binding.velux/README.md index 6800f9c708390..a84919c0aacdb 100644 --- a/addons/binding/org.openhab.binding.velux/README.md +++ b/addons/binding/org.openhab.binding.velux/README.md @@ -25,7 +25,7 @@ please increase the parameters retries or/and timeoutMsecs. ## Supported Things -The Velux Bridge in API version 1 allows to activate a set of predefined actions, so called scenes. Therefore one main thing exists, the scene element. +The Velux Bridge in API version One (firmware version 0.1.1.0.41.0) allows to activate a set of predefined actions, so called scenes. Therefore beside the bridge, only one main thing exists, the scene element. ## Discovery @@ -43,9 +43,10 @@ Bridge velux:klf200:home [ bridgeURL="http://my-klf200.velux.home" ] { } ``` -| Thing type | Description | -|------------|--------------------------------------------------------------------------| -| scene | Named ordered set of product states which can be activated for execution | +| Thing type | Description | +|------------|---------------------------------------------------------------------------| +| klf200 | The Velux KLF200 represents a gateway to all Velux devices. | +| scene | Named ordered set of product states which can be activated for execution. | ## Channels @@ -53,9 +54,19 @@ Bridge velux:klf200:home [ bridgeURL="http://my-klf200.velux.home" ] { The only currently available channel is the activation of some combined actions, in terms of Velux so-called scene. -| Channel Type ID | Item Type | Description | Thing types | -|-----------------|-----------|-------------------------------------------|--------------| -| ACTION | Switch | Switch state to ON for activating a scene | Any | +| Channel Type ID | Item Type | Description | Thing types | +|-----------------|-----------|-----------------------------------------------------------------|--------------| +| ACTION | Switch | Activates a set of predefined product settings | scene | +| SILENTMODE | Switch | Modification of the silent mode of the defined product settings | scene | +| STATUS | String | Current Bridge State | klf200 | +| DETECTION | Switch | Start of the product detection mode | klf200 | +| FIRMWARE | String | Software version of the Bridge | klf200 | +| IPADDRESS | String | IP address of the Bridge | klf200 | +| SUBNETMASK | String | IP subnetmask of the Bridge | klf200 | +| DEFAULTGW | String | IP address of the Default Gateway of the Bridge | klf200 | +| DHCP | Switch | Flag whether automatic IP configuration is enabled | klf200 | +| WLANSSID | String | Name of the wireless network | klf200 | +| WLANPASSWORD | String | WLAN Authentication Password | klf200 | ## Full Example @@ -70,27 +81,78 @@ Bridge velux:klf200:home [ bridgeURL="http://192.168.0.111:80", bridgePassword ### Items velux.items ``` -Switch V_SCENE_01 "Velux DG Window Open" { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_000" } -Switch V_SCENE_02 "Velux DG Window Closed" { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_100" } - -Switch V_SCENE_03 "Velux DG Shutter Open" { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_000" } -Switch V_SCENE_04 "Velux DG Shutter Mostly Closed" { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_085" } -Switch V_SCENE_05 "Velux DG Shutter Closed" { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_100" } +/* Velux Bridge and Devices */ + +// Group for simulating push buttons +Group:Switch:OR(ON, OFF) gV "PushButton" + +// Velux Bridge channels + +Switch V_BRIDGE_STATUS "Velux Bridge Status" { channel="velux:klf200:home:STATUS" } +String V_BRIDGE_FIRMWARE "Velux Bridge Firmware version" { channel="velux:klf200:home:FIRMWARE" } +String V_BRIDGE_IPADDRESS "Velux Bridge IP Address" { channel="velux:klf200:home:IPADDRESS" } +String V_BRIDGE_SUBNETMASK "Velux Bridge IP Subnet Mask" { channel="velux:klf200:home:SUBNETMASK" } +String V_BRIDGE_DEFAULTGW "Velux Bridge Default Gateway" { channel="velux:klf200:home:DEFAULTGW" } +String V_BRIDGE_DHCP "Velux Bridge DHCP Enabled" { channel="velux:klf200:home:DHCP" } +String V_BRIDGE_WLANSSID "Velux Bridge SSID" { channel="velux:klf200:home:WLANSSID" } +String V_BRIDGE_WLANPASSWD "Velux Bridge WLAN Password" { channel="velux:klf200:home:WLANPASSWORD" } +Switch V_BRIDGE_DETECTION "Velux Bridge Detection mode" (gV) { channel="velux:klf200:home:DETECTION" } + +// Velux Scene channels + +Switch V_DG_M_W_OPEN "Velux DG Window open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_100" } +Switch V_DG_M_W_90 "Velux DG Window 90% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_090" } +Switch V_DG_M_W_80 "Velux DG Window 80% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_080" } +Switch V_DG_M_W_70 "Velux DG Window 70% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_070" } +Switch V_DG_M_W_60 "Velux DG Window 60% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_060" } +Switch V_DG_M_W_50 "Velux DG Window 50% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_050" } +Switch V_DG_M_W_40 "Velux DG Window 40% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_040" } +Switch V_DG_M_W_30 "Velux DG Window 30% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_030" } +Switch V_DG_M_W_20 "Velux DG Window 20% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_020" } +Switch V_DG_M_W_10 "Velux DG Window 10% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_010" } +Switch V_DG_M_W_CLOSED "Velux DG Window closed" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_000" } + +Switch V_DG_M_R_OPEN "Velux DG Shutter Open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_000" } +Switch V_DG_M_R_85 "Velux DG Shutter AlmostClosed" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_085" } +Switch V_DG_M_R_CLOSED "Velux DG Shutter Closed" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_100" } ``` ### Sitemap velux.sitemap ``` -sitemap demo label="Main Menu" +sitemap velux label="Velux Environment" { Frame label="Velux Shutter and Window" { - Switch item=V_SCENE_01 - Switch item=V_SCENE_02 - Switch item=V_SCENE_03 - Switch item=V_SCENE_04 - Switch item=V_SCENE_05 - + + Switch item=V_DG_M_W_OPEN + Switch item=V_DG_M_W_90 + Switch item=V_DG_M_W_80 + Switch item=V_DG_M_W_70 + Switch item=V_DG_M_W_60 + Switch item=V_DG_M_W_50 + Switch item=V_DG_M_W_40 + Switch item=V_DG_M_W_30 + Switch item=V_DG_M_W_20 + Switch item=V_DG_M_W_10 + Switch item=V_DG_M_W_CLOSED + + Switch item=V_DG_M_R_OPEN + Switch item=V_DG_M_R_85 + Switch item=V_DG_M_R_CLOSED + } + + Frame label="Velux Bridge" { + Text item=V_BRIDGE_STATUS + Text item=V_BRIDGE_FIRMWARE + Text item=V_BRIDGE_IPADDRESS + Text item=V_BRIDGE_SUBNETMASK + Text item=V_BRIDGE_DEFAULTGW + Switch item=V_BRIDGE_DHCP + Text item=V_BRIDGE_WLANSSID + Text item=V_BRIDGE_WLANPASSWD + Switch item=V_BRIDGE_DETECTION } + } ``` @@ -98,7 +160,39 @@ sitemap demo label="Main Menu" For those who are interested in more detailed insight view of the processing of this binding, a deeper look can be achieved by increased loglevel. -Try to add the following lines to ```logback_debug.xml``` +Try to add the following lines to `/var/lib/openhab2/etc/org.ops4j.pax.logging.cfg` for common standalone installation: + +``` +### +### Velux binding logging +### +log4j.logger.org.openhab.binding.velux = INFO + +### For activation of a specific debugging, choose the following subtopics +# +## In-depth-observation of the bridge communication. +# +# log4j.logger.org.openhab.binding.velux.bridge = TRACE +# +## Analysis of the communication message structures. +# +# log4j.logger.org.openhab.binding.velux.bridge.comm = TRACE +# +## Debugging of Velux-OpenHab integration. +# +# log4j.logger.org.openhab.binding.velux.handler = TRACE +# +## For debugging the initial integration of things and channels, uncomment the following +# +# log4j.logger.org.openhab.binding.velux.internal = TRACE +# +## For debugging of Velux things, uncomment the following +# +# log4j.logger.org.openhab.binding.velux.things = TRACE +# + +``` +For using an IDE like Eclipse please use the specific entries within `logback_debug.xml` within the usual package: ``` @@ -134,10 +228,32 @@ Try to add the following lines to ```logback_debug.xml``` The changes will adapt the loglevel without restarting the framework. -During startup of normal operations, there should be only a few messages within the logfile: +During startup of normal operations, there should be only some few messages within the logfile, like: ``` 2017-07-30 15:00:15.698 [INFO ] [b.v.handler.VeluxBridgeHandler:80 ] - Initializing Velux bridge handler for 'velux:klf200:home'. -2017-07-30 15:00:15.711 [INFO ] [nding.velux.bridge.VeluxBridge:175 ] - communicationSetup(): retries = 10 times, initial wait interval = 2000 msecs. +2017-07-30 15:00:21.243 [INFO ] [b.v.handler.VeluxBridgeHandler:282 ] - handleCommand() found scenes 17 members: Scene "V_DG_Shutter_Ost_090" (index 4) with silent mode and 1 actions,Scene "V_DG_Shutter_West_090" (index 1) with silent mode and 1 actions,Scene "V_DG_Shutter_Ost_000" (index 3) with silent mode and 1 actions,Scene "V_DG_Shutter_Ost_100" (index 5) with silent mode and 1 actions,Scene "Sommertag" (index 11) with silent mode and 4 actions,Scene "V_DG_Shutter_West_100" (index 0) with silent mode and 1 actions,Scene "V_DG_Window_Mitte_080" (index 13) with silent mode and 1 actions,Scene "V_DG_Window_Mitte_070" (index 15) with silent mode and 1 actions,Scene "V_DG_Shutter_West_000" (index 2) with silent mode and 1 actions,Scene "V_DG_Window_Mitte_090" (index 12) with silent mode and 1 actions,Scene "V_DG_Window_Mitte_000" (index 9) with silent mode and 1 actions,Scene "V_DG_Shutter_Mitte_085" (index 7) with silent mode and 1 actions,Scene "V_DG_Window_Mitte_100" (index 10) with silent mode and 1 actions,Scene "V_DG_Shutter_Mitte_100" (index 8) with silent mode and 1 actions,Scene "V_DG_Shutter_Mitte_000" (index 6) with silent mode and 1 actions,Scene "V_DG_Window_Mitte_060" (index 14) with silent mode and 1 actions. +2017-07-30 15:00:25.423 [INFO ] [b.v.handler.VeluxBridgeHandler:294 ] - handleCommand() found products 4 members: Product "Rolladen Büro"/ROLLER_SHUTTER (bridgeIndex 3),Product "Rolladen Bad"/ROLLER_SHUTTER (bridgeIndex 2),Product "Bad"/WINDOW_OPENER (bridgeIndex 0),Product "Rolladen Schlafzimmer"/ROLLER_SHUTTER (bridgeIndex 1). ``` + +Another way to see what’s going on in the binding, is to switch the loglevel to DEBUG in the Karaf console: +``` +log:set DEBUG org.openhab.binding.velux +``` +If you want to see even more, switch to TRACE to also see the detailled bridge request/response data: +``` +log:set TRACE org.openhab.binding.velux +``` +To reset the logging back to normal: +``` +log:set INFO org.openhab.binding.velux +``` + +And finally to identify startup problems, try the following: +``` +stop org.openhab.binding.velux +log:set TRACE org.openhab.binding.velux +start org.openhab.binding.velux +log:tail +``` diff --git a/addons/binding/org.openhab.binding.velux/doc/allclasses-frame.html b/addons/binding/org.openhab.binding.velux/doc/allclasses-frame.html deleted file mode 100644 index 6228f36ae4970..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/allclasses-frame.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - -All Classes - - - - - -

All Classes

- - - diff --git a/addons/binding/org.openhab.binding.velux/doc/allclasses-noframe.html b/addons/binding/org.openhab.binding.velux/doc/allclasses-noframe.html deleted file mode 100644 index 3519670196313..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/allclasses-noframe.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - -All Classes - - - - - -

All Classes

- - - diff --git a/addons/binding/org.openhab.binding.velux/doc/constant-values.html b/addons/binding/org.openhab.binding.velux/doc/constant-values.html deleted file mode 100644 index 3044c6fb6b7f4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/constant-values.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - -Constant Field Values - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

- -
-
- - -

org.openhab.*

- - -
    -
  • - - - - - - - - - - - - - - -
    org.openhab.binding.velux.handler.VeluxChannel 
    Modifier and TypeConstant FieldValue
    - -public static final java.lang.StringSUBSEPARATUR"#"
    -
  • -
- -
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/deprecated-list.html b/addons/binding/org.openhab.binding.velux/doc/deprecated-list.html deleted file mode 100644 index 092e7e69167fc..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Deprecated List - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/help-doc.html b/addons/binding/org.openhab.binding.velux/doc/help-doc.html deleted file mode 100644 index d5668808103a6..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/help-doc.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - -API Help - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-1.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-1.html deleted file mode 100644 index 7cf6755e832a5..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-1.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - -B-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

B

-
-
BCgetProducts - Class in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
BCgetProducts() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
BCgetProducts.Request - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"get","params":{}} -
-
-
BCgetProducts.Response - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token": "pESIc/9zDWa1CJR6hCDzLw==", - "result": true, - "deviceStatus": "IDLE", - "data": [ - { "name": "Bad", - "category": "Window opener", - "id": 0, - "typeId": 4, - "subtype": 1, - "scenes": [ - "V_DG_Window_Mitte_000", - "V_DG_Window_Mitte_100" - ] - }, - ], - "errors": [] - } -
-
-
BCgetScenes - Class in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
BCgetScenes() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
BCgetScenes.BCproductState - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge Communication Structure containing the state of a product.
-
-
BCgetScenes.BCscene - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge Communication Structure containing a scene especially with different states of products.
-
-
BCgetScenes.Request - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge Communication Structure containing a request to be sent to the Velux Bridge.
-
-
BCgetScenes.Response - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge Communication Structure describing a response to be received from the Velux Bridge.
-
-
BCidentifyProduct - Class in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
BCidentifyProduct(int, int) - Constructor for class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
BCidentifyProduct(int) - Constructor for class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
BCidentifyProduct.Request - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON (sample): - - - {"action":"identify","params":{"id":23,"time":254}} -
-
-
BCidentifyProduct.Response - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token": "NkR/AA5xXj7iL6NiIW8keA==", - "result": false, - "deviceStatus": "IDLE", - "data": {}, - "errors": [ 104 ] - } -
-
-
BClogin - Class in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
BClogin(String) - Constructor for class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
BClogin.Request - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"login","params":{"password":"PASSWORD"}} -
-
-
BClogin.Response - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }' -
-
-
BClogout - Class in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
BClogout() - Constructor for class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
BClogout.Request - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"logout","params":{}} -
-
-
BClogout.Response - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }' -
-
-
BCproduct - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge Communication classes.
-
-
BCproduct() - Constructor for class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
BCproductState() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState
-
 
-
BCrunScene - Class in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
BCrunScene(int) - Constructor for class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
BCrunScene.Request - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON (sample): - - - {"action":"run","params":{"id":9}} -
-
-
BCrunScene.Response - Class in org.openhab.binding.velux.bridge.comm
-
-
Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token":"RHIKGlJyZhidI/JSK0a2RQ==", - "result":true, - "deviceStatus":"IDLE", - "data":{}, - "errors":[] - } -
-
-
BCscene() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene
-
 
-
BRIDGE_PASSWORD - Static variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
BRIDGE_RETRIES - Static variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
BRIDGE_TIMEOUT_MSECS - Static variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
BRIDGE_TYPE - Static variable in class org.openhab.binding.velux.VeluxBindingConstants
-
 
-
BRIDGE_URL - Static variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
bridgeCommunicate(BridgeCommunicationProtocol<T>) - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
-
Initializes a client/server communication towards Velux bridge - based on the Basic I/O interface VeluxBridge and parameters - passed as arguments (see below) and provided by VeluxBridgeConfiguration.
-
-
BridgeCommunicationProtocol<T> - Interface in org.openhab.binding.velux.bridge.comm
-
-
I/O messages supported by the Velux bridge.
-
-
bridgeLogin() - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
-
Prepares an authorization request and communicate it with the Velux bridge.
-
-
bridgeLogout() - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
-
Prepares an (authenticated!)
-
-
bridgePassword - Variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
bridgeURL - Variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-10.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-10.html deleted file mode 100644 index d8311657fdab0..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-10.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -R-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

R

-
-
refreshSecs - Variable in class org.openhab.binding.velux.internal.config.VeluxThingConfiguration
-
 
-
register(VeluxProduct) - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
register(VeluxScene) - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
Request() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetProducts.Request
-
 
-
Request() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetScenes.Request
-
 
-
Request() - Constructor for class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Request
-
 
-
Request() - Constructor for class org.openhab.binding.velux.bridge.comm.BClogin.Request
-
 
-
Request() - Constructor for class org.openhab.binding.velux.bridge.comm.BClogout.Request
-
 
-
Request() - Constructor for class org.openhab.binding.velux.bridge.comm.BCrunScene.Request
-
 
-
Response() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
-
 
-
Response() - Constructor for class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
-
 
-
Response() - Constructor for class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response
-
 
-
Response() - Constructor for class org.openhab.binding.velux.bridge.comm.BClogin.Response
-
 
-
Response() - Constructor for class org.openhab.binding.velux.bridge.comm.BClogout.Response
-
 
-
Response() - Constructor for class org.openhab.binding.velux.bridge.comm.BCrunScene.Response
-
 
-
retries - Variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-11.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-11.html deleted file mode 100644 index 3eb445704b604..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-11.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - -S-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

S

-
-
SceneName(String) - Constructor for class org.openhab.binding.velux.things.VeluxScene.SceneName
-
 
-
SUBSEPARATUR - Static variable in class org.openhab.binding.velux.handler.VeluxChannel
-
 
-
SUPPORTED_THING_TYPES - Static variable in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
-
Set of things provided by VeluxBridgeHandler.
-
-
SUPPORTED_THING_TYPES_UIDS - Static variable in class org.openhab.binding.velux.handler.VeluxHandler
-
-
Set of things provided by VeluxHandler.
-
-
supportsThingType(ThingTypeUID) - Method in class org.openhab.binding.velux.internal.VeluxHandlerFactory
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-12.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-12.html deleted file mode 100644 index e0725ba9080c4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-12.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -T-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

T

-
-
THING_REFRESH_SECS - Static variable in class org.openhab.binding.velux.internal.config.VeluxThingConfiguration
-
 
-
THING_TYPE_BRIDGE - Static variable in class org.openhab.binding.velux.VeluxBindingConstants
-
 
-
THING_TYPE_VELUX_SCENE - Static variable in class org.openhab.binding.velux.VeluxBindingConstants
-
 
-
THING_VELUX_SCENE - Static variable in class org.openhab.binding.velux.VeluxBindingConstants
-
 
-
timeoutMsecs - Variable in class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
 
-
toInt() - Method in class org.openhab.binding.velux.things.VeluxScene.SceneBridgeIndex
-
 
-
toString() - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
toString() - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
toString() - Method in class org.openhab.binding.velux.things.VeluxProduct.ProductName
-
 
-
toString() - Method in class org.openhab.binding.velux.things.VeluxProduct
-
toString() - Method in class org.openhab.binding.velux.things.VeluxProductReference
-
toString() - Method in class org.openhab.binding.velux.things.VeluxProductState
-
toString() - Method in class org.openhab.binding.velux.things.VeluxScene.SceneBridgeIndex
-
 
-
toString() - Method in class org.openhab.binding.velux.things.VeluxScene.SceneName
-
 
-
toString() - Method in class org.openhab.binding.velux.things.VeluxScene
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-13.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-13.html deleted file mode 100644 index d86716ba59938..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-13.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -U-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

U

-
-
url - Static variable in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
url - Static variable in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
url - Static variable in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
url - Static variable in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
url - Static variable in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-14.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-14.html deleted file mode 100644 index c87fc75f86d4c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-14.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - -V-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

V

-
-
valueOf(String) - Static method in enum org.openhab.binding.velux.handler.VeluxChannel.Channel
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum org.openhab.binding.velux.things.VeluxProduct.ProductTypeId
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum org.openhab.binding.velux.handler.VeluxChannel.Channel
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
values() - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
values() - Static method in enum org.openhab.binding.velux.things.VeluxProduct.ProductTypeId
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
VeluxBindingConstants - Class in org.openhab.binding.velux
-
-
The VeluxBindingConstants class defines common constants, which are - used across the whole binding.
-
-
VeluxBindingConstants() - Constructor for class org.openhab.binding.velux.VeluxBindingConstants
-
 
-
VeluxBridge - Class in org.openhab.binding.velux.bridge
-
-
Basic I/O interface towards the Velux bridge.
-
-
VeluxBridgeConfiguration - Class in org.openhab.binding.velux.internal.config
-
-
The VeluxBridgeConfiguration is a wrapper for - configuration settings needed to access the VeluxBridgeHandler - device.
-
-
VeluxBridgeConfiguration() - Constructor for class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
-
-
Default values - should not be modified
-
-
VeluxBridgeDiscovery - Class in org.openhab.binding.velux.handler
-
-
The VeluxBridgeDiscovery is responsible for handling commands, which are - sent to one of the channels.
-
-
VeluxBridgeDiscovery(VeluxBridgeHandler) - Constructor for class org.openhab.binding.velux.handler.VeluxBridgeDiscovery
-
 
-
VeluxBridgeExecute - Class in org.openhab.binding.velux.handler
-
-
The VeluxBridgeExecute is responsible for handling commands, which are - sent to one of the channels.
-
-
VeluxBridgeExecute() - Constructor for class org.openhab.binding.velux.handler.VeluxBridgeExecute
-
 
-
VeluxBridgeHandler - Class in org.openhab.binding.velux.handler
-
-
The VeluxBridgeHandler is responsible for handling of the communication, - which is sent via the bridge to support the different channels.
-
-
VeluxBridgeHandler(Bridge) - Constructor for class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
 
-
VeluxBridgeHandlerTester - Class in org.openhab.binding.velux.handler
-
-
The VeluxBridgeHandlerTester is a quick approach to verify all functions - provided by the VeluxBridgeHandler like querying for scenes and products.
-
-
VeluxBridgeHandlerTester() - Constructor for class org.openhab.binding.velux.handler.VeluxBridgeHandlerTester
-
 
-
VeluxChannel - Class in org.openhab.binding.velux.handler
-
-
The VeluxChannel is responsible for handling commands, which are - sent via VeluxBridgeHandler to one of the channels.
-
-
VeluxChannel() - Constructor for class org.openhab.binding.velux.handler.VeluxChannel
-
 
-
VeluxChannel.Channel - Enum in org.openhab.binding.velux.handler
-
 
-
VeluxExistingProducts - Class in org.openhab.binding.velux.things
-
-
Combined set of product informations provided by the Velux bridge, - which can be used for later interactions.
-
-
VeluxExistingProducts() - Constructor for class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
VeluxExistingScenes - Class in org.openhab.binding.velux.things
-
-
Combined set of scene informations provided by the Velux bridge, - which can be used for later interactions.
-
-
VeluxExistingScenes() - Constructor for class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
VeluxHandler - Class in org.openhab.binding.velux.handler
-
-
The VeluxHandler is responsible for handling commands, which are - sent via VeluxBridgeHandler to one of the channels.
-
-
VeluxHandler(Thing) - Constructor for class org.openhab.binding.velux.handler.VeluxHandler
-
 
-
VeluxHandlerFactory - Class in org.openhab.binding.velux.internal
-
-
The VeluxHandlerFactory is responsible for creating things and thing - handlers.
-
-
VeluxHandlerFactory() - Constructor for class org.openhab.binding.velux.internal.VeluxHandlerFactory
-
 
-
VeluxProduct - Class in org.openhab.binding.velux.things
-
-
Velux product representation.
-
-
VeluxProduct(VeluxProduct) - Constructor for class org.openhab.binding.velux.things.VeluxProduct
-
 
-
VeluxProduct(BCproduct) - Constructor for class org.openhab.binding.velux.things.VeluxProduct
-
 
-
VeluxProduct.ProductBridgeIndex - Class in org.openhab.binding.velux.things
-
 
-
VeluxProduct.ProductName - Class in org.openhab.binding.velux.things
-
 
-
VeluxProduct.ProductTypeId - Enum in org.openhab.binding.velux.things
-
 
-
VeluxProductReference - Class in org.openhab.binding.velux.things
-
-
Velux product reference representation.
-
-
VeluxProductReference(BCgetScenes.BCproductState) - Constructor for class org.openhab.binding.velux.things.VeluxProductReference
-
 
-
VeluxProductReference(VeluxProduct) - Constructor for class org.openhab.binding.velux.things.VeluxProductReference
-
 
-
VeluxProductState - Class in org.openhab.binding.velux.things
-
-
Velux product status representation.
-
-
VeluxProductState(VeluxProductReference, int, int) - Constructor for class org.openhab.binding.velux.things.VeluxProductState
-
 
-
VeluxProductState(BCgetScenes.BCproductState) - Constructor for class org.openhab.binding.velux.things.VeluxProductState
-
 
-
VeluxProductState.ProductState - Class in org.openhab.binding.velux.things
-
 
-
VeluxScene - Class in org.openhab.binding.velux.things
-
-
Velux scene representation.
-
-
VeluxScene(BCgetScenes.BCscene) - Constructor for class org.openhab.binding.velux.things.VeluxScene
-
 
-
VeluxScene(String, int, boolean, VeluxProductState[]) - Constructor for class org.openhab.binding.velux.things.VeluxScene
-
 
-
VeluxScene.SceneBridgeIndex - Class in org.openhab.binding.velux.things
-
 
-
VeluxScene.SceneName - Class in org.openhab.binding.velux.things
-
 
-
VeluxThingConfiguration - Class in org.openhab.binding.velux.internal.config
-
-
The VeluxThingConfiguration is a wrapper for - configuration settings needed to access the Velux device to be used for method - VeluxHandler.initialize().
-
-
VeluxThingConfiguration() - Constructor for class org.openhab.binding.velux.internal.config.VeluxThingConfiguration
-
-
Default values - should not be modified
-
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-2.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-2.html deleted file mode 100644 index 280f61bf8397d..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-2.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -C-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

C

-
-
CHANNEL_SCENE_ACTION - Static variable in class org.openhab.binding.velux.VeluxBindingConstants
-
 
-
childHandlerDisposed(ThingHandler, Thing) - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
childHandlerInitialized(ThingHandler, Thing) - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
communicateAuthenticated(String, String, Object, Class<T>) - Static method in class org.openhab.binding.velux.bridge.VeluxBridge
-
-
Initializes an authenticated communication with the Velux bridge.
-
-
communicateUnauthenticated(String, Object, Class<T>) - Static method in class org.openhab.binding.velux.bridge.VeluxBridge
-
-
Initializes an unauthenticated communication with the Velux bridge.
-
-
communicationSetup(int, long) - Static method in class org.openhab.binding.velux.bridge.VeluxBridge
-
-
Initializes the communication parameters of VeluxBridge - for interacting with the Velux bridge.
-
-
createHandler(Thing) - Method in class org.openhab.binding.velux.internal.VeluxHandlerFactory
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-3.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-3.html deleted file mode 100644 index 927c176f1fe25..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-3.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -D-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

D

-
-
DEFAULT_IDENTIFY_TIME - Static variable in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
discovery - Variable in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
-
Bridge Discovery.
-
-
dispose() - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
dispose() - Method in class org.openhab.binding.velux.handler.VeluxHandler
-
dummyTest() - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
dummyTest2(VeluxScene.SceneName) - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-4.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-4.html deleted file mode 100644 index d755b95bb0aa6..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-4.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - -E-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

E

-
-
equals(VeluxScene.SceneName) - Method in class org.openhab.binding.velux.things.VeluxScene.SceneName
-
execute(VeluxBridgeHandler, int) - Static method in class org.openhab.binding.velux.handler.VeluxBridgeExecute
-
 
-
execute(VeluxBridgeHandler) - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandlerTester
-
 
-
existingsProducts - Variable in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
 
-
existingsScenes - Variable in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-5.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-5.html deleted file mode 100644 index 1a364a9eb675b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-5.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -G-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

G

-
-
get(String) - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
get(VeluxScene.SceneName) - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
get(int) - Static method in enum org.openhab.binding.velux.things.VeluxProduct.ProductTypeId
-
 
-
getActuator() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState
-
 
-
getActuator() - Method in class org.openhab.binding.velux.things.VeluxProductState
-
 
-
getAuthToken(BCgetProducts.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
getAuthToken(BCgetScenes.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
getAuthToken(BCidentifyProduct.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
getAuthToken(BClogin.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
getAuthToken(BClogout.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
getAuthToken(BCrunScene.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
getAuthToken(T) - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the communication status included within the response message.
-
-
getBridgeProductIndex() - Method in class org.openhab.binding.velux.things.VeluxProduct
-
 
-
getBridgeSceneIndex() - Method in class org.openhab.binding.velux.things.VeluxScene
-
 
-
getCategory() - Method in class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
getChannelId(String) - Static method in class org.openhab.binding.velux.handler.VeluxChannel
-
 
-
getChannelSubId(String) - Static method in class org.openhab.binding.velux.handler.VeluxChannel
-
 
-
getChannelValue(VeluxChannel.Channel) - Method in class org.openhab.binding.velux.handler.VeluxHandler
-
 
-
getChannelValue(String) - Method in class org.openhab.binding.velux.handler.VeluxHandler
-
 
-
getClassOfResponse() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
getClassOfResponse() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
getClassOfResponse() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
getClassOfResponse() - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
getClassOfResponse() - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
getClassOfResponse() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
getClassOfResponse() - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the class of the object of response message for further JSON deserialization.
-
-
getDevices() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
-
 
-
getDeviceStatus(BCgetProducts.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
getDeviceStatus() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
-
 
-
getDeviceStatus(BCgetScenes.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
getDeviceStatus() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
-
 
-
getDeviceStatus(BCidentifyProduct.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
getDeviceStatus() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response
-
 
-
getDeviceStatus(BClogin.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
getDeviceStatus() - Method in class org.openhab.binding.velux.bridge.comm.BClogin.Response
-
 
-
getDeviceStatus(BClogout.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
getDeviceStatus() - Method in class org.openhab.binding.velux.bridge.comm.BClogout.Response
-
 
-
getDeviceStatus(BCrunScene.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
getDeviceStatus() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene.Response
-
 
-
getDeviceStatus(T) - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the communication status included within the response message.
-
-
getErrors(BCgetProducts.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
getErrors() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
-
 
-
getErrors(BCgetScenes.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
getErrors() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
-
 
-
getErrors(BCidentifyProduct.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
getErrors() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response
-
 
-
getErrors(BClogin.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
getErrors() - Method in class org.openhab.binding.velux.bridge.comm.BClogin.Response
-
 
-
getErrors(BClogout.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
getErrors() - Method in class org.openhab.binding.velux.bridge.comm.BClogout.Response
-
 
-
getErrors(BCrunScene.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
getErrors() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene.Response
-
 
-
getErrors(T) - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the communication status included within the response message.
-
-
getId() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene
-
 
-
getId() - Method in class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
getName() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState
-
 
-
getName() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene
-
 
-
getName() - Method in class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
getName() - Method in class org.openhab.binding.velux.things.VeluxProduct
-
 
-
getName() - Method in class org.openhab.binding.velux.things.VeluxProductReference
-
 
-
getName() - Method in class org.openhab.binding.velux.things.VeluxScene
-
 
-
getNoMembers() - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
getNoMembers() - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
getObjectOfRequest() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
getObjectOfRequest() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
getObjectOfRequest() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
getObjectOfRequest() - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
getObjectOfRequest() - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
getObjectOfRequest() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
getObjectOfRequest() - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the request object for further JSON serialization.
-
-
getPosition() - Method in enum org.openhab.binding.velux.handler.VeluxChannel.Channel
-
 
-
getProductReference() - Method in class org.openhab.binding.velux.things.VeluxProductState
-
 
-
getProductStates() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene
-
 
-
getProductUniqueIndex() - Method in class org.openhab.binding.velux.things.VeluxProduct
-
 
-
getProductUniqueIndex() - Method in class org.openhab.binding.velux.things.VeluxProductReference
-
 
-
getResult() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
-
 
-
getResult() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
-
 
-
getResult() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response
-
 
-
getResult() - Method in class org.openhab.binding.velux.bridge.comm.BClogin.Response
-
 
-
getResult() - Method in class org.openhab.binding.velux.bridge.comm.BClogout.Response
-
 
-
getResult() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene.Response
-
 
-
getScenes() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
-
 
-
getScenes() - Method in class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
getSilent() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene
-
 
-
getState() - Method in class org.openhab.binding.velux.things.VeluxProductState
-
 
-
getState() - Method in class org.openhab.binding.velux.things.VeluxProductState.ProductState
-
 
-
getStateAsInt() - Method in class org.openhab.binding.velux.things.VeluxProductState
-
 
-
getStatus() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState
-
 
-
getSubtype() - Method in class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
getSubtype() - Method in enum org.openhab.binding.velux.things.VeluxProduct.ProductTypeId
-
 
-
getToken() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
-
 
-
getToken() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
-
 
-
getToken() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response
-
 
-
getToken() - Method in class org.openhab.binding.velux.bridge.comm.BClogin.Response
-
 
-
getToken() - Method in class org.openhab.binding.velux.bridge.comm.BClogout.Response
-
 
-
getToken() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene.Response
-
 
-
getTypeId() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState
-
 
-
getTypeId() - Method in class org.openhab.binding.velux.bridge.comm.BCproduct
-
 
-
getTypeId() - Method in class org.openhab.binding.velux.things.VeluxProduct
-
 
-
getTypeId() - Method in enum org.openhab.binding.velux.things.VeluxProduct.ProductTypeId
-
 
-
getTypeId() - Method in class org.openhab.binding.velux.things.VeluxProductReference
-
 
-
getURL() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
getURL() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
getURL() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
getURL() - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
getURL() - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
getURL() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
getURL() - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the URL suffix for accessing the specific service access point.
-
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-6.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-6.html deleted file mode 100644 index 007a60119f2df..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-6.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - -H-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

H

-
-
handleCommand(ChannelUID, Command) - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
handleCommand(ChannelUID, Command) - Method in class org.openhab.binding.velux.handler.VeluxHandler
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-7.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-7.html deleted file mode 100644 index 3ff28ed8e76c7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-7.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - -I-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

I

-
-
initialize() - Method in class org.openhab.binding.velux.handler.VeluxBridgeHandler
-
initialize() - Method in class org.openhab.binding.velux.handler.VeluxHandler
-
isCommunicationSuccessful(BCgetProducts.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
isCommunicationSuccessful(BCgetScenes.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
isCommunicationSuccessful(BCidentifyProduct.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
isCommunicationSuccessful(BClogin.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
isCommunicationSuccessful(BClogout.Response) - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
isCommunicationSuccessful(BCrunScene.Response) - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
isCommunicationSuccessful(T) - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning the communication status included within the response message.
-
-
isRegistered(String) - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
isRegistered(VeluxProduct) - Method in class org.openhab.binding.velux.things.VeluxExistingProducts
-
 
-
isRegistered(VeluxScene.SceneName) - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
isRegistered(VeluxScene) - Method in class org.openhab.binding.velux.things.VeluxExistingScenes
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-8.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-8.html deleted file mode 100644 index e68d309fc1cb7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-8.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - -N-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

N

-
-
name() - Method in class org.openhab.binding.velux.bridge.comm.BCgetProducts
-
 
-
name() - Method in class org.openhab.binding.velux.bridge.comm.BCgetScenes
-
 
-
name() - Method in class org.openhab.binding.velux.bridge.comm.BCidentifyProduct
-
 
-
name() - Method in class org.openhab.binding.velux.bridge.comm.BClogin
-
 
-
name() - Method in class org.openhab.binding.velux.bridge.comm.BClogout
-
 
-
name() - Method in class org.openhab.binding.velux.bridge.comm.BCrunScene
-
 
-
name() - Method in interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol
-
-
Returning a description of this communication pair.
-
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index-files/index-9.html b/addons/binding/org.openhab.binding.velux/doc/index-files/index-9.html deleted file mode 100644 index e8fe2ebef7e76..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index-files/index-9.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -O-Index - - - - - - - - -
- - - - - - - -
- - -
B C D E G H I N O R S T U V  - - -

O

-
-
org.openhab.binding.velux - package org.openhab.binding.velux
-
 
-
org.openhab.binding.velux.bridge - package org.openhab.binding.velux.bridge
-
 
-
org.openhab.binding.velux.bridge.comm - package org.openhab.binding.velux.bridge.comm
-
 
-
org.openhab.binding.velux.handler - package org.openhab.binding.velux.handler
-
 
-
org.openhab.binding.velux.internal - package org.openhab.binding.velux.internal
-
 
-
org.openhab.binding.velux.internal.config - package org.openhab.binding.velux.internal.config
-
 
-
org.openhab.binding.velux.things - package org.openhab.binding.velux.things
-
 
-
-B C D E G H I N O R S T U V 
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/index.html b/addons/binding/org.openhab.binding.velux/doc/index.html deleted file mode 100644 index 1e27a18886e8c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - -Generated Documentation (Untitled) - - - - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/items/velux.items b/addons/binding/org.openhab.binding.velux/doc/items/velux.items new file mode 100644 index 0000000000000..6f41d76aa66da --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/doc/items/velux.items @@ -0,0 +1,39 @@ + +/* Velux Bridge and Devices */ + +// Group for simulating push buttons +Group:Switch:OR(ON, OFF) gV "PushButton" + +// Velux Bridge channels + +Switch V_BRIDGE_STATUS "Velux Bridge Status" { channel="velux:klf200:home:STATUS" } +String V_BRIDGE_FIRMWARE "Velux Bridge Firmware version" { channel="velux:klf200:home:FIRMWARE" } +String V_BRIDGE_IPADDRESS "Velux Bridge IP Address" { channel="velux:klf200:home:IPADDRESS" } +String V_BRIDGE_SUBNETMASK "Velux Bridge IP Subnet Mask" { channel="velux:klf200:home:SUBNETMASK" } +String V_BRIDGE_DEFAULTGW "Velux Bridge Default Gateway" { channel="velux:klf200:home:DEFAULTGW" } +String V_BRIDGE_DHCP "Velux Bridge DHCP Enabled" { channel="velux:klf200:home:DHCP" } +String V_BRIDGE_WLANSSID "Velux Bridge SSID" { channel="velux:klf200:home:WLANSSID" } +String V_BRIDGE_WLANPASSWD "Velux Bridge WLAN Password" { channel="velux:klf200:home:WLANPASSWORD" } +String V_BRIDGE_SCENES "Velux Bridge Scenes" { channel="velux:klf200:home:SCENES" } +String V_BRIDGE_PRODUCTS "Velux Bridge Products" { channel="velux:klf200:home:PRODUCTS" } +Switch V_BRIDGE_DETECTION "Velux Bridge Detection mode" (gV) { channel="velux:klf200:home:DETECTION" } + +// Velux Scene channels + +Switch V_DG_M_W_OPEN "Velux DG Window open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_100" } +Switch V_DG_M_W_90 "Velux DG Window 90% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_090" } +Switch V_DG_M_W_80 "Velux DG Window 80% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_080" } +Switch V_DG_M_W_70 "Velux DG Window 70% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_070" } +Switch V_DG_M_W_60 "Velux DG Window 60% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_060" } +Switch V_DG_M_W_50 "Velux DG Window 50% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_050" } +Switch V_DG_M_W_40 "Velux DG Window 40% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_040" } +Switch V_DG_M_W_30 "Velux DG Window 30% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_030" } +Switch V_DG_M_W_20 "Velux DG Window 20% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_020" } +Switch V_DG_M_W_10 "Velux DG Window 10% open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_010" } +Switch V_DG_M_W_CLOSED "Velux DG Window closed" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Window_Mitte_000" } + +Switch V_DG_M_R_OPEN "Velux DG Shutter Open" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_000" } +Switch V_DG_M_R_85 "Velux DG Shutter AlmostClosed" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_085" } +Switch V_DG_M_R_CLOSED "Velux DG Shutter Closed" (gV) { channel="velux:scene:home:karlsruhe:ACTION#V_DG_Shutter_Mitte_100" } + +// vim: syntax=Xtend diff --git a/addons/binding/org.openhab.binding.velux/doc/logback_debug.xml b/addons/binding/org.openhab.binding.velux/doc/logback_debug.xml new file mode 100644 index 0000000000000..116396429301b --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/doc/logback_debug.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/VeluxBindingConstants.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/VeluxBindingConstants.html deleted file mode 100644 index 0a28225377196..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/VeluxBindingConstants.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - -VeluxBindingConstants - - - - - - - - - - - - -
-
org.openhab.binding.velux
-

Class VeluxBindingConstants

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.VeluxBindingConstants
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxBindingConstants
    -extends java.lang.Object
    -
    The VeluxBindingConstants class defines common constants, which are - used across the whole binding.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - - - - - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        BRIDGE_TYPE

        -
        public static final java.lang.String BRIDGE_TYPE
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        THING_VELUX_SCENE

        -
        public static final java.lang.String THING_VELUX_SCENE
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        THING_TYPE_BRIDGE

        -
        public static final org.eclipse.smarthome.core.thing.ThingTypeUID THING_TYPE_BRIDGE
        -
      • -
      - - - -
        -
      • -

        THING_TYPE_VELUX_SCENE

        -
        public static final org.eclipse.smarthome.core.thing.ThingTypeUID THING_TYPE_VELUX_SCENE
        -
      • -
      - - - -
        -
      • -

        CHANNEL_SCENE_ACTION

        -
        public static final java.lang.String CHANNEL_SCENE_ACTION
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxBindingConstants

        -
        public VeluxBindingConstants()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/VeluxBridge.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/VeluxBridge.html deleted file mode 100644 index 89edd0351db02..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/VeluxBridge.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -VeluxBridge - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge
-

Class VeluxBridge

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.VeluxBridge
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxBridge
    -extends java.lang.Object
    -
    Basic I/O interface towards the Velux bridge. -

    - It provides two methods for interaction, - - communicateAuthenticated and - communicateUnauthenticated as well - as an utility method for customizing the - behaviour communicationSetup.

    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution.
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static <T> TcommunicateAuthenticated(java.lang.String url, - java.lang.String authentication, - java.lang.Object Request, - java.lang.Class<T> classOfResponse) -
      Initializes an authenticated communication with the Velux bridge.
      -
      static <T> TcommunicateUnauthenticated(java.lang.String url, - java.lang.Object Request, - java.lang.Class<T> classOfResponse) -
      Initializes an unauthenticated communication with the Velux bridge.
      -
      static voidcommunicationSetup(int retries, - long waitIntervalInMSecs) -
      Initializes the communication parameters of VeluxBridge - for interacting with the Velux bridge.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        communicateAuthenticated

        -
        public static <T> T communicateAuthenticated(java.lang.String url,
        -                                             java.lang.String authentication,
        -                                             java.lang.Object Request,
        -                                             java.lang.Class<T> classOfResponse)
        -                                      throws com.google.gson.JsonSyntaxException,
        -                                             java.io.IOException
        -
        Initializes an authenticated communication with the Velux bridge.
        -
        -
        Type Parameters:
        -
        T - generic response based on classOfResponse.
        -
        Parameters:
        -
        url - as String describing the Service Access Point location i.e. http://localhost/api .
        -
        authentication - as String providing the Authentication token to be passed with the request header.
        -
        Request - as Object representing the structure of the message request body to be converted into JSON.
        -
        classOfResponse - as Class representing the expected structure of the message response body to be converted from JSON.
        -
        Returns:
        -
        response - of type T containing all resulting informations, i.e. device status, errors a.s.o. Will return - null in case of communication or decoding error.
        -
        Throws:
        -
        java.io.IOException - in case of continuous communication I/O failures.
        -
        com.google.gson.JsonSyntaxException - in case of unusual communication failures.
        -
        -
      • -
      - - - -
        -
      • -

        communicateUnauthenticated

        -
        public static <T> T communicateUnauthenticated(java.lang.String url,
        -                                               java.lang.Object Request,
        -                                               java.lang.Class<T> classOfResponse)
        -                                        throws com.google.gson.JsonSyntaxException,
        -                                               java.io.IOException
        -
        Initializes an unauthenticated communication with the Velux bridge.
        -
        -
        Type Parameters:
        -
        T - generic response based on classOfResponse.
        -
        Parameters:
        -
        url - as String describing the Service Access Point location i.e. http://localhost/api .
        -
        Request - as Object representing the structure of the message request body to be converted into JSON.
        -
        classOfResponse - as Class representing the expected structure of the message response body to be converted from JSON.
        -
        Returns:
        -
        response - of type T containing all resulting informations, i.e. device status, errors a.s.o. Will return - null in case of communication or decoding error.
        -
        Throws:
        -
        java.io.IOException - in case of continuous communication I/O failures.
        -
        com.google.gson.JsonSyntaxException - in case of unusual communication failures.
        -
        -
      • -
      - - - -
        -
      • -

        communicationSetup

        -
        public static void communicationSetup(int retries,
        -                                      long waitIntervalInMSecs)
        -
        Initializes the communication parameters of VeluxBridge - for interacting with the Velux bridge.
        -
        -
        Parameters:
        -
        retries - as int defining the number of retries before throwing an I/O error.
        -
        waitIntervalInMSecs - as long defining the initial time wait interval in milliseconds for the Binary Exponential Backoff - (BEB) Algorithm for handling of I/O failures.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/class-use/VeluxBridge.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/class-use/VeluxBridge.html deleted file mode 100644 index 6a341728a493f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/class-use/VeluxBridge.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.VeluxBridge - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.VeluxBridge

-
-
No usage of org.openhab.binding.velux.bridge.VeluxBridge
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Request.html deleted file mode 100644 index cfa8ff35a1db8..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Request.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -BCgetProducts.Request - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetProducts.Request

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetProducts.Request
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCgetProducts
    -
    -
    -
    -
    public static class BCgetProducts.Request
    -extends java.lang.Object
    -
    Bridge I/O Request message used by VeluxBridge for serializing: -

    - Resulting JSON: - -

    - {"action":"get","params":{}}
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Request() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Request

        -
        public Request()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Response.html deleted file mode 100644 index cdd6318433c96..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.Response.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - -BCgetProducts.Response - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetProducts.Response

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetProducts.Response
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCgetProducts
    -
    -
    -
    -
    public static class BCgetProducts.Response
    -extends java.lang.Object
    -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods -

    - Expected JSON (sample): - -

    - {
    - "token": "pESIc/9zDWa1CJR6hCDzLw==",
    - "result": true,
    - "deviceStatus": "IDLE",
    - "data": [
    -  { "name": "Bad",
    -    "category": "Window opener",
    -    "id": 0,
    -    "typeId": 4,
    -    "subtype": 1,
    -    "scenes": [
    -       "V_DG_Window_Mitte_000",
    -       "V_DG_Window_Mitte_100"
    -    ]
    -  },
    - ],
    - "errors": []
    - }
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Response() 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Response

        -
        public Response()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getToken

        -
        public java.lang.String getToken()
        -
      • -
      - - - -
        -
      • -

        getResult

        -
        public boolean getResult()
        -
      • -
      - - - -
        -
      • -

        getDeviceStatus

        -
        public java.lang.String getDeviceStatus()
        -
      • -
      - - - -
        -
      • -

        getDevices

        -
        public BCproduct[] getDevices()
        -
      • -
      - - - -
        -
      • -

        getErrors

        -
        public java.lang.String[] getErrors()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.html deleted file mode 100644 index 11e0ca7231474..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetProducts.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - - -BCgetProducts - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetProducts

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetProducts
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class BCgetProducts.Request -
      Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"get","params":{}} -
      -
      static class BCgetProducts.Response -
      Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token": "pESIc/9zDWa1CJR6hCDzLw==", - "result": true, - "deviceStatus": "IDLE", - "data": [ - { "name": "Bad", - "category": "Window opener", - "id": 0, - "typeId": 4, - "subtype": 1, - "scenes": [ - "V_DG_Window_Mitte_000", - "V_DG_Window_Mitte_100" - ] - }, - ], - "errors": [] - } -
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.Stringurl 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BCgetProducts() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthToken(BCgetProducts.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Class<BCgetProducts.Response>getClassOfResponse() -
      Returning the class of the object of response message for further JSON deserialization.
      -
      java.lang.StringgetDeviceStatus(BCgetProducts.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.String[]getErrors(BCgetProducts.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.ObjectgetObjectOfRequest() -
      Returning the request object for further JSON serialization.
      -
      java.lang.StringgetURL() -
      Returning the URL suffix for accessing the specific service access point.
      -
      booleanisCommunicationSuccessful(BCgetProducts.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Stringname() -
      Returning a description of this communication pair.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCproductState.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCproductState.html deleted file mode 100644 index f1b5a328a2aec..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCproductState.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - -BCgetScenes.BCproductState - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetScenes.BCproductState

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCgetScenes
    -
    -
    -
    -
    public static class BCgetScenes.BCproductState
    -extends java.lang.Object
    -
    Bridge Communication Structure containing the state of a product. -

    - Therefore it includes the typeId and name identifying the product, as well as actuator and status. -

    - Used within structure BCgetScenes.BCscene to describe the final states of the products belonging to this scene.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BCproductState() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetActuator() 
      java.lang.StringgetName() 
      intgetStatus() 
      intgetTypeId() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BCproductState

        -
        public BCproductState()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getTypeId

        -
        public int getTypeId()
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
      • -
      - - - -
        -
      • -

        getActuator

        -
        public int getActuator()
        -
      • -
      - - - -
        -
      • -

        getStatus

        -
        public int getStatus()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCscene.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCscene.html deleted file mode 100644 index c7ddd6b835fc4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.BCscene.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - -BCgetScenes.BCscene - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetScenes.BCscene

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCgetScenes
    -
    -
    -
    -
    public static class BCgetScenes.BCscene
    -extends java.lang.Object
    -
    Bridge Communication Structure containing a scene especially with different states of products. -

    - Therefore it includes the name and id identifying the scene, a flag about silence-mode, as well as the different - states. -

    - These states are defined by an array of BCgetScenes.BCproductState as part of this structure.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BCscene

        -
        public BCscene()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
      • -
      - - - -
        -
      • -

        getId

        -
        public int getId()
        -
      • -
      - - - -
        -
      • -

        getSilent

        -
        public boolean getSilent()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Request.html deleted file mode 100644 index 0ca96a969bc19..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Request.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - -BCgetScenes.Request - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetScenes.Request

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetScenes.Request
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCgetScenes
    -
    -
    -
    -
    public static class BCgetScenes.Request
    -extends java.lang.Object
    -
    Bridge Communication Structure containing a request to be sent to the Velux Bridge.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Request() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Request

        -
        public Request()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Response.html deleted file mode 100644 index d7134ef91d92f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.Response.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - -BCgetScenes.Response - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetScenes.Response

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetScenes.Response
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCgetScenes
    -
    -
    -
    -
    public static class BCgetScenes.Response
    -extends java.lang.Object
    -
    Bridge Communication Structure describing a response to be received from the Velux Bridge.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Response

        -
        public Response()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getToken

        -
        public java.lang.String getToken()
        -
      • -
      - - - -
        -
      • -

        getResult

        -
        public boolean getResult()
        -
      • -
      - - - -
        -
      • -

        getDeviceStatus

        -
        public java.lang.String getDeviceStatus()
        -
      • -
      - - - - - - - -
        -
      • -

        getErrors

        -
        public java.lang.String[] getErrors()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.html deleted file mode 100644 index d734ca7187a8c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCgetScenes.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - - -BCgetScenes - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCgetScenes

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCgetScenes
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class BCgetScenes.BCproductState -
      Bridge Communication Structure containing the state of a product.
      -
      static class BCgetScenes.BCscene -
      Bridge Communication Structure containing a scene especially with different states of products.
      -
      static class BCgetScenes.Request -
      Bridge Communication Structure containing a request to be sent to the Velux Bridge.
      -
      static class BCgetScenes.Response -
      Bridge Communication Structure describing a response to be received from the Velux Bridge.
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.Stringurl 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BCgetScenes() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthToken(BCgetScenes.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Class<BCgetScenes.Response>getClassOfResponse() -
      Returning the class of the object of response message for further JSON deserialization.
      -
      java.lang.StringgetDeviceStatus(BCgetScenes.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.String[]getErrors(BCgetScenes.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.ObjectgetObjectOfRequest() -
      Returning the request object for further JSON serialization.
      -
      java.lang.StringgetURL() -
      Returning the URL suffix for accessing the specific service access point.
      -
      booleanisCommunicationSuccessful(BCgetScenes.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Stringname() -
      Returning a description of this communication pair.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Request.html deleted file mode 100644 index 6b4cfbbc17a81..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Request.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -BCidentifyProduct.Request - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCidentifyProduct.Request

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Request
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCidentifyProduct
    -
    -
    -
    -
    public static class BCidentifyProduct.Request
    -extends java.lang.Object
    -
    Bridge I/O Request message used by VeluxBridge for serializing: -

    - Resulting JSON (sample): - -

    - {"action":"identify","params":{"id":23,"time":254}}
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Request() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Request

        -
        public Request()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Response.html deleted file mode 100644 index e9dd061607e38..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.Response.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - -BCidentifyProduct.Response - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCidentifyProduct.Response

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCidentifyProduct
    -
    -
    -
    -
    public static class BCidentifyProduct.Response
    -extends java.lang.Object
    -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods -

    - Expected JSON (sample): - -

    - {
    - "token": "NkR/AA5xXj7iL6NiIW8keA==",
    - "result": false,
    - "deviceStatus": "IDLE",
    - "data": {},
    - "errors": [ 104 ]
    - }
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Response() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDeviceStatus() 
      java.lang.String[]getErrors() 
      booleangetResult() 
      java.lang.StringgetToken() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Response

        -
        public Response()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getToken

        -
        public java.lang.String getToken()
        -
      • -
      - - - -
        -
      • -

        getResult

        -
        public boolean getResult()
        -
      • -
      - - - -
        -
      • -

        getDeviceStatus

        -
        public java.lang.String getDeviceStatus()
        -
      • -
      - - - -
        -
      • -

        getErrors

        -
        public java.lang.String[] getErrors()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.html deleted file mode 100644 index 31ac2805ddb60..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - -BCidentifyProduct - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCidentifyProduct

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCidentifyProduct
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class BCidentifyProduct.Request -
      Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON (sample): - - - {"action":"identify","params":{"id":23,"time":254}} -
      -
      static class BCidentifyProduct.Response -
      Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token": "NkR/AA5xXj7iL6NiIW8keA==", - "result": false, - "deviceStatus": "IDLE", - "data": {}, - "errors": [ 104 ] - } -
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intDEFAULT_IDENTIFY_TIME 
      -
    • -
    - - - - -
  • -
-
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Request.html deleted file mode 100644 index e4ce8b7aa2fa0..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Request.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -BClogin.Request - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BClogin.Request

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BClogin.Request
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BClogin
    -
    -
    -
    -
    public static class BClogin.Request
    -extends java.lang.Object
    -
    Bridge I/O Request message used by VeluxBridge for serializing: -

    - Resulting JSON: - -

    - {"action":"login","params":{"password":"PASSWORD"}}
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Request() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Request

        -
        public Request()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Response.html deleted file mode 100644 index 84962d945e53f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.Response.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - -BClogin.Response - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BClogin.Response

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BClogin.Response
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BClogin
    -
    -
    -
    -
    public static class BClogin.Response
    -extends java.lang.Object
    -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods -

    - Expected JSON (sample): - -

    - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }'
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Response() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDeviceStatus() 
      java.lang.String[]getErrors() 
      booleangetResult() 
      java.lang.StringgetToken() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Response

        -
        public Response()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getToken

        -
        public java.lang.String getToken()
        -
      • -
      - - - -
        -
      • -

        getResult

        -
        public boolean getResult()
        -
      • -
      - - - -
        -
      • -

        getDeviceStatus

        -
        public java.lang.String getDeviceStatus()
        -
      • -
      - - - -
        -
      • -

        getErrors

        -
        public java.lang.String[] getErrors()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.html deleted file mode 100644 index 6c6263920afe6..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogin.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - - -BClogin - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BClogin

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BClogin
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class BClogin.Request -
      Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"login","params":{"password":"PASSWORD"}} -
      -
      static class BClogin.Response -
      Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }' -
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.Stringurl 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BClogin(java.lang.String pw) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthToken(BClogin.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Class<BClogin.Response>getClassOfResponse() -
      Returning the class of the object of response message for further JSON deserialization.
      -
      java.lang.StringgetDeviceStatus(BClogin.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.String[]getErrors(BClogin.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.ObjectgetObjectOfRequest() -
      Returning the request object for further JSON serialization.
      -
      java.lang.StringgetURL() -
      Returning the URL suffix for accessing the specific service access point.
      -
      booleanisCommunicationSuccessful(BClogin.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Stringname() -
      Returning a description of this communication pair.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Request.html deleted file mode 100644 index 4c76ae5d5bc1a..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Request.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -BClogout.Request - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BClogout.Request

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BClogout.Request
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BClogout
    -
    -
    -
    -
    public static class BClogout.Request
    -extends java.lang.Object
    -
    Bridge I/O Request message used by VeluxBridge for serializing: -

    - Resulting JSON: - -

    - {"action":"logout","params":{}}
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Request() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Request

        -
        public Request()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Response.html deleted file mode 100644 index daaff1c47aceb..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.Response.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - -BClogout.Response - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BClogout.Response

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BClogout.Response
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BClogout
    -
    -
    -
    -
    public static class BClogout.Response
    -extends java.lang.Object
    -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods -

    - Expected JSON (sample): - -

    - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }'
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Response() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDeviceStatus() 
      java.lang.String[]getErrors() 
      booleangetResult() 
      java.lang.StringgetToken() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Response

        -
        public Response()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getToken

        -
        public java.lang.String getToken()
        -
      • -
      - - - -
        -
      • -

        getResult

        -
        public boolean getResult()
        -
      • -
      - - - -
        -
      • -

        getDeviceStatus

        -
        public java.lang.String getDeviceStatus()
        -
      • -
      - - - -
        -
      • -

        getErrors

        -
        public java.lang.String[] getErrors()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.html deleted file mode 100644 index 78aa0f8a05296..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BClogout.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - - -BClogout - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BClogout

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BClogout
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class BClogout.Request -
      Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"logout","params":{}} -
      -
      static class BClogout.Response -
      Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }' -
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.Stringurl 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BClogout() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthToken(BClogout.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Class<BClogout.Response>getClassOfResponse() -
      Returning the class of the object of response message for further JSON deserialization.
      -
      java.lang.StringgetDeviceStatus(BClogout.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.String[]getErrors(BClogout.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.ObjectgetObjectOfRequest() -
      Returning the request object for further JSON serialization.
      -
      java.lang.StringgetURL() -
      Returning the URL suffix for accessing the specific service access point.
      -
      booleanisCommunicationSuccessful(BClogout.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Stringname() -
      Returning a description of this communication pair.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCproduct.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCproduct.html deleted file mode 100644 index 5363b2f1312f0..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCproduct.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - -BCproduct - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCproduct

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCproduct
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class BCproduct
    -extends java.lang.Object
    -
    Bridge Communication classes. -

    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution.
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BCproduct() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetCategory() 
      intgetId() 
      java.lang.StringgetName() 
      java.lang.String[]getScenes() 
      intgetSubtype() 
      intgetTypeId() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BCproduct

        -
        public BCproduct()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
      • -
      - - - -
        -
      • -

        getCategory

        -
        public java.lang.String getCategory()
        -
      • -
      - - - -
        -
      • -

        getId

        -
        public int getId()
        -
      • -
      - - - -
        -
      • -

        getTypeId

        -
        public int getTypeId()
        -
      • -
      - - - -
        -
      • -

        getSubtype

        -
        public int getSubtype()
        -
      • -
      - - - -
        -
      • -

        getScenes

        -
        public java.lang.String[] getScenes()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Request.html deleted file mode 100644 index 7d9c036ecd41e..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Request.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -BCrunScene.Request - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCrunScene.Request

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCrunScene.Request
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCrunScene
    -
    -
    -
    -
    public static class BCrunScene.Request
    -extends java.lang.Object
    -
    Bridge I/O Request message used by VeluxBridge for serializing: -

    - Resulting JSON (sample): - -

    - {"action":"run","params":{"id":9}}
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Request() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Request

        -
        public Request()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Response.html deleted file mode 100644 index b32a13415b873..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.Response.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - -BCrunScene.Response - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCrunScene.Response

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCrunScene.Response
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BCrunScene
    -
    -
    -
    -
    public static class BCrunScene.Response
    -extends java.lang.Object
    -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods -

    - Expected JSON (sample): - -

    - {
    -  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
    -  "result":true,
    -  "deviceStatus":"IDLE",
    -  "data":{},
    -  "errors":[]
    - }
    - 
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Response() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDeviceStatus() 
      java.lang.String[]getErrors() 
      booleangetResult() 
      java.lang.StringgetToken() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Response

        -
        public Response()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getToken

        -
        public java.lang.String getToken()
        -
      • -
      - - - -
        -
      • -

        getResult

        -
        public boolean getResult()
        -
      • -
      - - - -
        -
      • -

        getDeviceStatus

        -
        public java.lang.String getDeviceStatus()
        -
      • -
      - - - -
        -
      • -

        getErrors

        -
        public java.lang.String[] getErrors()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.html deleted file mode 100644 index 53739ab5f312b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BCrunScene.html +++ /dev/null @@ -1,551 +0,0 @@ - - - - - -BCrunScene - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Class BCrunScene

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.bridge.comm.BCrunScene
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class BCrunScene.Request -
      Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON (sample): - - - {"action":"run","params":{"id":9}} -
      -
      static class BCrunScene.Response -
      Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token":"RHIKGlJyZhidI/JSK0a2RQ==", - "result":true, - "deviceStatus":"IDLE", - "data":{}, - "errors":[] - } -
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.Stringurl 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BCrunScene(int id) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthToken(BCrunScene.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Class<BCrunScene.Response>getClassOfResponse() -
      Returning the class of the object of response message for further JSON deserialization.
      -
      java.lang.StringgetDeviceStatus(BCrunScene.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.String[]getErrors(BCrunScene.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.ObjectgetObjectOfRequest() -
      Returning the request object for further JSON serialization.
      -
      java.lang.StringgetURL() -
      Returning the URL suffix for accessing the specific service access point.
      -
      booleanisCommunicationSuccessful(BCrunScene.Response response) -
      Returning the communication status included within the response message.
      -
      java.lang.Stringname() -
      Returning a description of this communication pair.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.html deleted file mode 100644 index 7497341a6a36e..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - - -BridgeCommunicationProtocol - - - - - - - - - - - - -
-
org.openhab.binding.velux.bridge.comm
-

Interface BridgeCommunicationProtocol<T>

-
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthToken(T response) -
      Returning the communication status included within the response message.
      -
      java.lang.Class<T>getClassOfResponse() -
      Returning the class of the object of response message for further JSON deserialization.
      -
      java.lang.StringgetDeviceStatus(T response) -
      Returning the communication status included within the response message.
      -
      java.lang.String[]getErrors(T response) -
      Returning the communication status included within the response message.
      -
      java.lang.ObjectgetObjectOfRequest() -
      Returning the request object for further JSON serialization.
      -
      java.lang.StringgetURL() -
      Returning the URL suffix for accessing the specific service access point.
      -
      booleanisCommunicationSuccessful(T response) -
      Returning the communication status included within the response message.
      -
      java.lang.Stringname() -
      Returning a description of this communication pair.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        java.lang.String name()
        -
        Returning a description of this communication pair.
        -
        -
        Returns:
        -
        name - as String describing the communication pair for human beings.
        -
        -
      • -
      - - - -
        -
      • -

        getURL

        -
        java.lang.String getURL()
        -
        Returning the URL suffix for accessing the specific service access point.
        -
        -
        Returns:
        -
        sapURL - as String which is to be combined with the bridge address.
        -
        -
      • -
      - - - -
        -
      • -

        getObjectOfRequest

        -
        java.lang.Object getObjectOfRequest()
        -
        Returning the request object for further JSON serialization.
        -
        -
        Returns:
        -
        ObjectOfRequest - is an Object.
        -
        -
      • -
      - - - -
        -
      • -

        getClassOfResponse

        -
        java.lang.Class<T> getClassOfResponse()
        -
        Returning the class of the object of response message for further JSON deserialization.
        -
        -
        Returns:
        -
        ClassOfResponseObject - is the appropriate class Object.
        -
        -
      • -
      - - - - - -
        -
      • -

        isCommunicationSuccessful

        -
        boolean isCommunicationSuccessful(T response)
        -
        Returning the communication status included within the response message.
        -
        -
        Parameters:
        -
        response - From the bridge returned message to be examined.
        -
        Returns:
        -
        boolean - whether the operation according to the request was successful.
        -
        -
      • -
      - - - - - -
        -
      • -

        getAuthToken

        -
        java.lang.String getAuthToken(T response)
        -
        Returning the communication status included within the response message.
        -
        -
        Parameters:
        -
        response - From the bridge returned message to be examined.
        -
        Returns:
        -
        authentication token - as String which can be used for next operations.
        -
        -
      • -
      - - - - - -
        -
      • -

        getDeviceStatus

        -
        java.lang.String getDeviceStatus(T response)
        -
        Returning the communication status included within the response message.
        -
        -
        Parameters:
        -
        response - From the bridge returned message to be examined.
        -
        Returns:
        -
        deviceStatus - as String describing the current status of the bridge.
        -
        -
      • -
      - - - - - -
        -
      • -

        getErrors

        -
        java.lang.String[] getErrors(T response)
        -
        Returning the communication status included within the response message.
        -
        -
        Parameters:
        -
        response - From the bridge returned message to be examined.
        -
        Returns:
        -
        errors - as String[] describing the status of the operation according to the request in depth.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Request.html deleted file mode 100644 index 63201336b77cf..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Request.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetProducts.Request - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetProducts.Request

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCgetProducts.Request
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Response.html deleted file mode 100644 index 48e92c014424b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.Response.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetProducts.Response - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetProducts.Response

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.html deleted file mode 100644 index 56ef330a6adce..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetProducts.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetProducts - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetProducts

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCgetProducts
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCproductState.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCproductState.html deleted file mode 100644 index c7208ef38b2c3..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCproductState.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetScenes.BCproductState

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCscene.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCscene.html deleted file mode 100644 index 66ee3238cca9f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.BCscene.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetScenes.BCscene

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Request.html deleted file mode 100644 index df34f6ebc1e97..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Request.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetScenes.Request - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetScenes.Request

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCgetScenes.Request
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Response.html deleted file mode 100644 index 2c8c8aa0e6bb7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.Response.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetScenes.Response - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetScenes.Response

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.html deleted file mode 100644 index 4847d1a51c947..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCgetScenes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCgetScenes - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCgetScenes

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCgetScenes
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Request.html deleted file mode 100644 index c014420a834c3..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Request.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Request - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Request

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Request
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Response.html deleted file mode 100644 index 949cf1c53dcd1..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.Response.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCidentifyProduct.Response

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.html deleted file mode 100644 index 69914c65f632b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCidentifyProduct.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCidentifyProduct - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCidentifyProduct

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCidentifyProduct
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Request.html deleted file mode 100644 index 9de732f891bee..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Request.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BClogin.Request - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BClogin.Request

-
-
No usage of org.openhab.binding.velux.bridge.comm.BClogin.Request
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Response.html deleted file mode 100644 index e3d71c265836c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.Response.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BClogin.Response - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BClogin.Response

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.html deleted file mode 100644 index bffb06fbeda1b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogin.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BClogin - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BClogin

-
-
No usage of org.openhab.binding.velux.bridge.comm.BClogin
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Request.html deleted file mode 100644 index f657c8c989511..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Request.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BClogout.Request - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BClogout.Request

-
-
No usage of org.openhab.binding.velux.bridge.comm.BClogout.Request
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Response.html deleted file mode 100644 index bbfb695166d0a..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.Response.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BClogout.Response - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BClogout.Response

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.html deleted file mode 100644 index 7bd76fee02aa3..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BClogout.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BClogout - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BClogout

-
-
No usage of org.openhab.binding.velux.bridge.comm.BClogout
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCproduct.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCproduct.html deleted file mode 100644 index 332470a06bc54..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCproduct.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCproduct - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCproduct

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Request.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Request.html deleted file mode 100644 index 986a58f2a20f7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Request.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCrunScene.Request - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCrunScene.Request

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCrunScene.Request
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Response.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Response.html deleted file mode 100644 index dbfb56705b391..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.Response.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCrunScene.Response - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCrunScene.Response

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.html deleted file mode 100644 index 08d7fc19af231..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BCrunScene.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.bridge.comm.BCrunScene - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.bridge.comm.BCrunScene

-
-
No usage of org.openhab.binding.velux.bridge.comm.BCrunScene
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BridgeCommunicationProtocol.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BridgeCommunicationProtocol.html deleted file mode 100644 index fd1eae14f2491..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/class-use/BridgeCommunicationProtocol.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - -Uses of Interface org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol - - - - - - - - - - - -
-

Uses of Interface
org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-frame.html deleted file mode 100644 index ee2a76a763f37..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - -org.openhab.binding.velux.bridge.comm - - - - - -

org.openhab.binding.velux.bridge.comm

- - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-summary.html deleted file mode 100644 index 3204f434a85d0..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-summary.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - -org.openhab.binding.velux.bridge.comm - - - - - - - - - - - -
-

Package org.openhab.binding.velux.bridge.comm

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    BridgeCommunicationProtocol<T> -
    I/O messages supported by the Velux bridge.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    BCgetProducts -
    I/O messages supported by the Velux bridge.
    -
    BCgetProducts.Request -
    Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"get","params":{}} -
    -
    BCgetProducts.Response -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token": "pESIc/9zDWa1CJR6hCDzLw==", - "result": true, - "deviceStatus": "IDLE", - "data": [ - { "name": "Bad", - "category": "Window opener", - "id": 0, - "typeId": 4, - "subtype": 1, - "scenes": [ - "V_DG_Window_Mitte_000", - "V_DG_Window_Mitte_100" - ] - }, - ], - "errors": [] - } -
    -
    BCgetScenes -
    I/O messages supported by the Velux bridge.
    -
    BCgetScenes.BCproductState -
    Bridge Communication Structure containing the state of a product.
    -
    BCgetScenes.BCscene -
    Bridge Communication Structure containing a scene especially with different states of products.
    -
    BCgetScenes.Request -
    Bridge Communication Structure containing a request to be sent to the Velux Bridge.
    -
    BCgetScenes.Response -
    Bridge Communication Structure describing a response to be received from the Velux Bridge.
    -
    BCidentifyProduct -
    I/O messages supported by the Velux bridge.
    -
    BCidentifyProduct.Request -
    Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON (sample): - - - {"action":"identify","params":{"id":23,"time":254}} -
    -
    BCidentifyProduct.Response -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token": "NkR/AA5xXj7iL6NiIW8keA==", - "result": false, - "deviceStatus": "IDLE", - "data": {}, - "errors": [ 104 ] - } -
    -
    BClogin -
    I/O messages supported by the Velux bridge.
    -
    BClogin.Request -
    Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"login","params":{"password":"PASSWORD"}} -
    -
    BClogin.Response -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }' -
    -
    BClogout -
    I/O messages supported by the Velux bridge.
    -
    BClogout.Request -
    Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON: - - - {"action":"logout","params":{}} -
    -
    BClogout.Response -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - '{"token": "PHPnfLda71xfGlxoYEOTGQ==", "result": true, "deviceStatus": "IDLE", "data": {}, "errors": [] }' -
    -
    BCproduct -
    Bridge Communication classes.
    -
    BCrunScene -
    I/O messages supported by the Velux bridge.
    -
    BCrunScene.Request -
    Bridge I/O Request message used by VeluxBridge for serializing: - - Resulting JSON (sample): - - - {"action":"run","params":{"id":9}} -
    -
    BCrunScene.Response -
    Bridge I/O Response message used by VeluxBridge for deserializing with including component access methods - - Expected JSON (sample): - - - { - "token":"RHIKGlJyZhidI/JSK0a2RQ==", - "result":true, - "deviceStatus":"IDLE", - "data":{}, - "errors":[] - } -
    -
    -
  • -
-
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-tree.html deleted file mode 100644 index 2143fe453f5fe..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-tree.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - -org.openhab.binding.velux.bridge.comm Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux.bridge.comm

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-use.html deleted file mode 100644 index 8ea530856e5ca..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/comm/package-use.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux.bridge.comm - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux.bridge.comm

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-frame.html deleted file mode 100644 index 6bd8a5435ea43..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - -org.openhab.binding.velux.bridge - - - - - -

org.openhab.binding.velux.bridge

-
-

Classes

- -
- - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-summary.html deleted file mode 100644 index 968d3f3362b74..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -org.openhab.binding.velux.bridge - - - - - - - - - - - -
-

Package org.openhab.binding.velux.bridge

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    VeluxBridge -
    Basic I/O interface towards the Velux bridge.
    -
    -
  • -
-
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-tree.html deleted file mode 100644 index f34c39329439c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -org.openhab.binding.velux.bridge Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux.bridge

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object - -
  • -
-
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-use.html deleted file mode 100644 index 9fc3f2d730034..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/bridge/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux.bridge - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux.bridge

-
-
No usage of org.openhab.binding.velux.bridge
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/class-use/VeluxBindingConstants.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/class-use/VeluxBindingConstants.html deleted file mode 100644 index 2f45349741b84..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/class-use/VeluxBindingConstants.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.VeluxBindingConstants - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.VeluxBindingConstants

-
-
No usage of org.openhab.binding.velux.VeluxBindingConstants
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.html deleted file mode 100644 index 20a5718b10eb7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - -VeluxBridgeDiscovery - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Class VeluxBridgeDiscovery

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.handler.VeluxBridgeDiscovery
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxBridgeDiscovery
    -extends java.lang.Object
    -
    The VeluxBridgeDiscovery is responsible for handling commands, which are - sent to one of the channels.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeExecute.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeExecute.html deleted file mode 100644 index c965a999251e5..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeExecute.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - -VeluxBridgeExecute - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Class VeluxBridgeExecute

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.handler.VeluxBridgeExecute
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxBridgeExecute
    -extends java.lang.Object
    -
    The VeluxBridgeExecute is responsible for handling commands, which are - sent to one of the channels.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      VeluxBridgeExecute() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static booleanexecute(VeluxBridgeHandler bridge, - int sceneNo) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxBridgeExecute

        -
        public VeluxBridgeExecute()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandler.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandler.html deleted file mode 100644 index 231279a6064fa..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandler.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - -VeluxBridgeHandler - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Class VeluxBridgeHandler

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.eclipse.smarthome.core.thing.binding.BaseThingHandler
    • -
    • -
        -
      • org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler
      • -
      • -
          -
        • org.openhab.binding.velux.handler.VeluxBridgeHandler
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.eclipse.smarthome.core.thing.binding.BridgeHandler, org.eclipse.smarthome.core.thing.binding.ThingHandler
    -
    -
    -
    -
    public class VeluxBridgeHandler
    -extends org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler
    -
    The VeluxBridgeHandler is responsible for handling of the communication, - which is sent via the bridge to support the different channels. -

    - Besides the usual BaseBridgeHandler methods, it provides three methods - for interaction, -

    - Beside the method parameters, the behaviour is controlled by VeluxBridgeConfiguration.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      VeluxBridgeHandler(org.eclipse.smarthome.core.thing.Bridge bridge) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      <T> TbridgeCommunicate(BridgeCommunicationProtocol<T> communication) -
      Initializes a client/server communication towards Velux bridge - based on the Basic I/O interface VeluxBridge and parameters - passed as arguments (see below) and provided by VeluxBridgeConfiguration.
      -
      booleanbridgeLogin() -
      Prepares an authorization request and communicate it with the Velux bridge.
      -
      booleanbridgeLogout() -
      Prepares an (authenticated!)
      -
      voidchildHandlerDisposed(org.eclipse.smarthome.core.thing.binding.ThingHandler childHandler, - org.eclipse.smarthome.core.thing.Thing childThing)
      voidchildHandlerInitialized(org.eclipse.smarthome.core.thing.binding.ThingHandler childHandler, - org.eclipse.smarthome.core.thing.Thing childThing)
      voiddispose()
      voidhandleCommand(org.eclipse.smarthome.core.thing.ChannelUID channelUID, - org.eclipse.smarthome.core.types.Command command)
      voidinitialize()
      -
        -
      • - - -

        Methods inherited from class org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler

        -editThing, getThing, getThingByUID
      • -
      -
        -
      • - - -

        Methods inherited from class org.eclipse.smarthome.core.thing.binding.BaseThingHandler

        -bridgeStatusChanged, changeThingType, channelLinked, channelUnlinked, editConfiguration, editProperties, getBridge, getConfig, getConfigAs, handleConfigurationUpdate, handleRemoval, handleUpdate, isInitialized, isLinked, postCommand, postCommand, setBundleContext, setCallback, thingUpdated, triggerChannel, triggerChannel, triggerChannel, triggerChannel, unsetBundleContext, updateConfiguration, updateProperties, updateProperty, updateState, updateState, updateStatus, updateStatus, updateStatus, updateThing, validateConfigurationParameters
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface org.eclipse.smarthome.core.thing.binding.ThingHandler

        -bridgeStatusChanged, channelLinked, channelUnlinked, handleConfigurationUpdate, handleRemoval, handleUpdate, setCallback, thingUpdated
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxBridgeHandler

        -
        public VeluxBridgeHandler(org.eclipse.smarthome.core.thing.Bridge bridge)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -
        -
        Specified by:
        -
        initialize in interface org.eclipse.smarthome.core.thing.binding.ThingHandler
        -
        Overrides:
        -
        initialize in class org.eclipse.smarthome.core.thing.binding.BaseThingHandler
        -
        -
      • -
      - - - -
        -
      • -

        dispose

        -
        public void dispose()
        -
        -
        Specified by:
        -
        dispose in interface org.eclipse.smarthome.core.thing.binding.ThingHandler
        -
        Overrides:
        -
        dispose in class org.eclipse.smarthome.core.thing.binding.BaseThingHandler
        -
        -
      • -
      - - - -
        -
      • -

        handleCommand

        -
        public void handleCommand(org.eclipse.smarthome.core.thing.ChannelUID channelUID,
        -                          org.eclipse.smarthome.core.types.Command command)
        -
      • -
      - - - -
        -
      • -

        childHandlerInitialized

        -
        public void childHandlerInitialized(org.eclipse.smarthome.core.thing.binding.ThingHandler childHandler,
        -                                    org.eclipse.smarthome.core.thing.Thing childThing)
        -
        -
        Specified by:
        -
        childHandlerInitialized in interface org.eclipse.smarthome.core.thing.binding.BridgeHandler
        -
        Overrides:
        -
        childHandlerInitialized in class org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler
        -
        -
      • -
      - - - -
        -
      • -

        childHandlerDisposed

        -
        public void childHandlerDisposed(org.eclipse.smarthome.core.thing.binding.ThingHandler childHandler,
        -                                 org.eclipse.smarthome.core.thing.Thing childThing)
        -
        -
        Specified by:
        -
        childHandlerDisposed in interface org.eclipse.smarthome.core.thing.binding.BridgeHandler
        -
        Overrides:
        -
        childHandlerDisposed in class org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler
        -
        -
      • -
      - - - -
        -
      • -

        bridgeLogin

        -
        public boolean bridgeLogin()
        -
        Prepares an authorization request and communicate it with the Velux bridge. - In the positive case, the return authorization token will be stored within this class - for any further communication via up - to a deauthorization with method bridgeLogout()
        -
        -
        Returns:
        -
        boolean - whether the logout operation according to the request was successful.
        -
        -
      • -
      - - - -
        -
      • -

        bridgeLogout

        -
        public boolean bridgeLogout()
        -
        Prepares an (authenticated!) deauthorization request and communicate it with the Velux bridge. - In any case, the authorization token stored in this class will be destroyed, so that the - next communication has to start with bridgeLogin().
        -
        -
        Returns:
        -
        boolean - whether the logout operation according to the request was successful.
        -
        -
      • -
      - - - -
        -
      • -

        bridgeCommunicate

        -
        public <T> T bridgeCommunicate(BridgeCommunicationProtocol<T> communication)
        -
        Initializes a client/server communication towards Velux bridge - based on the Basic I/O interface VeluxBridge and parameters - passed as arguments (see below) and provided by VeluxBridgeConfiguration.
        -
        -
        Type Parameters:
        -
        T - generic response based on details within communication.
        -
        Parameters:
        -
        communication - Structure of interface type BridgeCommunicationProtocol describing the intended communication, - that is request and response interactions as well as appropriate URL definition.
        -
        Returns:
        -
        response - of type T containing all resulting informations, i.e. device status, errors a.s.o. Will return - null in case of communication or decoding error.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.html deleted file mode 100644 index 84367e7c81063..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - -VeluxBridgeHandlerTester - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Class VeluxBridgeHandlerTester

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.handler.VeluxBridgeHandlerTester
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxBridgeHandlerTester
    -extends java.lang.Object
    -
    The VeluxBridgeHandlerTester is a quick approach to verify all functions - provided by the VeluxBridgeHandler like querying for scenes and products.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxBridgeHandlerTester

        -
        public VeluxBridgeHandlerTester()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.Channel.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.Channel.html deleted file mode 100644 index b3b97ca0d0ed2..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.Channel.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - -VeluxChannel.Channel - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Enum VeluxChannel.Channel

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Enum<VeluxChannel.Channel>
    • -
    • -
        -
      • org.openhab.binding.velux.handler.VeluxChannel.Channel
      • -
      -
    • -
    -
  • -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      ACTION 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetPosition() 
      static VeluxChannel.ChannelvalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static VeluxChannel.Channel[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static VeluxChannel.Channel[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (VeluxChannel.Channel c : VeluxChannel.Channel.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static VeluxChannel.Channel valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      - - - -
        -
      • -

        getPosition

        -
        public int getPosition()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.html deleted file mode 100644 index 3b51f87958c7c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxChannel.html +++ /dev/null @@ -1,349 +0,0 @@ - - - - - -VeluxChannel - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Class VeluxChannel

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.handler.VeluxChannel
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxChannel
    -extends java.lang.Object
    -
    The VeluxChannel is responsible for handling commands, which are - sent via VeluxBridgeHandler to one of the channels.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class VeluxChannel.Channel 
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringSUBSEPARATUR 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      VeluxChannel() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.StringgetChannelId(java.lang.String getId) 
      static java.lang.StringgetChannelSubId(java.lang.String getId) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxChannel

        -
        public VeluxChannel()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getChannelId

        -
        public static java.lang.String getChannelId(java.lang.String getId)
        -
      • -
      - - - -
        -
      • -

        getChannelSubId

        -
        public static java.lang.String getChannelSubId(java.lang.String getId)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxHandler.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxHandler.html deleted file mode 100644 index 3e7191404a999..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/VeluxHandler.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - -VeluxHandler - - - - - - - - - - - - -
-
org.openhab.binding.velux.handler
-

Class VeluxHandler

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.eclipse.smarthome.core.thing.binding.BaseThingHandler
    • -
    • -
        -
      • org.openhab.binding.velux.handler.VeluxHandler
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.eclipse.smarthome.core.thing.binding.ThingHandler
    -
    -
    -
    -
    public class VeluxHandler
    -extends org.eclipse.smarthome.core.thing.binding.BaseThingHandler
    -
    The VeluxHandler is responsible for handling commands, which are - sent via VeluxBridgeHandler to one of the channels.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.util.Set<org.eclipse.smarthome.core.thing.ThingTypeUID>SUPPORTED_THING_TYPES_UIDS -
      Set of things provided by VeluxHandler.
      -
      -
        -
      • - - -

        Fields inherited from class org.eclipse.smarthome.core.thing.binding.BaseThingHandler

        -bundleContext, linkRegistry, scheduler, thing, thingRegistry
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      VeluxHandler(org.eclipse.smarthome.core.thing.Thing thing) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voiddispose()
      org.eclipse.smarthome.core.types.StategetChannelValue(java.lang.String channelString) 
      org.eclipse.smarthome.core.types.StategetChannelValue(VeluxChannel.Channel item) 
      voidhandleCommand(org.eclipse.smarthome.core.thing.ChannelUID channelUID, - org.eclipse.smarthome.core.types.Command command)
      voidinitialize()
      -
        -
      • - - -

        Methods inherited from class org.eclipse.smarthome.core.thing.binding.BaseThingHandler

        -bridgeStatusChanged, changeThingType, channelLinked, channelUnlinked, editConfiguration, editProperties, editThing, getBridge, getConfig, getConfigAs, getThing, handleConfigurationUpdate, handleRemoval, handleUpdate, isInitialized, isLinked, postCommand, postCommand, setBundleContext, setCallback, thingUpdated, triggerChannel, triggerChannel, triggerChannel, triggerChannel, unsetBundleContext, updateConfiguration, updateProperties, updateProperty, updateState, updateState, updateStatus, updateStatus, updateStatus, updateThing, validateConfigurationParameters
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        SUPPORTED_THING_TYPES_UIDS

        -
        public static final java.util.Set<org.eclipse.smarthome.core.thing.ThingTypeUID> SUPPORTED_THING_TYPES_UIDS
        -
        Set of things provided by VeluxHandler.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxHandler

        -
        public VeluxHandler(org.eclipse.smarthome.core.thing.Thing thing)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -
        -
        Specified by:
        -
        initialize in interface org.eclipse.smarthome.core.thing.binding.ThingHandler
        -
        Overrides:
        -
        initialize in class org.eclipse.smarthome.core.thing.binding.BaseThingHandler
        -
        -
      • -
      - - - -
        -
      • -

        dispose

        -
        public void dispose()
        -
        -
        Specified by:
        -
        dispose in interface org.eclipse.smarthome.core.thing.binding.ThingHandler
        -
        Overrides:
        -
        dispose in class org.eclipse.smarthome.core.thing.binding.BaseThingHandler
        -
        -
      • -
      - - - -
        -
      • -

        getChannelValue

        -
        public org.eclipse.smarthome.core.types.State getChannelValue(VeluxChannel.Channel item)
        -
      • -
      - - - -
        -
      • -

        getChannelValue

        -
        public org.eclipse.smarthome.core.types.State getChannelValue(java.lang.String channelString)
        -
      • -
      - - - -
        -
      • -

        handleCommand

        -
        public void handleCommand(org.eclipse.smarthome.core.thing.ChannelUID channelUID,
        -                          org.eclipse.smarthome.core.types.Command command)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeDiscovery.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeDiscovery.html deleted file mode 100644 index 6894a43dd05b4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeDiscovery.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxBridgeDiscovery - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxBridgeDiscovery

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeExecute.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeExecute.html deleted file mode 100644 index 1360ff7bfcf7b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeExecute.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxBridgeExecute - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxBridgeExecute

-
-
No usage of org.openhab.binding.velux.handler.VeluxBridgeExecute
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandler.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandler.html deleted file mode 100644 index de9430ec991e2..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandler.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxBridgeHandler - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxBridgeHandler

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandlerTester.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandlerTester.html deleted file mode 100644 index 99829f9606049..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxBridgeHandlerTester.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxBridgeHandlerTester - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxBridgeHandlerTester

-
-
No usage of org.openhab.binding.velux.handler.VeluxBridgeHandlerTester
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.Channel.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.Channel.html deleted file mode 100644 index 1e7455b20f438..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.Channel.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxChannel.Channel - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxChannel.Channel

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.html deleted file mode 100644 index 7d8c2feb82abf..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxChannel.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxChannel - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxChannel

-
-
No usage of org.openhab.binding.velux.handler.VeluxChannel
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxHandler.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxHandler.html deleted file mode 100644 index a47e8ebc07519..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/class-use/VeluxHandler.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.handler.VeluxHandler - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.handler.VeluxHandler

-
-
No usage of org.openhab.binding.velux.handler.VeluxHandler
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-frame.html deleted file mode 100644 index f7cacd88be17f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -org.openhab.binding.velux.handler - - - - - -

org.openhab.binding.velux.handler

- - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-summary.html deleted file mode 100644 index e2bd47452f0ca..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-summary.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -org.openhab.binding.velux.handler - - - - - - - - - - - -
-

Package org.openhab.binding.velux.handler

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-tree.html deleted file mode 100644 index 78f133a5454eb..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-tree.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -org.openhab.binding.velux.handler Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux.handler

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • org.eclipse.smarthome.core.thing.binding.BaseThingHandler (implements org.eclipse.smarthome.core.thing.binding.ThingHandler) -
        -
      • org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler (implements org.eclipse.smarthome.core.thing.binding.BridgeHandler) - -
      • -
      • org.openhab.binding.velux.handler.VeluxHandler
      • -
      -
    • -
    • org.openhab.binding.velux.handler.VeluxBridgeDiscovery
    • -
    • org.openhab.binding.velux.handler.VeluxBridgeExecute
    • -
    • org.openhab.binding.velux.handler.VeluxBridgeHandlerTester
    • -
    • org.openhab.binding.velux.handler.VeluxChannel
    • -
    -
  • -
-

Enum Hierarchy

-
    -
  • java.lang.Object -
      -
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) - -
    • -
    -
  • -
-
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-use.html deleted file mode 100644 index 9a8920ce3e949..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/handler/package-use.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux.handler - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux.handler

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/VeluxHandlerFactory.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/VeluxHandlerFactory.html deleted file mode 100644 index 70b18b4e3d936..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/VeluxHandlerFactory.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - -VeluxHandlerFactory - - - - - - - - - - - - -
-
org.openhab.binding.velux.internal
-

Class VeluxHandlerFactory

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory
    • -
    • -
        -
      • org.openhab.binding.velux.internal.VeluxHandlerFactory
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory
    -
    -
    -
    -
    public class VeluxHandlerFactory
    -extends org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory
    -
    The VeluxHandlerFactory is responsible for creating things and thing - handlers.
    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory

        -bundleContext
      • -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      protected org.eclipse.smarthome.core.thing.binding.ThingHandlercreateHandler(org.eclipse.smarthome.core.thing.Thing thing)
      booleansupportsThingType(org.eclipse.smarthome.core.thing.ThingTypeUID thingTypeUID)
      -
        -
      • - - -

        Methods inherited from class org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory

        -activate, createThing, createThing, deactivate, getConfigDescriptionRegistry, getThingTypeByUID, registerHandler, removeHandler, removeThing, unregisterHandler
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxHandlerFactory

        -
        public VeluxHandlerFactory()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        supportsThingType

        -
        public boolean supportsThingType(org.eclipse.smarthome.core.thing.ThingTypeUID thingTypeUID)
        -
      • -
      - - - -
        -
      • -

        createHandler

        -
        protected org.eclipse.smarthome.core.thing.binding.ThingHandler createHandler(org.eclipse.smarthome.core.thing.Thing thing)
        -
        -
        Specified by:
        -
        createHandler in class org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/class-use/VeluxHandlerFactory.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/class-use/VeluxHandlerFactory.html deleted file mode 100644 index 10699c9ea5cb5..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/class-use/VeluxHandlerFactory.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.internal.VeluxHandlerFactory - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.internal.VeluxHandlerFactory

-
-
No usage of org.openhab.binding.velux.internal.VeluxHandlerFactory
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.html deleted file mode 100644 index cf844b0d229c5..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - -VeluxBridgeConfiguration - - - - - - - - - - - - -
-
org.openhab.binding.velux.internal.config
-

Class VeluxBridgeConfiguration

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.eclipse.smarthome.config.core.Configuration
    • -
    • -
        -
      • org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxBridgeConfiguration
    -extends org.eclipse.smarthome.config.core.Configuration
    -
    The VeluxBridgeConfiguration is a wrapper for - configuration settings needed to access the VeluxBridgeHandler - device. -

    - It contains the factory default values as well. -

    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      VeluxBridgeConfiguration() -
      Default values - should not be modified
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class org.eclipse.smarthome.config.core.Configuration

        -as, containsKey, equals, get, get, getProperties, hashCode, keySet, put, remove, remove, setProperties, toString, values
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        BRIDGE_URL

        -
        public static final java.lang.String BRIDGE_URL
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        BRIDGE_PASSWORD

        -
        public static final java.lang.String BRIDGE_PASSWORD
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        BRIDGE_TIMEOUT_MSECS

        -
        public static final java.lang.String BRIDGE_TIMEOUT_MSECS
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        BRIDGE_RETRIES

        -
        public static final java.lang.String BRIDGE_RETRIES
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        bridgeURL

        -
        public java.lang.String bridgeURL
        -
      • -
      - - - -
        -
      • -

        bridgePassword

        -
        public java.lang.String bridgePassword
        -
      • -
      - - - -
        -
      • -

        timeoutMsecs

        -
        public int timeoutMsecs
        -
      • -
      - - - -
        -
      • -

        retries

        -
        public int retries
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxBridgeConfiguration

        -
        public VeluxBridgeConfiguration()
        -
        Default values - should not be modified
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.html deleted file mode 100644 index e415e79841e35..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -VeluxThingConfiguration - - - - - - - - - - - - -
-
org.openhab.binding.velux.internal.config
-

Class VeluxThingConfiguration

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.eclipse.smarthome.config.core.Configuration
    • -
    • -
        -
      • org.openhab.binding.velux.internal.config.VeluxThingConfiguration
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxThingConfiguration
    -extends org.eclipse.smarthome.config.core.Configuration
    -
    The VeluxThingConfiguration is a wrapper for - configuration settings needed to access the Velux device to be used for method - VeluxHandler.initialize(). -

    - It contains the factory default values as well. -

    -
    -
    Author:
    -
    Guenther Schreiner - Initial contribution
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      VeluxThingConfiguration() -
      Default values - should not be modified
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class org.eclipse.smarthome.config.core.Configuration

        -as, containsKey, equals, get, get, getProperties, hashCode, keySet, put, remove, remove, setProperties, toString, values
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        THING_REFRESH_SECS

        -
        public static final java.lang.String THING_REFRESH_SECS
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        refreshSecs

        -
        public int refreshSecs
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxThingConfiguration

        -
        public VeluxThingConfiguration()
        -
        Default values - should not be modified
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxBridgeConfiguration.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxBridgeConfiguration.html deleted file mode 100644 index 9ea2eaad9daa7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxBridgeConfiguration.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration

-
-
No usage of org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxThingConfiguration.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxThingConfiguration.html deleted file mode 100644 index b118211dcdc0e..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/class-use/VeluxThingConfiguration.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.internal.config.VeluxThingConfiguration - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.internal.config.VeluxThingConfiguration

-
-
No usage of org.openhab.binding.velux.internal.config.VeluxThingConfiguration
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-frame.html deleted file mode 100644 index d05bc6cb991cc..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - -org.openhab.binding.velux.internal.config - - - - - -

org.openhab.binding.velux.internal.config

- - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-summary.html deleted file mode 100644 index 1059a222c5698..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-summary.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - -org.openhab.binding.velux.internal.config - - - - - - - - - - - -
-

Package org.openhab.binding.velux.internal.config

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-tree.html deleted file mode 100644 index eac584587a6e6..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -org.openhab.binding.velux.internal.config Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux.internal.config

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-use.html deleted file mode 100644 index 3388f386e669d..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/config/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux.internal.config - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux.internal.config

-
-
No usage of org.openhab.binding.velux.internal.config
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-frame.html deleted file mode 100644 index e512471958ba4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - -org.openhab.binding.velux.internal - - - - - -

org.openhab.binding.velux.internal

-
-

Classes

- -
- - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-summary.html deleted file mode 100644 index 0c6cd27a18131..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-summary.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -org.openhab.binding.velux.internal - - - - - - - - - - - -
-

Package org.openhab.binding.velux.internal

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-tree.html deleted file mode 100644 index 6f63cb65cb109..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -org.openhab.binding.velux.internal Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory (implements org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory) - -
    • -
    -
  • -
-
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-use.html deleted file mode 100644 index 1052a3b493ea5..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/internal/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux.internal - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux.internal

-
-
No usage of org.openhab.binding.velux.internal
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-frame.html deleted file mode 100644 index 933caeccaec08..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - -org.openhab.binding.velux - - - - - -

org.openhab.binding.velux

-
-

Classes

- -
- - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-summary.html deleted file mode 100644 index bc5d7e2fe8636..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-summary.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -org.openhab.binding.velux - - - - - - - - - - - -
-

Package org.openhab.binding.velux

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-tree.html deleted file mode 100644 index deced37df8fdc..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -org.openhab.binding.velux Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-use.html deleted file mode 100644 index 8e9ae8ea764d7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux

-
-
No usage of org.openhab.binding.velux
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingProducts.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingProducts.html deleted file mode 100644 index 016ee9fd46cdf..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingProducts.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - -VeluxExistingProducts - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxExistingProducts

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxExistingProducts
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxExistingProducts
    -extends java.lang.Object
    -
    Combined set of product informations provided by the Velux bridge, - which can be used for later interactions.
    -
    -
    Author:
    -
    Guenther Schreiner - initial contribution.
    -
    See Also:
    -
    VeluxProduct
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxExistingProducts

        -
        public VeluxExistingProducts()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isRegistered

        -
        public boolean isRegistered(java.lang.String productUniqueIndex)
        -
      • -
      - - - -
        -
      • -

        isRegistered

        -
        public boolean isRegistered(VeluxProduct product)
        -
      • -
      - - - -
        -
      • -

        register

        -
        public boolean register(VeluxProduct newProduct)
        -
      • -
      - - - -
        -
      • -

        get

        -
        public VeluxProduct get(java.lang.String productUniqueIndex)
        -
      • -
      - - - - - - - -
        -
      • -

        getNoMembers

        -
        public int getNoMembers()
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingScenes.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingScenes.html deleted file mode 100644 index 79ac1f6675663..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxExistingScenes.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - -VeluxExistingScenes - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxExistingScenes

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxExistingScenes
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxExistingScenes
    -extends java.lang.Object
    -
    Combined set of scene informations provided by the Velux bridge, - which can be used for later interactions.
    -
    -
    Author:
    -
    Guenther Schreiner - initial contribution.
    -
    See Also:
    -
    VeluxScene
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VeluxExistingScenes

        -
        public VeluxExistingScenes()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        isRegistered

        -
        public boolean isRegistered(VeluxScene scene)
        -
      • -
      - - - -
        -
      • -

        register

        -
        public boolean register(VeluxScene newScene)
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getNoMembers

        -
        public int getNoMembers()
        -
      • -
      - - - -
        -
      • -

        dummyTest

        -
        public void dummyTest()
        -
      • -
      - - - - - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductBridgeIndex.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductBridgeIndex.html deleted file mode 100644 index b99bde7fc3731..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductBridgeIndex.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - -VeluxProduct.ProductBridgeIndex - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxProduct.ProductBridgeIndex

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxProduct.ProductBridgeIndex
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    VeluxProduct
    -
    -
    -
    -
    public static class VeluxProduct.ProductBridgeIndex
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductName.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductName.html deleted file mode 100644 index 280e12a9c93a4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductName.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - -VeluxProduct.ProductName - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxProduct.ProductName

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxProduct.ProductName
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    VeluxProduct
    -
    -
    -
    -
    public static class VeluxProduct.ProductName
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductTypeId.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductTypeId.html deleted file mode 100644 index c7dc7087a7c8f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.ProductTypeId.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - -VeluxProduct.ProductTypeId - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Enum VeluxProduct.ProductTypeId

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static VeluxProduct.ProductTypeId[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (VeluxProduct.ProductTypeId c : VeluxProduct.ProductTypeId.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static VeluxProduct.ProductTypeId valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      - - - -
        -
      • -

        getTypeId

        -
        public int getTypeId()
        -
      • -
      - - - -
        -
      • -

        getSubtype

        -
        public int getSubtype()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.html deleted file mode 100644 index 0a3e1e22fc398..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProduct.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - -VeluxProduct - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxProduct

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxProduct
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxProduct
    -extends java.lang.Object
    -
    Velux product representation. -

    - Combined set of information describing a single Velux product.

    -
    -
    Author:
    -
    Guenther Schreiner - initial contribution.
    -
    -
  • -
-
-
- -
-
- -
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductReference.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductReference.html deleted file mode 100644 index 943d51bc7e976..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductReference.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - -VeluxProductReference - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxProductReference

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxProductReference
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxProductReference
    -extends java.lang.Object
    -
    Velux product reference representation. -

    - Combined set of information with reference towards a single Velux product.

    -
    -
    Author:
    -
    Guenther Schreiner - initial contribution.
    -
    See Also:
    -
    VeluxProduct
    -
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getProductUniqueIndex

        -
        public java.lang.String getProductUniqueIndex()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.ProductState.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.ProductState.html deleted file mode 100644 index 44ddcbbf552ea..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.ProductState.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - -VeluxProductState.ProductState - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxProductState.ProductState

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxProductState.ProductState
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    VeluxProductState
    -
    -
    -
    -
    public class VeluxProductState.ProductState
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetState() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getState

        -
        public int getState()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.html deleted file mode 100644 index 8b44fc650d8d7..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxProductState.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - -VeluxProductState - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxProductState

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxProductState
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxProductState
    -extends java.lang.Object
    -
    Velux product status representation. -

    - Combined set of information which describes a current state of a single Velux product.

    -
    -
    Author:
    -
    Guenther Schreiner - initial contribution.
    -
    See Also:
    -
    VeluxProduct
    -
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getActuator

        -
        public int getActuator()
        -
      • -
      - - - - - - - -
        -
      • -

        getStateAsInt

        -
        public int getStateAsInt()
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneBridgeIndex.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneBridgeIndex.html deleted file mode 100644 index 1ab9035491fb1..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneBridgeIndex.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - -VeluxScene.SceneBridgeIndex - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxScene.SceneBridgeIndex

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxScene.SceneBridgeIndex
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    VeluxScene
    -
    -
    -
    -
    public static class VeluxScene.SceneBridgeIndex
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      inttoInt() 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        toInt

        -
        public int toInt()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneName.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneName.html deleted file mode 100644 index 90aa4cd9b462e..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.SceneName.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - -VeluxScene.SceneName - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxScene.SceneName

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxScene.SceneName
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    VeluxScene
    -
    -
    -
    -
    public static class VeluxScene.SceneName
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      SceneName(java.lang.String name) 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SceneName

        -
        public SceneName(java.lang.String name)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.html deleted file mode 100644 index f09f89bb51a65..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/VeluxScene.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - -VeluxScene - - - - - - - - - - - - -
-
org.openhab.binding.velux.things
-

Class VeluxScene

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.openhab.binding.velux.things.VeluxScene
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class VeluxScene
    -extends java.lang.Object
    -
    Velux scene representation. -

    - Combined set of information with references towards multiple Velux product states.

    -
    -
    Author:
    -
    Guenther Schreiner - initial contribution.
    -
    See Also:
    -
    VeluxProductState
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - - - -
        -
      • -

        VeluxScene

        -
        public VeluxScene(java.lang.String name,
        -                  int sceneBridgeIndex,
        -                  boolean silentOperation,
        -                  VeluxProductState[] actions)
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingProducts.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingProducts.html deleted file mode 100644 index d7dae1fe70d2b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingProducts.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxExistingProducts - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxExistingProducts

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingScenes.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingScenes.html deleted file mode 100644 index 060a0cda26c26..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxExistingScenes.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxExistingScenes - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxExistingScenes

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductBridgeIndex.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductBridgeIndex.html deleted file mode 100644 index bd1048df45fe9..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductBridgeIndex.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProduct.ProductBridgeIndex - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProduct.ProductBridgeIndex

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductName.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductName.html deleted file mode 100644 index ed60ec8b22e9c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductName.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProduct.ProductName - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProduct.ProductName

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductTypeId.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductTypeId.html deleted file mode 100644 index bdef0ecada3bc..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.ProductTypeId.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProduct.ProductTypeId - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProduct.ProductTypeId

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.html deleted file mode 100644 index 3c9db9aeacccd..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProduct.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProduct - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProduct

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductReference.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductReference.html deleted file mode 100644 index 221ba052b3fbb..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductReference.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProductReference - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProductReference

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.ProductState.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.ProductState.html deleted file mode 100644 index e12387fbfa923..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.ProductState.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProductState.ProductState - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProductState.ProductState

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.html deleted file mode 100644 index 8bb1af47002cc..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxProductState.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxProductState - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxProductState

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneBridgeIndex.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneBridgeIndex.html deleted file mode 100644 index 92b98fa9e5e92..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneBridgeIndex.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxScene.SceneBridgeIndex - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxScene.SceneBridgeIndex

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneName.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneName.html deleted file mode 100644 index bf3e7fb3d8283..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.SceneName.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxScene.SceneName - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxScene.SceneName

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.html deleted file mode 100644 index c7a7bf0ddeab4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/class-use/VeluxScene.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - -Uses of Class org.openhab.binding.velux.things.VeluxScene - - - - - - - - - - - -
-

Uses of Class
org.openhab.binding.velux.things.VeluxScene

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-frame.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-frame.html deleted file mode 100644 index 0ae50a33f6662..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-frame.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -org.openhab.binding.velux.things - - - - - -

org.openhab.binding.velux.things

- - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-summary.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-summary.html deleted file mode 100644 index 63ba16fb260e4..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - -org.openhab.binding.velux.things - - - - - - - - - - - -
-

Package org.openhab.binding.velux.things

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-tree.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-tree.html deleted file mode 100644 index feb25db763f49..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -org.openhab.binding.velux.things Class Hierarchy - - - - - - - - - - - -
-

Hierarchy For Package org.openhab.binding.velux.things

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

-
    -
  • java.lang.Object -
      -
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) - -
    • -
    -
  • -
-
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-use.html b/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-use.html deleted file mode 100644 index 5ac9c47cfc91c..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/org/openhab/binding/velux/things/package-use.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -Uses of Package org.openhab.binding.velux.things - - - - - - - - - - - -
-

Uses of Package
org.openhab.binding.velux.things

-
-
- -
- - - - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/overview-frame.html b/addons/binding/org.openhab.binding.velux/doc/overview-frame.html deleted file mode 100644 index 9350c1609f617..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/overview-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -Overview List - - - - - - - -

 

- - diff --git a/addons/binding/org.openhab.binding.velux/doc/overview-summary.html b/addons/binding/org.openhab.binding.velux/doc/overview-summary.html deleted file mode 100644 index ba6f0f838f01f..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/overview-summary.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -Overview - - - - - - - - -
- - - - - - - -
- - -
-

OpenHAB Velux Bundle

-
- - -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/overview-tree.html b/addons/binding/org.openhab.binding.velux/doc/overview-tree.html deleted file mode 100644 index 252089e6afd45..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/overview-tree.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -Class Hierarchy - - - - - - - - -
- - - - - - - -
- - - -
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/addons/binding/org.openhab.binding.velux/doc/package-list b/addons/binding/org.openhab.binding.velux/doc/package-list deleted file mode 100644 index ab49360d01d83..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/package-list +++ /dev/null @@ -1,7 +0,0 @@ -org.openhab.binding.velux -org.openhab.binding.velux.bridge -org.openhab.binding.velux.bridge.comm -org.openhab.binding.velux.handler -org.openhab.binding.velux.internal -org.openhab.binding.velux.internal.config -org.openhab.binding.velux.things diff --git a/addons/binding/org.openhab.binding.velux/doc/rules/velux.rules b/addons/binding/org.openhab.binding.velux/doc/rules/velux.rules new file mode 100644 index 0000000000000..f38d9c8917146 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/doc/rules/velux.rules @@ -0,0 +1,21 @@ + /* + * start-of-velux.rules + */ + +/** + * This is a rules to simulate the push button behaviour... + */ +rule "PushButton of group gV" + when + Item gV changed + then + // waiting a second. + Thread::sleep(1000) + // Foreach-Switch-is-ON + gV.allMembers.filter( s | s.state == ON).forEach[i| + // switching OFF + sendCommand(i, OFF) + ] + end + +// vim: syntax=Xtend diff --git a/addons/binding/org.openhab.binding.velux/doc/script.js b/addons/binding/org.openhab.binding.velux/doc/script.js deleted file mode 100644 index b34635693143a..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/addons/binding/org.openhab.binding.velux/doc/sitemaps/velux.sitemap b/addons/binding/org.openhab.binding.velux/doc/sitemaps/velux.sitemap new file mode 100644 index 0000000000000..aaad924ffb95f --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/doc/sitemaps/velux.sitemap @@ -0,0 +1,39 @@ +sitemap velux label="Velux Environment" +{ + Frame label="Velux Shutter and Window" { + + Switch item=V_DG_M_W_OPEN + Switch item=V_DG_M_W_90 + Switch item=V_DG_M_W_80 + Switch item=V_DG_M_W_70 + Switch item=V_DG_M_W_60 + Switch item=V_DG_M_W_50 + Switch item=V_DG_M_W_40 + Switch item=V_DG_M_W_30 + Switch item=V_DG_M_W_20 + Switch item=V_DG_M_W_10 + Switch item=V_DG_M_W_CLOSED + + Switch item=V_DG_M_R_OPEN + Switch item=V_DG_M_R_85 + Switch item=V_DG_M_R_CLOSED + } + + Frame label="Velux Bridge" { + Text item=V_BRIDGE_STATUS + Text item=V_BRIDGE_FIRMWARE + Text item=V_BRIDGE_IPADDRESS + Text item=V_BRIDGE_SUBNETMASK + Text item=V_BRIDGE_DEFAULTGW + Switch item=V_BRIDGE_DHCP + Text item=V_BRIDGE_WLANSSID + Text item=V_BRIDGE_WLANPASSWD + Text item=V_BRIDGE_PRODUCTS + Text item=V_BRIDGE_SCENES + Switch item=V_BRIDGE_DETECTION + } + +} + +// vim: syntax=Xtend + diff --git a/addons/binding/org.openhab.binding.velux/doc/stylesheet.css b/addons/binding/org.openhab.binding.velux/doc/stylesheet.css deleted file mode 100644 index 98055b22d6d5b..0000000000000 --- a/addons/binding/org.openhab.binding.velux/doc/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/addons/binding/org.openhab.binding.velux/doc/things/velux.things b/addons/binding/org.openhab.binding.velux/doc/things/velux.things new file mode 100644 index 0000000000000..adff2c0671384 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/doc/things/velux.things @@ -0,0 +1,9 @@ +// +// Bridge velux:klf200:home +// + +Bridge velux:klf200:home [ bridgeURL="http://127.0.0.1:15001", bridgePassword="velux123", timeoutMsecs=2000, retries=10 ] { + Thing scene karlsruhe [ refreshSecs=120 ] +} + +// vim: syntax=Xtend diff --git a/addons/binding/org.openhab.binding.velux/pom.xml b/addons/binding/org.openhab.binding.velux/pom.xml index 97bb1f8cfe5b2..0ab35eb0bf7ba 100644 --- a/addons/binding/org.openhab.binding.velux/pom.xml +++ b/addons/binding/org.openhab.binding.velux/pom.xml @@ -14,7 +14,7 @@ org.openhab.binding pom - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT velux Binding @@ -32,5 +32,6 @@ eclipse-plugin + The Velux Binding interacts via the Velux Bridge with the Velux devices like controlling window openers, shutters and others. diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/VeluxBindingConstants.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/VeluxBindingConstants.java index cce1736845790..9d1504100b14c 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/VeluxBindingConstants.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/VeluxBindingConstants.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -19,7 +19,7 @@ public class VeluxBindingConstants { /** Basis identification */ - private static final String BINDING_ID = "velux"; + public static final String BINDING_ID = "velux"; // List of all Strings public static final String BRIDGE_TYPE = "klf200"; @@ -32,8 +32,22 @@ public class VeluxBindingConstants { // List of all Thing Type UIDs public static final ThingTypeUID THING_TYPE_VELUX_SCENE = new ThingTypeUID(BINDING_ID, THING_VELUX_SCENE); - // List of all Channel ids + // List of all Channel id's (for Bridge) + public static final String CHANNEL_BRIDGE_STATUS = "STATUS"; + public static final String CHANNEL_BRIDGE_DETECTION = "DETECTION"; + public static final String CHANNEL_BRIDGE_FIRMWARE = "FIRMWARE"; + public static final String CHANNEL_BRIDGE_IPADDRESS = "IPADDRESS"; + public static final String CHANNEL_BRIDGE_SUBNETMASK = "SUBNETMASK"; + public static final String CHANNEL_BRIDGE_DEFAULTGW = "DEFAULTGW"; + public static final String CHANNEL_BRIDGE_DHCP = "DHCP"; + public static final String CHANNEL_BRIDGE_WLANSSID = "WLANSSID"; + public static final String CHANNEL_BRIDGE_WLANPASSWORD = "WLANPASSWORD"; + public static final String CHANNEL_BRIDGE_PRODUCTS = "PRODUCTS"; + public static final String CHANNEL_BRIDGE_SCENES = "SCENES"; + + // List of all Channel id's (for each Scene) public static final String CHANNEL_SCENE_ACTION = "ACTION"; + public static final String CHANNEL_SCENE_SILENTMODE = "SILENTMODE"; } /** diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridge.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridge.java index 5af4353078f7e..dcf0a7f937854 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridge.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridge.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -9,13 +9,10 @@ package org.openhab.binding.velux.bridge; import java.io.IOException; +import java.io.InputStream; +import java.util.Properties; -import org.apache.http.HttpResponse; -import org.apache.http.client.methods.HttpPost; -import org.apache.http.entity.StringEntity; -import org.apache.http.impl.client.CloseableHttpClient; -import org.apache.http.impl.client.HttpClientBuilder; -import org.apache.http.util.EntityUtils; +import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -26,10 +23,10 @@ *

* It provides two methods for interaction, * - * {@link VeluxBridge#communicateAuthenticated communicateAuthenticated} and - * {@link VeluxBridge#communicateUnauthenticated communicateUnauthenticated} as well + * {@link VeluxBridge#ioAuthenticated ioAuthenticated} and + * {@link VeluxBridge#ioUnauthenticated ioUnauthenticated} as well * as an utility method for customizing the - * behaviour {@link VeluxBridge#communicationSetup communicationSetup}. + * behavior {@link VeluxBridge#ioSetup ioSetup}. * * @author Guenther Schreiner - Initial contribution. */ @@ -39,7 +36,7 @@ public class VeluxBridge { private static int retries = 5; private static long waitMSecs = 500L; - private static T communicate(String url, String authentication, Object Request, Class classOfResponse) + private static T io(String url, String authentication, Object Request, Class classOfResponse) throws JsonSyntaxException, IOException { /** Local handles */ @@ -48,51 +45,114 @@ private static T communicate(String url, String authentication, Object Reque do { try { - CloseableHttpClient httpClient = HttpClientBuilder.create().build(); com.google.gson.Gson gson = new com.google.gson.Gson(); - String jsonRequest = gson.toJson(Request); - LOGGER.trace("communicate() to {} using request {}", url, jsonRequest); - - HttpPost httpRequest = new HttpPost(url); - httpRequest.addHeader("content-type", "application/json"); + LOGGER.trace("io() to {} using request {}.", url, jsonRequest); + + // -------------------------------------------------------------------------------- + // Version A: based on org.apache.http.client.methods and org.apache.http.impl.client + // + // CloseableHttpClient httpClient = HttpClientBuilder.create().build(); + // HttpPost httpRequest = new HttpPost(url); + // httpRequest.addHeader("content-type", "application/json"); + // if (authentication.length() > 0) { + // httpRequest.addHeader("Authorization", String.format("Bearer %s", authentication)); + // } + // StringEntity body = new StringEntity(jsonRequest); + // httpRequest.setEntity(body); + // HttpResponse result = httpClient.execute(httpRequest); + // + // String jsonResponse = EntityUtils.toString(result.getEntity(), "UTF-8"); + // + // httpClient.close(); + // + // end-of-Version A + + // -------------------------------------------------------------------------------- + // Version B: based on org.apache.commons.httpclient.HttpClient + // + // HttpClient httpClient = new HttpClient(); + // PostMethod httpRequest = new PostMethod(url); + // httpRequest.addRequestHeader("content-type", "application/json"); + // if (authentication.length() > 0) { + // httpRequest.addRequestHeader("Authorization", String.format("Bearer %s", authentication)); + // } + // httpRequest.setRequestBody(jsonRequest); + // + // int statusCode = httpClient.executeMethod(httpRequest); + // if (statusCode != HttpStatus.SC_OK) { + // LOGGER.trace("io() got response {}", httpRequest.getStatusLine()); + // } + // + // InputStream inputStream = httpRequest.getResponseBodyAsStream(); + // String jsonResponse = IOUtils.toString(inputStream); + // + // httpRequest.releaseConnection(); + // + // + // needs: MANIFEST adaption: + // Bundle-ClassPath: ., + // lib/httpclient-4.5.2.jar, + // lib/httpcore-4.4.4.jar + // + // build.properties: + // ESH-INF/,\ + // lib/httpclient-4.5.2.jar,\ + // lib/httpcore-4.4.4.jar,\ + // about.html + // + // and, of course, the libraries within ./ib + // + // end-of-Version B + + // -------------------------------------------------------------------------------- + // Version C: based on org.eclipse.smarthome.io.net.http + + Properties headerItems = new Properties(); if (authentication.length() > 0) { - httpRequest.addHeader("Authorization", String.format("Bearer %s", authentication)); + headerItems.setProperty("Authorization", String.format("Bearer %s", authentication)); } - StringEntity body = new StringEntity(jsonRequest); - httpRequest.setEntity(body); - HttpResponse result = httpClient.execute(httpRequest); + InputStream content = IOUtils.toInputStream(jsonRequest, "UTF-8"); - String jsonResponse = EntityUtils.toString(result.getEntity(), "UTF-8"); - - httpClient.close(); + String jsonResponse = org.eclipse.smarthome.io.net.http.HttpUtil.executeUrl("PUT", url, headerItems, + content, "application/json", (int) waitMSecs); + if (jsonResponse == null) { + throw new IOException("transport error"); + } + LOGGER.trace("io(): wait time {} msecs.", waitMSecs); + try { + Thread.sleep(waitMSecs); + } catch (InterruptedException ie) { + LOGGER.trace("io() wait interrupted."); + } + // end-of-Version C + // -------------------------------------------------------------------------------- - LOGGER.trace("communicate() got response {}", jsonResponse.replaceAll("\\p{C}", ".")); + LOGGER.trace("io() got response {}.", jsonResponse.replaceAll("\\p{C}", ".")); jsonResponse = jsonResponse.replaceAll("^.+,\n", ""); // "()]}'," - LOGGER.trace("communicate() cleaned response {}", jsonResponse); + LOGGER.trace("io() cleaned response {}.", jsonResponse); try { T response = gson.fromJson(jsonResponse, classOfResponse); return response; } catch (JsonSyntaxException jse) { - LOGGER.info("communicate(): Exception occurred on deserialization: {}, aborting.", - jse.getMessage()); + LOGGER.info("io(): Exception occurred on deserialization: {}, aborting.", jse.getMessage()); throw jse; } } catch (IOException ioe) { - LOGGER.debug("communicate(): Exception occurred during I/O: {}.", ioe.getMessage()); + LOGGER.debug("io(): Exception occurred during I/O: {}.", ioe.getMessage()); lastIOE = ioe; // Error Retries with Exponential Backoff long waitTime = ((long) Math.pow(2, retryCount) * waitMSecs); - LOGGER.trace("communicate(): wait time {} msecs.", waitTime); + LOGGER.trace("io(): wait time {} msecs.", waitTime); try { Thread.sleep(waitTime); } catch (InterruptedException ie) { - LOGGER.trace("communicate() wait interrupted."); + LOGGER.trace("io() wait interrupted."); } } } while (retryCount++ < retries); - LOGGER.info("communicate(): socket I/O failed continuously ({} times).", retries); + LOGGER.info("io(): socket I/O failed continuously ({} times).", retries); throw lastIOE; } @@ -124,9 +184,9 @@ private static T communicate(String url, String authentication, Object Reque * @throws JsonSyntaxException * in case of unusual communication failures. */ - public static T communicateAuthenticated(String url, String authentication, Object Request, - Class classOfResponse) throws JsonSyntaxException, IOException { - return communicate(url, authentication, Request, classOfResponse); + public static T ioAuthenticated(String url, String authentication, Object Request, Class classOfResponse) + throws JsonSyntaxException, IOException { + return io(url, authentication, Request, classOfResponse); } /** @@ -154,9 +214,9 @@ public static T communicateAuthenticated(String url, String authentication, * @throws JsonSyntaxException * in case of unusual communication failures. */ - public static T communicateUnauthenticated(String url, Object Request, Class classOfResponse) + public static T ioUnauthenticated(String url, Object Request, Class classOfResponse) throws JsonSyntaxException, IOException { - return communicate(url, "", Request, classOfResponse); + return io(url, "", Request, classOfResponse); } /** @@ -171,9 +231,8 @@ public static T communicateUnauthenticated(String url, Object Request, Class * (BEB) Algorithm for handling of I/O failures. */ - public static void communicationSetup(int retries, long waitIntervalInMSecs) { - LOGGER.info("communicationSetup(): retries = {} times, initial wait interval = {} msecs.", retries, - waitIntervalInMSecs); + public static void ioSetup(int retries, long waitIntervalInMSecs) { + LOGGER.debug("ioSetup(): retries = {} times, initial wait interval = {} msecs.", retries, waitIntervalInMSecs); VeluxBridge.retries = retries; VeluxBridge.waitMSecs = waitIntervalInMSecs; diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDetectProducts.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDetectProducts.java new file mode 100644 index 0000000000000..6023fb34aac39 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDetectProducts.java @@ -0,0 +1,93 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCdetectProducts; +import org.openhab.binding.velux.bridge.comm.BCgetDeviceStatus; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeDetectProducts} represents a complete set of transactions + * for temporary activation of device detection mode on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeDetectProducts#detectProducts} for starting the detection. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeDetectProducts { + private static final Logger LOGGER = LoggerFactory.getLogger(VeluxBridgeDetectProducts.class); + + private static long waitMSecs = 2000L; + + /** + * Login into bridge, start process to detect (new) products, loop until bridge is idle again and logout from bridge + * based on a well-prepared environment of a {@link VeluxBridgeHandler}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @return success + * of type boolean describing the overall result of this interaction. + */ + + public static boolean detectProducts(VeluxBridgeHandler bridge) { + LOGGER.trace("detectProducts() called."); + boolean success = false; + if (!bridge.bridgeLogin()) { + LOGGER.debug("Velux bridge login sequence failed; expecting bridge is OFFLINE."); + return false; + } + + LOGGER.trace("detectProducts() About to activate detection."); + BCdetectProducts.Response detectResponse = bridge.bridgeCommunicate(new BCdetectProducts()); + if (detectResponse != null) { + while (true) { + LOGGER.trace("detectProducts() About to query detection status."); + BCgetDeviceStatus.Response response = bridge.bridgeCommunicate(new BCgetDeviceStatus()); + if ((response == null) || (!response.getResult())) { + LOGGER.trace("detectProducts() finished with failure."); + break; + } + String deviceStatus = response.getDeviceStatus(); + if (deviceStatus.equals("discovering")) { + LOGGER.trace("detectProducts() bridge is still busy."); + } else if (deviceStatus.equals("IDLE")) { + LOGGER.trace("detectProducts() bridge is idle again, now."); + success = true; + break; + } else { + LOGGER.info("detectProducts() unknown devicestatus ({}) received.", deviceStatus); + } + LOGGER.trace("detectProducts() about to wait {} msecs.", waitMSecs); + try { + Thread.sleep(waitMSecs); + } catch (InterruptedException ie) { + LOGGER.trace("detectProducts() wait interrupted."); + } + } + } else { + LOGGER.trace("detectProducts() activate detection finished with failure."); + } + if (!bridge.bridgeLogout()) { + LOGGER.debug("Velux bridge logout sequence failed; expecting bridge is OFFLINE."); + } + LOGGER.debug("detectProducts() finished {}.", success ? "successfully" : "with failure"); + return success; + } +} + +/** + * end-of-VeluxBridgeDetectProducts.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDeviceStatus.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDeviceStatus.java new file mode 100644 index 0000000000000..dcdaf6fe1d3ce --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeDeviceStatus.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCgetDeviceStatus; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeDeviceStatus} represents a complete set of transactions + * for querying device status on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeDeviceStatus#retrieve} for starting the detection. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeDeviceStatus { + private final Logger logger = LoggerFactory.getLogger(VeluxBridgeDeviceStatus.class); + + /** + * Login into bridge, query the bridge for device status and logout from bridge + * based on a well-prepared environment of a {@link VeluxBridgeHandler}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @return status + * of type String describing the status of the device/bridge. + */ + + public String retrieve(VeluxBridgeHandler bridge) { + logger.trace("retrieve() called."); + + logger.trace("retrieve() About to query device status."); + BCgetDeviceStatus.Response response = bridge.bridgeCommunicate(new BCgetDeviceStatus()); + if ((response == null) || (!response.getResult())) { + logger.trace("retrieve() finished with failure."); + return null; + } else { + logger.trace("retrieve() finished successfully with result {}.", response.getDeviceStatus()); + return response.getDeviceStatus(); + } + } +} + +/** + * end-of-VeluxBridgeDeviceStatus.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeExecute.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeExecute.java similarity index 60% rename from addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeExecute.java rename to addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeExecute.java index c2a9e0b45008f..e5a8bfc042672 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeExecute.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeExecute.java @@ -1,26 +1,46 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ -package org.openhab.binding.velux.handler; +package org.openhab.binding.velux.bridge; import org.openhab.binding.velux.bridge.comm.BCrunScene; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * The {@link VeluxBridgeExecute} is responsible for handling commands, which are - * sent to one of the channels. + * The {@link VeluxBridgeExecute} represents a complete set of transactions + * for executing a scene defined on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeExecute#execute} for execution of a scene. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. * * @author Guenther Schreiner - Initial contribution */ public class VeluxBridgeExecute { private static final Logger LOGGER = LoggerFactory.getLogger(VeluxBridgeExecute.class); + /** + * Login into bridge, executes a scene and logout from bridge based + * on a well-prepared environment of a {@link VeluxBridgeHandler}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @param sceneNo + * Number of scene to be executed. + * + * @return success + * of type boolean describing the overall result of this interaction. + */ public static boolean execute(VeluxBridgeHandler bridge, int sceneNo) { LOGGER.trace("execute({}) called.", sceneNo); diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeFirmware.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeFirmware.java new file mode 100644 index 0000000000000..2947e6cf69826 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeFirmware.java @@ -0,0 +1,81 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCgetFirmware; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeFirmware} represents a complete set of transactions + * for retrieving of any available scenes into a structure {@link VeluxExistingScenes} + * defined on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeFirmware#retrieve} for retrieval of information. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @see VeluxBridgeHandler + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeFirmware { + private final Logger logger = LoggerFactory.getLogger(VeluxBridgeFirmware.class); + + /** + * Wireless network configuration, consisting of: + *
    + *
  • isRetrieved (boolean flag), + *
  • firmwareVersion. + *
+ */ + public class Channel { + public boolean isRetrieved = false; + public String firmwareVersion = ""; + } + + private Channel channel = null; + + /** + * Complete workflow for retrieving the firmware version, consisting of Login into bridge, querying the firmware + * version and logout from bridge based on a well-prepared environment of a {@link VeluxBridgeHandler}, where the + * results are stored within as well in {@link VeluxBridgeFirmware#channel}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @return channel - or null - + * of type {@link VeluxBridgeFirmware.Channel} describing the overall result of this interaction. + */ + public Channel retrieve(VeluxBridgeHandler bridge) { + logger.trace("retrieve() called."); + + if (this.channel == null) { + this.channel = new Channel(); + } + + BCgetFirmware.Response response = bridge.bridgeCommunicate(new BCgetFirmware()); + if (response != null) { + logger.trace("retrieve() found successfully firmware {}.", response.getFirmwareVersion()); + this.channel.firmwareVersion = response.getFirmwareVersion(); + this.channel.isRetrieved = true; + return channel; + } else { + logger.trace("retrieve() finished with failure."); + return null; + } + } + +} +/** + * end-of-VeluxBridgeFirmware.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetProducts.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetProducts.java new file mode 100644 index 0000000000000..73d49ce4c7297 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetProducts.java @@ -0,0 +1,77 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCgetProducts; +import org.openhab.binding.velux.bridge.comm.BCproduct; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.openhab.binding.velux.things.VeluxExistingProducts; +import org.openhab.binding.velux.things.VeluxProduct; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeGetProducts} represents a complete set of transactions + * for retrieving of any available products into a structure {@link VeluxExistingProducts} + * defined on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeGetProducts#getProducts} for retrieval of information. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @see VeluxProduct + * @see VeluxExistingProducts + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeGetProducts { + private static final Logger LOGGER = LoggerFactory.getLogger(VeluxBridgeGetProducts.class); + + /** + * Login into bridge, retrieve all products and logout from bridge based + * on a well-prepared environment of a {@link VeluxBridgeHandler}. The results + * are stored within a public structure {@link org.openhab.binding.velux.things.VeluxExistingProducts + * VeluxExistingProducts}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @return success + * of type boolean describing the overall result of this interaction. + */ + + public static boolean getProducts(VeluxBridgeHandler bridge) { + LOGGER.trace("getProducts() called."); + + BCgetProducts.Response response = bridge.bridgeCommunicate(new BCgetProducts()); + if (response != null) { + for (BCproduct product : response.getDevices()) { + LOGGER.trace("getProducts() found product {} (type {}).", product.getName(), product.getCategory()); + + VeluxProduct veluxProduct = new VeluxProduct(product); + LOGGER.trace("getProducts() storing product {}.", veluxProduct); + if (!bridge.existingsProducts.isRegistered(veluxProduct)) { + bridge.existingsProducts.register(veluxProduct); + } + } + LOGGER.debug("getProducts() finally has found products {}.", bridge.existingsProducts); + return true; + + } else { + LOGGER.trace("getProducts() finished with failure."); + return false; + } + } + +} +/** + * end-of-VeluxBridgeGetProducts.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetScenes.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetScenes.java new file mode 100644 index 0000000000000..ea01dbd0ee2f0 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetScenes.java @@ -0,0 +1,64 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCgetScenes; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.openhab.binding.velux.things.VeluxExistingScenes; +import org.openhab.binding.velux.things.VeluxScene; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeGetScenes} represents a complete set of transactions + * for retrieving of any available scenes into a structure {@link VeluxExistingScenes} + * defined on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeGetScenes#getScenes} for retrieval of information. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @see VeluxScene + * @see VeluxExistingScenes + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeGetScenes { + private static final Logger LOGGER = LoggerFactory.getLogger(VeluxBridgeGetScenes.class); + + // + public static boolean getScenes(VeluxBridgeHandler bridge) { + LOGGER.trace("getScenes() called."); + + BCgetScenes.Response response = bridge.bridgeCommunicate(new BCgetScenes()); + if (response != null) { + for (BCgetScenes.BCscene scene : response.getScenes()) { + LOGGER.trace("getScenes() found scene {}.", scene.getName()); + + VeluxScene veluxScene = new VeluxScene(scene); + LOGGER.trace("getScenes() storing scene {}.", veluxScene); + if (!bridge.existingsScenes.isRegistered(veluxScene)) { + bridge.existingsScenes.register(veluxScene); + } + LOGGER.trace("getScenes() stored scene {}.", veluxScene); + } + LOGGER.debug("getScenes() finally has found scenes {}.", bridge.existingsScenes); + return true; + } else { + LOGGER.trace("getScenes() finished with failure."); + return false; + } + } + +} +/** + * end-of-VeluxBridgeGetScenes.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeLANConfig.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeLANConfig.java new file mode 100644 index 0000000000000..29d2935bb7446 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeLANConfig.java @@ -0,0 +1,90 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCgetLANConfig; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeLANConfig} represents a complete set of transactions + * for retrieving the network configuration of the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeLANConfig#retrieve} for retrieval of information. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @see VeluxBridgeHandler + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeLANConfig { + private final Logger logger = LoggerFactory.getLogger(VeluxBridgeLANConfig.class); + + /** + * Wireless network configuration, consisting of: + *
    + *
  • isRetrieved (boolean flag), + *
  • ipAddress, + *
  • subnetMask, + *
  • defaultGW and + *
  • enabledDHCP. + *
+ */ + public class Channel { + public boolean isRetrieved = false; + public String ipAddress = ""; + public String subnetMask = ""; + public String defaultGW = ""; + public boolean enabledDHCP = false; + } + + private Channel channel = null; + + /** + * Complete workflow for retrieving the network configuration, consisting of Login into bridge, querying + * the network configuration and logout from bridge based on a well-prepared environment of a + * {@link VeluxBridgeHandler}, where the results are stored within as well in + * {@link VeluxBridgeLANConfig#channel}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @return channel - or null - + * of type {@link VeluxBridgeLANConfig.Channel} describing the overall result of this interaction. + */ + public Channel retrieve(VeluxBridgeHandler bridge) { + logger.trace("retrieve() called."); + + if (this.channel == null) { + this.channel = new Channel(); + } + + BCgetLANConfig.Response response = bridge.bridgeCommunicate(new BCgetLANConfig()); + if (response != null) { + logger.trace("retrieve() found successfully configuration {}.", response.getLANConfig()); + this.channel.ipAddress = response.getLANConfig().getIPAddress(); + this.channel.subnetMask = response.getLANConfig().getSubnetMask(); + this.channel.defaultGW = response.getLANConfig().getDefaultGateway(); + this.channel.enabledDHCP = response.getLANConfig().getDHCP(); + this.channel.isRetrieved = true; + return channel; + } else { + logger.trace("retrieve() finished with failure."); + return null; + } + } + +} +/** + * end-of-VeluxBridgeLANConfig.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeSceneMode.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeSceneMode.java new file mode 100644 index 0000000000000..bd8b44178cdc0 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeSceneMode.java @@ -0,0 +1,72 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCsetSilentMode; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.openhab.binding.velux.internal.config.VeluxBridgeConfiguration; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeSceneMode} represents a complete set of transactions + * for modifying the silent-mode of a scene defined on the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeSceneMode#setSilentMode} for execution of a scene. + *
+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeSceneMode { + private static final Logger LOGGER = LoggerFactory.getLogger(VeluxBridgeSceneMode.class); + + /** + * Login into bridge, executes a scene and logout from bridge based + * on a well-prepared environment of a {@link VeluxBridgeHandler}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @param sceneNo + * Number of scene to be executed. + * + * @param silentMode + * Mode of this mentioned scene. + * + * @return success + * of type boolean describing the overall result of this interaction. + */ + public static boolean setSilentMode(VeluxBridgeHandler bridge, int sceneNo, boolean silentMode) { + LOGGER.trace("setSilentMode({},{}) called.", sceneNo, silentMode); + + if (!bridge.bridgeLogin()) { + LOGGER.debug("Velux bridge login sequence failed; expecting bridge is OFFLINE."); + return false; + } + BCsetSilentMode.Response response = bridge.bridgeCommunicate(new BCsetSilentMode(sceneNo, silentMode)); + if (response != null) { + if (response.getResult()) { + LOGGER.info("setSilentMode() finished successfully."); + return true; + } + } + if (!bridge.bridgeLogout()) { + LOGGER.debug("Velux bridge logout sequence failed; expecting bridge is OFFLINE."); + return false; + } + LOGGER.trace("setSilentMode() finished with failure."); + return false; + } +} +/** + * end-of-VeluxBridgeSceneMode.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeWLANConfig.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeWLANConfig.java new file mode 100644 index 0000000000000..e7ce81cd25c3a --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeWLANConfig.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge; + +import org.openhab.binding.velux.bridge.comm.BCgetWLANConfig; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxBridgeWLANConfig} represents a complete set of transactions + * for retrieving the wireless network configuration of the Velux bridge. + *

+ * It therefore provides a method + *

    + *
  • {@link VeluxBridgeWLANConfig#retrieve} for retrieval of information. + *
+ *

+ * Any parameters are controlled by {@link VeluxBridgeConfiguration}. + * + * @see VeluxBridgeHandler + * + * @author Guenther Schreiner - Initial contribution + */ +public class VeluxBridgeWLANConfig { + private final Logger logger = LoggerFactory.getLogger(VeluxBridgeWLANConfig.class); + + /** + * Wireless network configuration, consisting of: + *

    + *
  • isRetrieved (boolean flag), + *
  • wlanSSID, and + *
  • wlanPassword. + *
+ */ + public class Channel { + public boolean isRetrieved = false; + public String wlanSSID = ""; + public String wlanPassword = ""; + } + + private Channel channel = null; + + /** + * Complete workflow for retrieving the wireless network configuration, consisting of Login into bridge, querying + * the network configuration and logout from bridge based on a well-prepared environment of a + * {@link VeluxBridgeHandler}, where the results are stored within as well in + * {@link VeluxBridgeWLANConfig#channel}. + * + * @param bridge + * Initialized Velux bridge handler. + * + * @return channel - or null - + * of type {@link VeluxBridgeWLANConfig.Channel} describing the overall result of this interaction. + */ + public Channel retrieve(VeluxBridgeHandler bridge) { + logger.trace("retrieve() called."); + + if (this.channel == null) { + this.channel = new Channel(); + } + BCgetWLANConfig.Response response = bridge.bridgeCommunicate(new BCgetWLANConfig()); + if (response != null) { + logger.trace("retrieve() found successfully configuration {}.", response.getWLANConfig()); + this.channel.wlanSSID = response.getWLANConfig().getSSID(); + this.channel.wlanPassword = response.getWLANConfig().getPassword(); + this.channel.isRetrieved = true; + return channel; + } else { + logger.trace("retrieve() finished with failure."); + return null; + } + } + +} +/** + * end-of-VeluxBridgeWLANConfig.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCdetectProducts.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCdetectProducts.java new file mode 100644 index 0000000000000..de1dfb3281663 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCdetectProducts.java @@ -0,0 +1,149 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge.comm; + +import java.util.HashMap; +import java.util.Map; + +import org.openhab.binding.velux.bridge.VeluxBridge; + +/** + * I/O messages supported by the Velux bridge. + * It provides informations how to send query through the + * {@link org.openhab.binding.velux.handler.VeluxBridgeHandler VeluxBridgeHandler}. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class BCdetectProducts implements BridgeCommunicationProtocol { + + public static String url = "/api/v1/products"; + + /* + * Constructors with parameters passing + */ + + public BCdetectProducts() { + } + + /* + * Message Objects + */ + + /** + * Bridge I/O Request message used by {@link VeluxBridge} for serializing: + *

+ * Resulting JSON: + * + *

+     * {"action":"discover","params":{}}
+     * 
+ */ + public static class Request { + + @SuppressWarnings("unused") + private String action; + + @SuppressWarnings("unused") + private Map params; + + public Request() { + this.action = "discover"; + this.params = new HashMap(); + } + } + + /** + * Bridge I/O Response message used by {@link VeluxBridge} for deserializing with including component access methods + *

+ * Expected JSON (sample): + * + *

+     * {
+     *  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
+     *  "result":true,
+     *  "deviceStatus":"discovering",
+     *  "data":{},
+     *  "errors":[]
+     * }
+     * 
+ */ + public static class Response { + private String token; + private boolean result; + private String deviceStatus; + @SuppressWarnings("unused") + private Object data; + private String[] errors; + + public String getToken() { + return token; + } + + public boolean getResult() { + return result; + } + + public String getDeviceStatus() { + return deviceStatus; + } + + public String[] getErrors() { + return errors; + } + } + + /* + * =========================================================== + * Methods required for interface {@link BridgeCommunicationProtocol}. + */ + + @Override + public String name() { + return "discover products"; + } + + @Override + public String getURL() { + return url; + } + + @Override + public boolean isCommunicationSuccessful(Response response) { + return response.getResult(); + }; + + @Override + public Class getClassOfResponse() { + return Response.class; + } + + @Override + public Object getObjectOfRequest() { + return new Request(); + } + + @Override + public String getAuthToken(Response response) { + return response.getToken(); + } + + @Override + public String getDeviceStatus(Response response) { + return response.getDeviceStatus(); + } + + @Override + public String[] getErrors(Response response) { + return response.getErrors(); + } + +} +/** + * end-of-BCdetectProducts.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetDeviceStatus.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetDeviceStatus.java new file mode 100644 index 0000000000000..b7337706fe5d0 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetDeviceStatus.java @@ -0,0 +1,149 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge.comm; + +import java.util.HashMap; +import java.util.Map; + +import org.openhab.binding.velux.bridge.VeluxBridge; + +/** + * I/O messages supported by the Velux bridge. + * It provides informations how to send query through the + * {@link org.openhab.binding.velux.handler.VeluxBridgeHandler VeluxBridgeHandler}. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class BCgetDeviceStatus implements BridgeCommunicationProtocol { + + public static String url = "/api/v1/device"; + + /* + * Constructors with parameters passing + */ + + public BCgetDeviceStatus() { + } + + /* + * Message Objects + */ + + /** + * Bridge I/O Request message used by {@link VeluxBridge} for serializing: + *

+ * Resulting JSON: + * + *

+     * {"action":"getDeviceStatus","params":{}}
+     * 
+ */ + public static class Request { + + @SuppressWarnings("unused") + private String action; + + @SuppressWarnings("unused") + private Map params; + + public Request() { + this.action = "getDeviceStatus"; + this.params = new HashMap(); + } + } + + /** + * Bridge I/O Response message used by {@link VeluxBridge} for deserializing with including component access methods + *

+ * Expected JSON (sample): + * + *

+     * {
+     *  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
+     *  "result":true,
+     *  "deviceStatus":"discovering",       or "IDLE"
+     *  "data":{},
+     *  "errors":[]
+     * }
+     * 
+ */ + public static class Response { + private String token; + private boolean result; + private String deviceStatus; + @SuppressWarnings("unused") + private Object data; + private String[] errors; + + public String getToken() { + return token; + } + + public boolean getResult() { + return result; + } + + public String getDeviceStatus() { + return deviceStatus; + } + + public String[] getErrors() { + return errors; + } + } + + /* + * =========================================================== + * Methods required for interface {@link BridgeCommunicationProtocol}. + */ + + @Override + public String name() { + return "get device status"; + } + + @Override + public String getURL() { + return url; + } + + @Override + public boolean isCommunicationSuccessful(Response response) { + return response.getResult(); + }; + + @Override + public Class getClassOfResponse() { + return Response.class; + } + + @Override + public Object getObjectOfRequest() { + return new Request(); + } + + @Override + public String getAuthToken(Response response) { + return response.getToken(); + } + + @Override + public String getDeviceStatus(Response response) { + return response.getDeviceStatus(); + } + + @Override + public String[] getErrors(Response response) { + return response.getErrors(); + } + +} +/** + * end-of-BCgetDeviceStatus.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetFirmware.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetFirmware.java new file mode 100644 index 0000000000000..e46cdc03a9655 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetFirmware.java @@ -0,0 +1,168 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge.comm; + +import java.util.HashMap; +import java.util.Map; + +import org.openhab.binding.velux.bridge.VeluxBridge; + +/** + * I/O messages supported by the Velux bridge. + * It provides informations how to send query through the + * {@link org.openhab.binding.velux.handler.VeluxBridgeHandler VeluxBridgeHandler}. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class BCgetFirmware implements BridgeCommunicationProtocol { + + public static String url = "/api/v1/settings"; + + /* + * Constructors with parameters passing + */ + + public BCgetFirmware() { + } + + /* + * Message Objects + */ + + /** + * Bridge I/O Request message used by {@link VeluxBridge} for serializing: + *

+ * Resulting JSON: + * + *

+     * {"action":"getFirmware","params":{}}
+     * 
+ */ + public static class Request { + + @SuppressWarnings("unused") + private String action; + + @SuppressWarnings("unused") + private Map params; + + public Request() { + this.action = "getFirmware"; + this.params = new HashMap(); + } + } + + /** + * Bridge Communication Structure containing the version of the firmware. + *

+ * Used within structure {@link BCgetFirmware} to describe the software of the Bridge. + */ + public static class BCfirmwareVersion { + /* + * "version": "0.1.1.0.41.0" + */ + private String version; + + public String getVersion() { + return this.version; + } + } + + /** + * Bridge I/O Response message used by {@link VeluxBridge} for deserializing with including component access methods + *

+ * Expected JSON (sample): + * + *

+     * {
+     *  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
+     *  "result":true,
+     *  "deviceStatus":"IDLE",
+     *  "data":{"version":"0.1.1.0.41.0"},
+     *  "errors":[]
+     * }
+     * 
+ */ + public static class Response { + private String token; + private boolean result; + private String deviceStatus; + private BCfirmwareVersion data; + private String[] errors; + + public String getToken() { + return token; + } + + public boolean getResult() { + return result; + } + + public String getDeviceStatus() { + return deviceStatus; + } + + public String getFirmwareVersion() { + return data.getVersion(); + } + + public String[] getErrors() { + return errors; + } + } + + /* + * =========================================================== + * Methods required for interface {@link BridgeCommunicationProtocol}. + */ + + @Override + public String name() { + return "get firmware version"; + } + + @Override + public String getURL() { + return url; + } + + @Override + public boolean isCommunicationSuccessful(Response response) { + return response.getResult(); + }; + + @Override + public Class getClassOfResponse() { + return Response.class; + } + + @Override + public Object getObjectOfRequest() { + return new Request(); + } + + @Override + public String getAuthToken(Response response) { + return response.getToken(); + } + + @Override + public String getDeviceStatus(Response response) { + return response.getDeviceStatus(); + } + + @Override + public String[] getErrors(Response response) { + return response.getErrors(); + } + +} +/** + * end-of-BCgetFirmware.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetLANConfig.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetLANConfig.java new file mode 100644 index 0000000000000..d26f016530d7c --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetLANConfig.java @@ -0,0 +1,189 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge.comm; + +import java.util.HashMap; +import java.util.Map; + +import org.openhab.binding.velux.bridge.VeluxBridge; + +/** + * I/O messages supported by the Velux bridge. + * It provides informations how to send query through the + * {@link org.openhab.binding.velux.handler.VeluxBridgeHandler VeluxBridgeHandler}. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class BCgetLANConfig implements BridgeCommunicationProtocol { + + public static String url = "/api/v1/lan"; + + /* + * Constructors with parameters passing + */ + + public BCgetLANConfig() { + } + + /* + * Message Objects + */ + + /** + * Bridge I/O Request message used by {@link VeluxBridge} for serializing: + *

+ * Resulting JSON: + * + *

+     * {"action":"get","params":{}}
+     * 
+ */ + public static class Request { + + @SuppressWarnings("unused") + private String action; + + @SuppressWarnings("unused") + private Map params; + + public Request() { + this.action = "get"; + this.params = new HashMap(); + } + } + + /** + * Bridge Communication Structure containing the version of the firmware. + *

+ * Used within structure {@link BCgetLANConfig} to describe the network connectivity of the Bridge. + */ + public static class BCLANConfig { + /* + * {"ipAddress":"192.168.45.9","subnetMask":"255.255.255.0","defaultGateway":"192.168.45.129","dhcp":false} + */ + private String ipAddress; + private String subnetMask; + private String defaultGateway; + private boolean dhcp; + + public String getIPAddress() { + return this.ipAddress; + } + + public String getSubnetMask() { + return this.subnetMask; + } + + public String getDefaultGateway() { + return this.defaultGateway; + } + + public boolean getDHCP() { + return this.dhcp; + } + + @Override + public String toString() { + return String.format("ipAddress=%s,subnetMask=%s,defaultGateway=%s,dhcp=%s", this.ipAddress, + this.subnetMask, this.defaultGateway, this.dhcp ? "on" : "off"); + } + } + + /** + * Bridge I/O Response message used by {@link VeluxBridge} for unmarshelling with including component access methods + *

+ * Expected JSON (sample): + * + *

+     * {
+     *  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
+     *  "result":true,
+     *  "deviceStatus":"IDLE",
+     *  "data":"ipAddress":"192.168.45.9","subnetMask":"255.255.255.0","defaultGateway":"192.168.45.129","dhcp":false},
+     *  "errors":[]
+     * }
+     * 
+ */ + public static class Response { + private String token; + private boolean result; + private String deviceStatus; + private BCLANConfig data; + private String[] errors; + + public String getToken() { + return token; + } + + public boolean getResult() { + return result; + } + + public String getDeviceStatus() { + return deviceStatus; + } + + public BCLANConfig getLANConfig() { + return data; + } + + public String[] getErrors() { + return errors; + } + } + + /* + * =========================================================== + * Methods required for interface {@link BridgeCommunicationProtocol}. + */ + + @Override + public String name() { + return "get LAN configuration"; + } + + @Override + public String getURL() { + return url; + } + + @Override + public boolean isCommunicationSuccessful(Response response) { + return response.getResult(); + }; + + @Override + public Class getClassOfResponse() { + return Response.class; + } + + @Override + public Object getObjectOfRequest() { + return new Request(); + } + + @Override + public String getAuthToken(Response response) { + return response.getToken(); + } + + @Override + public String getDeviceStatus(Response response) { + return response.getDeviceStatus(); + } + + @Override + public String[] getErrors(Response response) { + return response.getErrors(); + } + +} +/** + * end-of-BCgetLANConfig.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetProducts.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetProducts.java index f3c0b7b7bf635..3e8efa2d5674d 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetProducts.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetProducts.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -48,7 +48,8 @@ public Request() { } /** - * Bridge I/O Response message used by {@link VeluxBridge} for deserializing with including component access methods + * Bridge I/O Response message used by {@link org.openhab.binding.velux.bridge.VeluxBridge VeluxBridge} for + * deserialization with including component access methods *

* Expected JSON (sample): * diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetScenes.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetScenes.java index ca5ff4dba5831..6e3800f710f54 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetScenes.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetScenes.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -105,10 +105,16 @@ public BCproductState[] getProductStates() { } /** - * Bridge Communication Structure containing a request to be sent to the Velux Bridge. + * Bridge I/O Request message used by {@link org.openhab.binding.velux.bridge.VeluxBridge VeluxBridge} for + * serializing: + *

+ * Resulting JSON: + * + *

+     * {"action":"get","params":{}}
+     * 
*/ public static class Request { - // {"action":"get","params":{}} @SuppressWarnings("unused") private String action; diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetWLANConfig.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetWLANConfig.java new file mode 100644 index 0000000000000..12f1f81ce6db7 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCgetWLANConfig.java @@ -0,0 +1,179 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge.comm; + +import java.util.HashMap; +import java.util.Map; + +import org.openhab.binding.velux.bridge.VeluxBridge; + +/** + * I/O messages supported by the Velux bridge. + * It provides informations how to send query through the + * {@link org.openhab.binding.velux.handler.VeluxBridgeHandler VeluxBridgeHandler}. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class BCgetWLANConfig implements BridgeCommunicationProtocol { + + public static String url = "/api/v1/settings"; + + /* + * Constructors with parameters passing + */ + + public BCgetWLANConfig() { + } + + /* + * Message Objects + */ + + /** + * Bridge I/O Request message used by {@link VeluxBridge} for serializing: + *

+ * Resulting JSON: + * + *

+     * {"action":"wifi","params":{}}
+     * 
+ */ + public static class Request { + + @SuppressWarnings("unused") + private String action; + + @SuppressWarnings("unused") + private Map params; + + public Request() { + this.action = "wifi"; + this.params = new HashMap(); + } + } + + /** + * Bridge Communication Structure containing the version of the firmware. + *

+ * Used within structure {@link BCgetWLANConfig} to describe the network connectivity of the Bridge. + */ + public static class BCWLANConfig { + /* + * {"password":"Esf56mxqFY","name":"VELUX_KLF_847C"} + */ + private String password; + private String name; + + public String getPassword() { + return this.password; + } + + public String getSSID() { + return this.name; + } + + @Override + public String toString() { + return String.format("SSID={},password={}", this.name, this.password); + } + } + + /** + * Bridge I/O Response message used by {@link VeluxBridge} for deserialization with including component access + * methods + *

+ * Expected JSON (sample): + * + *

+     * {
+     *  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
+     *  "result":true,
+     *  "deviceStatus":"IDLE",
+     *  "data":{"password":"Esf56mxqFY","name":"VELUX_KLF_847C"},
+     *  "errors":[]
+     * }
+     * 
+ */ + public static class Response { + private String token; + private boolean result; + private String deviceStatus; + private BCWLANConfig data; + private String[] errors; + + public String getToken() { + return token; + } + + public boolean getResult() { + return result; + } + + public String getDeviceStatus() { + return deviceStatus; + } + + public BCWLANConfig getWLANConfig() { + return data; + } + + public String[] getErrors() { + return errors; + } + } + + /* + * =========================================================== + * Methods required for interface {@link BridgeCommunicationProtocol}. + */ + + @Override + public String name() { + return "get WLAN configuration"; + } + + @Override + public String getURL() { + return url; + } + + @Override + public boolean isCommunicationSuccessful(Response response) { + return response.getResult(); + }; + + @Override + public Class getClassOfResponse() { + return Response.class; + } + + @Override + public Object getObjectOfRequest() { + return new Request(); + } + + @Override + public String getAuthToken(Response response) { + return response.getToken(); + } + + @Override + public String getDeviceStatus(Response response) { + return response.getDeviceStatus(); + } + + @Override + public String[] getErrors(Response response) { + return response.getErrors(); + } + +} +/** + * end-of-BCgetWLANConfig.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.java index 16695838cacf1..204bd3584dc0d 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCidentifyProduct.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogin.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogin.java index db21e710a6ca9..2b1ea23d9c714 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogin.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogin.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogout.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogout.java index 4fdb3f3cab4ec..bf0fbd3ee8eac 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogout.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BClogout.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCproduct.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCproduct.java index cf2d56419ecd4..a4c7396386b96 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCproduct.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCproduct.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCrunScene.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCrunScene.java index f19b1ac7640ed..07dd1e823ddcc 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCrunScene.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCrunScene.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCsetSilentMode.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCsetSilentMode.java new file mode 100644 index 0000000000000..99c9a9f008302 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BCsetSilentMode.java @@ -0,0 +1,160 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.bridge.comm; + +import org.openhab.binding.velux.bridge.VeluxBridge; + +/** + * I/O messages supported by the Velux bridge. + * It provides informations how to send query through the + * {@link org.openhab.binding.velux.handler.VeluxBridgeHandler VeluxBridgeHandler}. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class BCsetSilentMode implements BridgeCommunicationProtocol { + + public static String url = "/api/v1/scenes"; + private static int productId; + private static boolean silentMode; + + /* + * Constructors with parameters passing + */ + + public BCsetSilentMode(int id, boolean silent) { + BCsetSilentMode.productId = id; + BCsetSilentMode.silentMode = silent; + } + + /* + * Message Objects + */ + + static class ParamsRunScene { + @SuppressWarnings("unused") + private int id; + @SuppressWarnings("unused") + private boolean silent; + + private ParamsRunScene(int id, boolean silent) { + this.id = id; + this.silent = silent; + } + } + + /** + * Bridge I/O Request message used by {@link VeluxBridge} for serializing: + *

+ * Resulting JSON (sample): + * + *

+     * {"action":"setSilentMode","params":{"id":9,"silent":false}}}
+     * 
+ */ + public static class Request { + @SuppressWarnings("unused") + private String action; + @SuppressWarnings("unused") + private ParamsRunScene params; + + public Request() { + this.action = "setSilentMode"; + this.params = new ParamsRunScene(BCsetSilentMode.productId, BCsetSilentMode.silentMode); + } + } + + /** + * Bridge I/O Response message used by {@link VeluxBridge} for deserializing with including component access methods + *

+ * Expected JSON (sample): + * + *

+     * {
+     *  "token":"RHIKGlJyZhidI/JSK0a2RQ==",
+     *  "result":true,
+     *  "deviceStatus":"IDLE",
+     *  "data":{},
+     *  "errors":[]
+     * }
+     * 
+ */ + public static class Response { + private String token; + private boolean result; + private String deviceStatus; + @SuppressWarnings("unused") + private Object data; + private String[] errors; + + public String getToken() { + return token; + } + + public boolean getResult() { + return result; + } + + public String getDeviceStatus() { + return deviceStatus; + } + + public String[] getErrors() { + return errors; + } + } + + /* + * =========================================================== + * Methods required for interface {@link BridgeCommunicationProtocol}. + */ + + @Override + public String name() { + return "modify silent mode"; + } + + @Override + public String getURL() { + return url; + } + + @Override + public boolean isCommunicationSuccessful(Response response) { + return response.getResult(); + }; + + @Override + public Class getClassOfResponse() { + return Response.class; + } + + @Override + public Object getObjectOfRequest() { + return new Request(); + } + + @Override + public String getAuthToken(Response response) { + return response.getToken(); + } + + @Override + public String getDeviceStatus(Response response) { + return response.getDeviceStatus(); + } + + @Override + public String[] getErrors(Response response) { + return response.getErrors(); + } + +} +/** + * end-of-BCsetSilentMode.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.java index 34305f1e46482..e107de9b4152b 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/comm/BridgeCommunicationProtocol.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/discovery/VeluxDiscoveryService.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/discovery/VeluxDiscoveryService.java new file mode 100644 index 0000000000000..082abb10897a4 --- /dev/null +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/discovery/VeluxDiscoveryService.java @@ -0,0 +1,131 @@ +/** + * Copyright (c) 2010-2017 by the respective copyright holders. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + */ +package org.openhab.binding.velux.discovery; + +import static org.openhab.binding.velux.VeluxBindingConstants.THING_TYPE_VELUX_SCENE; + +import java.util.Collections; +import java.util.Set; + +import org.eclipse.smarthome.config.discovery.AbstractDiscoveryService; +import org.eclipse.smarthome.config.discovery.DiscoveryResult; +import org.eclipse.smarthome.config.discovery.DiscoveryResultBuilder; +import org.eclipse.smarthome.core.thing.Thing; +import org.eclipse.smarthome.core.thing.ThingTypeUID; +import org.eclipse.smarthome.core.thing.ThingUID; +import org.openhab.binding.velux.handler.VeluxBridgeHandler; +import org.openhab.binding.velux.things.VeluxScene; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The {@link VeluxDiscoveryService} is responsible for discovering scenes on + * the current Velux Bridge. + * + * @author Guenther Schreiner - Initial contribution. + */ +public class VeluxDiscoveryService extends AbstractDiscoveryService { + private static final Logger LOGGER = LoggerFactory.getLogger(VeluxDiscoveryService.class); + + /** Set of things provided by {@link VeluxDiscoveryService}. */ + public static final Set SUPPORTED_THING_TYPES = Collections.singleton(THING_TYPE_VELUX_SCENE); + + private static final int DISCOVER_TIMEOUT_SECONDS = 300; + + private static VeluxBridgeHandler bridgeHandler = null; + + public VeluxDiscoveryService() { + super(SUPPORTED_THING_TYPES, DISCOVER_TIMEOUT_SECONDS); + LOGGER.trace("VeluxDiscoveryService() just initialized."); + + } + + /** + * Initializes the {@link VeluxDiscoveryService} with a reference to the well-prepared environment with a + * {@link VeluxBridgeHandler}. + * + * @param bridge + * Initialized Velux bridge handler. + */ + public VeluxDiscoveryService(VeluxBridgeHandler bridge) { + super(SUPPORTED_THING_TYPES, DISCOVER_TIMEOUT_SECONDS); + LOGGER.trace("VeluxDiscoveryService({}) just initialized.", bridge); + bridgeHandler = bridge; + } + + /** + * Called on component activation. + */ + public void activate() { + LOGGER.trace("activate() called."); + super.activate(null); + } + + /** + * {@inheritDoc} + */ + @Override + public void deactivate() { + LOGGER.trace("deactivate() called."); + super.deactivate(); + } + + /** + * {@inheritDoc} + */ + @Override + protected void startScan() { + LOGGER.trace("startScan() called."); + LOGGER.debug("Starting Velux discovery scan"); + + if (bridgeHandler == null) { + LOGGER.error("VeluxDiscoveryService.startScan() cannot proceed as bridgeHandler is not yet initialized."); + return; + } + + ThingUID bridgeUID = bridgeHandler.getThing().getUID(); + + for (VeluxScene scene : bridgeHandler.existingsScenes.values()) { + String sceneName = scene.getName().toString(); + LOGGER.trace("startScan() found scene {}.", sceneName); + + String label = sceneName.replaceAll("\\P{Alnum}", "_"); + LOGGER.trace("startScan() using name {}.", label); + + ThingUID thingUID = new ThingUID(org.openhab.binding.velux.VeluxBindingConstants.THING_VELUX_SCENE, + bridgeUID, label); + + DiscoveryResult discoveryResult = DiscoveryResultBuilder.create(thingUID) + .withProperty("sceneName", sceneName).withBridge(bridgeUID).withLabel(label).build(); + LOGGER.trace("startScan() registering new thing {}.", discoveryResult); + thingDiscovered(discoveryResult); + } + LOGGER.trace("startScan() now we have got the following things: "); + for (Thing thing : bridgeHandler.getThing().getThings()) { + LOGGER.trace(" things: {}.", thing.getLabel()); + + } + LOGGER.trace("startScan() done."); + + stopScan(); + } + + /** + * {@inheritDoc} + */ + @Override + public synchronized void stopScan() { + LOGGER.debug("Stopping Velux discovery scan"); + super.stopScan(); + } + +} +/** + * end-of-VeluxDiscoveryService.java + */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.java deleted file mode 100644 index 4ce06b9f610fe..0000000000000 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeDiscovery.java +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Copyright 2016-2017 (c) Guenther Schreiner - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - */ -package org.openhab.binding.velux.handler; - -import org.openhab.binding.velux.bridge.comm.BCgetProducts; -import org.openhab.binding.velux.bridge.comm.BCgetScenes; -import org.openhab.binding.velux.bridge.comm.BCproduct; -import org.openhab.binding.velux.things.VeluxProduct; -import org.openhab.binding.velux.things.VeluxScene; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * The {@link VeluxBridgeDiscovery} is responsible for handling commands, which are - * sent to one of the channels. - * - * @author Guenther Schreiner - Initial contribution - */ -public class VeluxBridgeDiscovery { - private final Logger logger = LoggerFactory.getLogger(VeluxBridgeDiscovery.class); - - private boolean discoverProducts(VeluxBridgeHandler bridge) { - logger.trace("discoverProducts() called."); - - BCgetProducts.Response response = bridge.bridgeCommunicate(new BCgetProducts()); - if (response != null) { - for (BCproduct product : response.getDevices()) { - logger.trace("discoverProducts() found product {} (type {}).", product.getName(), - product.getCategory()); - - VeluxProduct veluxProduct = new VeluxProduct(product); - logger.trace("discoverProducts() storing product {}.", veluxProduct); - if (!bridge.existingsProducts.isRegistered(veluxProduct)) { - bridge.existingsProducts.register(veluxProduct); - } - logger.trace("discoverProducts() stored product {}.", veluxProduct); - } - } else { - logger.trace("discoverProducts() finished with failure."); - return false; - } - logger.trace("discoverProducts() finished with success."); - return true; - } - - private boolean discoverScenes(VeluxBridgeHandler bridge) { - logger.trace("discoverScenes() called."); - - BCgetScenes.Response response = bridge.bridgeCommunicate(new BCgetScenes()); - if (response != null) { - for (BCgetScenes.BCscene scene : response.getScenes()) { - logger.trace("discoverScenes() found scene {}.", scene.getName()); - - VeluxScene veluxScene = new VeluxScene(scene); - logger.trace("discoverScenes() storing scene {}.", veluxScene); - if (!bridge.existingsScenes.isRegistered(veluxScene)) { - bridge.existingsScenes.register(veluxScene); - } - logger.trace("discoverScenes() stored scene {}.", veluxScene); - } - } else { - logger.trace("discoverScenes() finished with failure."); - return false; - } - logger.trace("discoverScenes() finished with success."); - return true; - } - - public VeluxBridgeDiscovery(VeluxBridgeHandler bridge) { - logger.trace("VeluxBridgeDiscovery() called."); - - do { - if (!bridge.bridgeLogin()) { - logger.debug("Velux bridge login sequence failed; expecting bridge is OFFLINE."); - break; - } - if (!discoverProducts(bridge)) { - logger.debug("Discovery of products on Velux bridge failed; expecting bridge is OFFLINE."); - break; - } - if (!discoverScenes(bridge)) { - logger.debug("Discovery of scenes on Velux bridge failed; expecting bridge is OFFLINE."); - break; - } - if (!bridge.bridgeLogout()) { - logger.debug("Velux bridge logout sequence failed; expecting bridge is OFFLINE."); - break; - } - } while (false); - logger.debug("VeluxBridgeDiscovery() finally has found products {}.", bridge.existingsProducts); - logger.debug("VeluxBridgeDiscovery() finally has found scenes {}.", bridge.existingsScenes); - } - -} -/** - * end-of-VeluxBridgeHandler.java - */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandler.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandler.java index 2cc90d21a2b88..d58c3c630ec05 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandler.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandler.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -8,12 +8,14 @@ */ package org.openhab.binding.velux.handler; -import static org.openhab.binding.velux.VeluxBindingConstants.THING_TYPE_BRIDGE; +import static org.openhab.binding.velux.VeluxBindingConstants.*; import java.io.IOException; import java.util.Collections; import java.util.Set; +import org.eclipse.smarthome.core.library.types.OnOffType; +import org.eclipse.smarthome.core.library.types.StringType; import org.eclipse.smarthome.core.thing.Bridge; import org.eclipse.smarthome.core.thing.ChannelUID; import org.eclipse.smarthome.core.thing.Thing; @@ -23,7 +25,15 @@ import org.eclipse.smarthome.core.thing.binding.BaseBridgeHandler; import org.eclipse.smarthome.core.thing.binding.ThingHandler; import org.eclipse.smarthome.core.types.Command; +import org.eclipse.smarthome.core.types.RefreshType; import org.openhab.binding.velux.bridge.VeluxBridge; +import org.openhab.binding.velux.bridge.VeluxBridgeDetectProducts; +import org.openhab.binding.velux.bridge.VeluxBridgeDeviceStatus; +import org.openhab.binding.velux.bridge.VeluxBridgeFirmware; +import org.openhab.binding.velux.bridge.VeluxBridgeGetProducts; +import org.openhab.binding.velux.bridge.VeluxBridgeGetScenes; +import org.openhab.binding.velux.bridge.VeluxBridgeLANConfig; +import org.openhab.binding.velux.bridge.VeluxBridgeWLANConfig; import org.openhab.binding.velux.bridge.comm.BClogin; import org.openhab.binding.velux.bridge.comm.BClogout; import org.openhab.binding.velux.bridge.comm.BridgeCommunicationProtocol; @@ -46,27 +56,45 @@ *
  • {@link VeluxBridgeHandler#bridgeLogout} for closing of an authentication, and *
  • {@link VeluxBridgeHandler#bridgeCommunicate} for communication in between. * - * Beside the method parameters, the behaviour is controlled by {@link VeluxBridgeConfiguration}. + * Beside the method parameters, the behavior is controlled by {@link VeluxBridgeConfiguration}. * * @author Guenther Schreiner - Initial contribution */ public class VeluxBridgeHandler extends BaseBridgeHandler { private final Logger logger = LoggerFactory.getLogger(VeluxBridgeHandler.class); - /** Set of things provided by {@link VeluxBridgeHandler}. */ - public static final Set SUPPORTED_THING_TYPES = Collections.singleton(THING_TYPE_BRIDGE); - /** Configuration options for {@link VeluxBridgeHandler}. */ private VeluxBridgeConfiguration configuration = null; /** BridgeCommunicationProtocol authentication token for Velux Bridge. */ private String authenticationToken = ""; - /** Bridge Discovery. */ - public VeluxBridgeDiscovery discovery; + /** Information retrieved by {@link org.openhab.binding.velux.bridge.VeluxBridgeFirmware#retrieve} */ + private VeluxBridgeFirmware.Channel firmware = null; + + /** Information retrieved by {@link org.openhab.binding.velux.bridge.VeluxBridgeLANConfig#retrieve} */ + private VeluxBridgeLANConfig.Channel lanConfig = null; + + /** Information retrieved by {@link org.openhab.binding.velux.bridge.VeluxBridgeWLANConfig#retrieve} */ + private VeluxBridgeWLANConfig.Channel wlanConfig = null; + + /* + * Set of public visible Bridge Information. + */ + + /** Set of things provided by {@link VeluxBridgeHandler}. */ + public static final Set SUPPORTED_THING_TYPES = Collections.singleton(THING_TYPE_BRIDGE); + + /** Information retrieved by {@link org.openhab.binding.velux.bridge.VeluxBridgeGetProducts#getProducts} */ public VeluxExistingProducts existingsProducts = null; + + /** Information retrieved by {@link org.openhab.binding.velux.bridge.VeluxBridgeGetScenes#getScenes} */ public VeluxExistingScenes existingsScenes = null; + /* + * Constructor. + */ + public VeluxBridgeHandler(Bridge bridge) { super(bridge); logger.trace("Creating a VeluxBridgeHandler for thing '{}'.", getThing().getUID()); @@ -86,32 +114,34 @@ public void initialize() { configuration = new VeluxBridgeConfiguration(); } - if (configuration.bridgeURL.length() < 6) { // six means minimum of http:/ + if (configuration.bridgeURL.length() < 6) { // six means minimum of "http:/" logger.warn("Velux bridge configuration error (missing bridgeURL)."); updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "Unable to connect Velux Bridge."); return; } logger.trace("Adjusting communication parameters."); - VeluxBridge.communicationSetup(configuration.retries, configuration.timeoutMsecs); + VeluxBridge.ioSetup(configuration.retries, configuration.timeoutMsecs); - logger.trace("Initializing storage for existing products.."); + logger.trace("Initializing empty storage for existing products."); existingsProducts = new VeluxExistingProducts(); - logger.trace("Initializing storage for existing scenes.."); + logger.trace("Initializing empty storage for existing scenes."); existingsScenes = new VeluxExistingScenes(); /* * Try a sequence of Login followed by Logout. */ - if (bridgeLogin()) { - if (bridgeLogout()) { + if (bridgeLogin() && bridgeLogout()) { - logger.debug("Velux bridge is online, now."); - updateStatus(ThingStatus.ONLINE); + logger.debug("Velux bridge is online, now."); + updateStatus(ThingStatus.ONLINE); + + /* + * Fetch all scenes for further invocations + */ + logger.trace("Fetch existing scenes."); + VeluxBridgeGetScenes.getScenes(this); - this.discovery = new org.openhab.binding.velux.handler.VeluxBridgeDiscovery(this); - super.initialize(); - } } else { logger.info("Velux bridge login/logout sequence failed; expecting bridge is OFFLINE."); updateStatus(ThingStatus.OFFLINE); @@ -130,13 +160,165 @@ public synchronized void dispose() { super.dispose(); } + /** + * {@inheritDoc} + * NOTE: It takes care by calling {@link #handleCommand} with the REFRESH command, that every used channel is + * initialized. + */ + @Override + public void channelLinked(ChannelUID channelUID) { + logger.trace("channelLinked({}) called.", channelUID.getAsString()); + + if (thing.getStatus() == ThingStatus.ONLINE) { + logger.trace("channelLinked() about to handleCommand as Thing is online."); + handleCommand(channelUID, RefreshType.REFRESH); + } else { + logger.trace("channelLinked() doing nothing as Thing is not online."); + } + } + /** * {@inheritDoc} */ @Override public void handleCommand(ChannelUID channelUID, Command command) { logger.trace("handleCommand({},{}) called.", channelUID.getAsString(), command); - logger.debug("Bridge commands not supported."); + + String channelId = VeluxChannel.getChannelId(channelUID.getId()); + // String channelSubId = VeluxChannel.getChannelSubId(channelUID.getId()); + + if (command instanceof RefreshType) { + switch (channelId) { + + case CHANNEL_BRIDGE_STATUS: + String deviceStatus = new VeluxBridgeDeviceStatus().retrieve(this); + logger.trace("handleCommand() updating {} to {}.", channelUID, deviceStatus); + updateState(channelUID, new StringType(deviceStatus)); + break; + + case CHANNEL_BRIDGE_FIRMWARE: + if (this.firmware == null) { + this.firmware = new VeluxBridgeFirmware().retrieve(this); + } + if (this.firmware != null && this.firmware.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.firmware.firmwareVersion); + updateState(channelUID, new StringType(this.firmware.firmwareVersion)); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + + case CHANNEL_BRIDGE_IPADDRESS: + if (this.lanConfig == null) { + this.lanConfig = new VeluxBridgeLANConfig().retrieve(this); + } + if (this.lanConfig != null && this.lanConfig.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.lanConfig.ipAddress); + updateState(channelUID, new StringType(this.lanConfig.ipAddress)); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + case CHANNEL_BRIDGE_SUBNETMASK: + if (this.lanConfig == null) { + this.lanConfig = new VeluxBridgeLANConfig().retrieve(this); + } + if (this.lanConfig != null && this.lanConfig.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.lanConfig.subnetMask); + updateState(channelUID, new StringType(this.lanConfig.subnetMask)); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + + case CHANNEL_BRIDGE_DEFAULTGW: + if (this.lanConfig == null) { + this.lanConfig = new VeluxBridgeLANConfig().retrieve(this); + } + if (this.lanConfig != null && this.lanConfig.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.lanConfig.defaultGW); + updateState(channelUID, new StringType(this.lanConfig.defaultGW)); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + case CHANNEL_BRIDGE_DHCP: + if (this.lanConfig == null) { + this.lanConfig = new VeluxBridgeLANConfig().retrieve(this); + } + if (this.lanConfig != null && this.lanConfig.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.lanConfig.enabledDHCP); + updateState(channelUID, this.lanConfig.enabledDHCP ? OnOffType.ON : OnOffType.OFF); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + + case CHANNEL_BRIDGE_WLANSSID: + if (this.wlanConfig == null) { + this.wlanConfig = new VeluxBridgeWLANConfig().retrieve(this); + } + if (this.wlanConfig != null && this.wlanConfig.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.wlanConfig.wlanSSID); + updateState(channelUID, new StringType(this.wlanConfig.wlanSSID)); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + case CHANNEL_BRIDGE_WLANPASSWORD: + if (this.wlanConfig == null) { + this.wlanConfig = new VeluxBridgeWLANConfig().retrieve(this); + } + if (this.wlanConfig != null && this.wlanConfig.isRetrieved) { + logger.trace("handleCommand() updating {} to {}.", channelUID, this.wlanConfig.wlanPassword); + updateState(channelUID, new StringType(this.wlanConfig.wlanPassword)); + } else { + logger.trace("handleCommand() updating of {} failed.", channelUID); + } + break; + + case CHANNEL_BRIDGE_SCENES: + String sceneInfo = this.existingsScenes.toString(); + logger.info("handleCommand() found scenes {}.", sceneInfo); + sceneInfo = sceneInfo.replaceAll("[^\\p{Punct}\\w]", "_"); + logger.trace("handleCommand() updating {} to {}.", channelUID, sceneInfo); + updateState(channelUID, new StringType(sceneInfo)); + break; + + case CHANNEL_BRIDGE_PRODUCTS: + if (this.existingsProducts.getNoMembers() == 0) { + logger.trace("handleCommand() is about to fetch existing products."); + VeluxBridgeGetProducts.getProducts(this); + } + String productInfo = this.existingsProducts.toString(); + logger.info("handleCommand() found products {}.", productInfo); + productInfo = productInfo.replaceAll("[^\\p{Punct}\\w]", "_"); + logger.trace("handleCommand() updating {} to {}.", channelUID, productInfo); + updateState(channelUID, new StringType(productInfo)); + break; + + default: + logger.trace("handleCommand() cannot handle REFRESH on channel {}.", channelId); + } + + } else if (command instanceof OnOffType) + + { + switch (channelId) { + case CHANNEL_BRIDGE_DETECTION: + if (command.equals(OnOffType.ON)) { + logger.trace("handleCommand() about to activate bridge detection mode."); + VeluxBridgeDetectProducts.detectProducts(this); + } else { + logger.trace("handleCommand() ignoring OFF command."); + } + break; + default: + logger.trace("handleCommand() cannot handle ON/OFF on channel {}.", channelId); + } + } else { + logger.debug("Bridge command {} not supported.", command); + } } /** @@ -169,7 +351,7 @@ public void childHandlerDisposed(ThingHandler childHandler, Thing childThing) { public synchronized boolean bridgeLogin() { logger.trace("bridgeLogin() called."); - BClogin.Response loginResponse = bridgeCommunicate(new BClogin(configuration.bridgePassword)); + BClogin.Response loginResponse = bridgeCommunicate(new BClogin(configuration.bridgePassword), false); if (loginResponse != null) { logger.trace("bridgeLogin(): communication succeeded."); if (loginResponse.getResult()) { @@ -219,28 +401,38 @@ public synchronized boolean bridgeLogout() { * @param * generic response based on details within communication. * + * @param useAuthentication + * boolean flag to decide whether to use authenticated communication. + * * @return response * of type T containing all resulting informations, i.e. device status, errors a.s.o. Will return * null in case of communication or decoding error. */ - public synchronized T bridgeCommunicate(BridgeCommunicationProtocol communication) { - logger.debug("bridgeCommunicate({}) called.", communication.name()); - - if (authenticationToken.length() <= 0) { - logger.trace("bridgeCommunicate(): no auth token available."); - if (communication.getClass() != BClogin.class) { + public synchronized T bridgeCommunicate(BridgeCommunicationProtocol communication, + boolean useAuthentication) { + logger.debug("bridgeCommunicate({},{}authenticated) called.", communication.name(), + useAuthentication ? "" : "un"); + + if (!isAuthenticated()) { + if (useAuthentication) { + logger.trace("bridgeCommunicate(): no auth token available, aborting."); return null; } else { - logger.trace("bridgeCommunicate(): special handling for login."); + logger.trace("bridgeCommunicate(): no auth token available, continueing."); } } String sapURL = configuration.bridgeURL.concat(communication.getURL()); Object getRequest = communication.getObjectOfRequest(); Class classOfResponse = communication.getClassOfResponse(); + T response; try { - T response = VeluxBridge.communicateAuthenticated(sapURL, authenticationToken, getRequest, classOfResponse); + if (useAuthentication) { + response = VeluxBridge.ioAuthenticated(sapURL, authenticationToken, getRequest, classOfResponse); + } else { + response = VeluxBridge.ioUnauthenticated(sapURL, getRequest, classOfResponse); + } logger.trace("bridgeCommunicate(): communication result is {}, returning details.", communication.isCommunicationSuccessful(response)); return response; @@ -254,6 +446,36 @@ public synchronized T bridgeCommunicate(BridgeCommunicationProtocol commu } } + /** + * Initializes a client/server communication towards Velux bridge + * based on the Basic I/O interface {@link VeluxBridge} and parameters + * passed as arguments (see below) and provided by {@link VeluxBridgeConfiguration}. + * This method automatically decides to invoke a login communication before the + * intended request if there has not been an authentication before. + * + * @param communication + * Structure of interface type {@link BridgeCommunicationProtocol} describing the intended communication, + * that is request and response interactions as well as appropriate URL definition. + * + * @param + * generic response based on details within communication. + * + * @return response + * of type T containing all resulting informations, i.e. device status, errors a.s.o. Will return + * null in case of communication or decoding error. + */ + + public synchronized T bridgeCommunicate(BridgeCommunicationProtocol communication) { + logger.debug("bridgeCommunicate({}) called.", communication.name()); + if (!isAuthenticated()) { + bridgeLogin(); + } + return bridgeCommunicate(communication, true); + } + + private boolean isAuthenticated() { + return (this.authenticationToken != null) && (authenticationToken.length() > 0); + } } /** * end-of-VeluxBridgeHandler.java diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.java deleted file mode 100644 index cc71f5c293838..0000000000000 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandlerTester.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Copyright 2016-2017 (c) Guenther Schreiner - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - */ -package org.openhab.binding.velux.handler; - -import java.util.Arrays; - -import org.openhab.binding.velux.bridge.comm.BCgetProducts; -import org.openhab.binding.velux.bridge.comm.BCgetScenes; -import org.openhab.binding.velux.bridge.comm.BCidentifyProduct; -import org.openhab.binding.velux.bridge.comm.BCproduct; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * The {@link VeluxBridgeHandlerTester} is a quick approach to verify all functions - * provided by the {@link VeluxBridgeHandler} like querying for scenes and products. - * - * @author Guenther Schreiner - Initial contribution - */ -public class VeluxBridgeHandlerTester { - private final Logger logger = LoggerFactory.getLogger(VeluxBridgeHandlerTester.class); - - public void execute(VeluxBridgeHandler bridge) { - logger.trace("execute() called."); - - if (!bridge.bridgeLogin()) { - logger.info("Cannot login into Velux bridge, aborting."); - return; - } - - BCproduct[] products = bridge.bridgeCommunicate(new BCgetProducts()).getDevices(); - for (BCproduct product : products) { - logger.info("found product {} ({}).", product.getName(), product.getCategory()); - } - - BCgetScenes.BCscene[] scenes = bridge.bridgeCommunicate(new BCgetScenes()).getScenes(); - for (BCgetScenes.BCscene bCscene : scenes) { - logger.info("found scene {} ({}).", bCscene.getName(), bCscene.getId()); - } - - BCidentifyProduct.Response answer = bridge.bridgeCommunicate(new BCidentifyProduct(23)); - if (answer != null) { - logger.info("identify done: device status {} with errors {}.", answer.getDeviceStatus(), - Arrays.toString(answer.getErrors())); - } - - if (!bridge.bridgeLogout()) { - logger.debug("Logout on Velux bridge failed."); - } - - } - -} - -/** - * end-of-VeluxBridgeHandlerTester.java - */ diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxChannel.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxChannel.java index 8754be1af5936..485cd5b46fbe1 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxChannel.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxChannel.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -20,21 +20,6 @@ public class VeluxChannel { public static final String SUBSEPARATUR = "#"; - public static enum Channel { - ACTION(1) - ; - - private final int position; - - Channel(int position) { - this.position = position; - } - - public int getPosition() { - return position; - } - } - public static String getChannelId(String getId) { return StringUtils.substringBefore(getId, SUBSEPARATUR); } diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxHandler.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxHandler.java index 3a268acbcf602..c78a867c1f452 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxHandler.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxHandler.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -12,7 +12,6 @@ import java.util.Set; -import org.eclipse.smarthome.core.library.types.DecimalType; import org.eclipse.smarthome.core.library.types.OnOffType; import org.eclipse.smarthome.core.thing.Bridge; import org.eclipse.smarthome.core.thing.ChannelUID; @@ -24,8 +23,8 @@ import org.eclipse.smarthome.core.thing.binding.ThingHandler; import org.eclipse.smarthome.core.types.Command; import org.eclipse.smarthome.core.types.RefreshType; -import org.eclipse.smarthome.core.types.State; -import org.eclipse.smarthome.core.types.UnDefType; +import org.openhab.binding.velux.bridge.VeluxBridgeExecute; +import org.openhab.binding.velux.bridge.VeluxBridgeSceneMode; import org.openhab.binding.velux.internal.config.VeluxThingConfiguration; import org.openhab.binding.velux.things.VeluxScene; import org.openhab.binding.velux.things.VeluxScene.SceneName; @@ -52,11 +51,6 @@ public class VeluxHandler extends BaseThingHandler { private boolean propertiesInitializedSuccessfully = false; - /** - * Velux query details for Thing - */ - private String queryString; - public VeluxHandler(Thing thing) { super(thing); } @@ -119,12 +113,11 @@ private synchronized void initializeProperties() { ThingTypeUID thingTypeUID = getThing().getThingTypeUID(); // Determine the ThingType and choose appropriate device type if (thingTypeUID.equals(THING_TYPE_VELUX_SCENE)) { - logger.trace("initialize(): THING_TYPE_VELUX_SCENE xxxxxxxxxxxxxxxxxxxxx.{}.", thingTypeUID); + logger.trace("initializeProperties(): scene {} initialized.", thingTypeUID); } else { - logger.error("Could not initialize query as UID {} is unknown", thingTypeUID); + logger.error("Could not initialize query as UID {} is unknown.", thingTypeUID); return; } - logger.trace("initialize(): Velux Query String set to {}.", queryString); propertiesInitializedSuccessfully = true; } } @@ -138,37 +131,16 @@ public void dispose() { super.dispose(); } - public State getChannelValue(VeluxChannel.Channel item) { - logger.trace("getChannelValue({}) called.", item); - - if (!true) { - return UnDefType.UNDEF; - } - DecimalType val; - String value = "42"; - logger.trace("getChannelValue() returns {}.", value); - if (value == null) { - return UnDefType.UNDEF; - } - try { - val = new DecimalType(value); - } catch (NumberFormatException nx) { - return UnDefType.UNDEF; - } - return val; - } - - public State getChannelValue(String channelString) { - logger.trace("getChannelValue(string {}) called.", channelString); + /** + * {@inheritDoc} + */ + @Override + public void channelLinked(ChannelUID channelUID) { + logger.trace("channelLinked({}) called.", channelUID.getAsString()); - VeluxChannel.Channel thisChannel; - try { - thisChannel = VeluxChannel.Channel.valueOf(channelString); - } catch (IllegalArgumentException e) { - logger.error("getChannelValue() returns UnDefType.NULL due to unknown channelString {}.", channelString); - return UnDefType.NULL; + if (thing.getStatus() == ThingStatus.ONLINE) { + handleCommand(channelUID, RefreshType.REFRESH); } - return getChannelValue(thisChannel); } /** @@ -184,12 +156,13 @@ public void handleCommand(ChannelUID channelUID, Command command) { return; } VeluxBridgeHandler veluxBridgeHandler = (VeluxBridgeHandler) veluxBridge.getHandler(); + assert veluxBridgeHandler != null : "veluxBridge.getHandler() returned null."; String channelId = VeluxChannel.getChannelId(channelUID.getId()); String channelSubId = VeluxChannel.getChannelSubId(channelUID.getId()); + VeluxScene thisScene; if (command instanceof RefreshType) { - if (!veluxBridgeHandler.bridgeLogin()) { logger.trace("Cannot handle refresh command for the time being."); veluxBridgeHandler.bridgeLogout(); @@ -204,8 +177,11 @@ public void handleCommand(ChannelUID channelUID, Command command) { veluxBridgeHandler.existingsProducts); logger.debug("handleCommand() had recently discovered scenes: {}", veluxBridgeHandler.existingsScenes); - return; + break; + default: + logger.trace("handleCommand() cannot handle REFRESH on channel {}.", channelId); } + return; } else if (command instanceof OnOffType) { switch (channelId) { @@ -213,20 +189,43 @@ public void handleCommand(ChannelUID channelUID, Command command) { logger.trace("Try to handle ON/OFF with channelSubId {}.", channelSubId); if (!command.equals(OnOffType.ON)) { logger.trace("handleCommand() nothing to do for anything but ON."); - return; + break; } + + assert veluxBridgeHandler.existingsScenes != null : "veluxBridgeHandler.existingsScenes not initialized."; if (!veluxBridgeHandler.existingsScenes.isRegistered(new SceneName(channelSubId))) { logger.info("handleCommand() cannot activate unknown scene: \"{}\".", channelSubId); - return; + break; } logger.debug("handleCommand() activating known scene \"{}\".", channelSubId); - VeluxScene thisAction = veluxBridgeHandler.existingsScenes.get(new SceneName(channelSubId)); - logger.trace("handleCommand() execution scene \"{}\".", thisAction); - VeluxBridgeExecute.execute(veluxBridgeHandler, thisAction.getBridgeSceneIndex().toInt()); + thisScene = veluxBridgeHandler.existingsScenes.get(new SceneName(channelSubId)); + logger.trace("handleCommand() execution scene \"{}\".", thisScene); + VeluxBridgeExecute.execute(veluxBridgeHandler, thisScene.getBridgeSceneIndex().toInt()); logger.trace("handleCommand() execution done."); + break; - return; + case CHANNEL_SCENE_SILENTMODE: + logger.trace("Try to handle ON/OFF with channelSubId {}.", channelSubId); + if (!veluxBridgeHandler.existingsScenes.isRegistered(new SceneName(channelSubId))) { + logger.info("handleCommand() cannot activate unknown scene: \"{}\".", channelSubId); + break; + } + boolean silentMode = command.equals(OnOffType.ON); + logger.debug("handleCommand() setting silent mode to {}.", silentMode); + + assert veluxBridgeHandler.existingsScenes != null : "veluxBridgeHandler.existingsScenes not initialized."; + thisScene = veluxBridgeHandler.existingsScenes.get(new SceneName(channelSubId)); + logger.trace("handleCommand() execution scene \"{}\".", thisScene); + int sceneNumber = thisScene.getBridgeSceneIndex().toInt(); + VeluxBridgeSceneMode.setSilentMode(veluxBridgeHandler, sceneNumber, silentMode); + logger.trace("handleCommand() execution done."); + break; + + default: + logger.trace("handleCommand() cannot handle ON/OFF on channel {}.", channelId); + break; } + return; } logger.error("Command {} is not supported for channel: {}.", command, channelUID.getId()); } diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxHandlerFactory.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxHandlerFactory.java index 30343095d6b65..2fa33ed3b6b72 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxHandlerFactory.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxHandlerFactory.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -8,13 +8,20 @@ */ package org.openhab.binding.velux.internal; +import static org.openhab.binding.velux.VeluxBindingConstants.THING_TYPE_BRIDGE; + +import java.util.Hashtable; + +import org.eclipse.smarthome.config.discovery.DiscoveryService; import org.eclipse.smarthome.core.thing.Bridge; import org.eclipse.smarthome.core.thing.Thing; import org.eclipse.smarthome.core.thing.ThingTypeUID; import org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory; import org.eclipse.smarthome.core.thing.binding.ThingHandler; +import org.openhab.binding.velux.discovery.VeluxDiscoveryService; import org.openhab.binding.velux.handler.VeluxBridgeHandler; import org.openhab.binding.velux.handler.VeluxHandler; +import org.osgi.framework.ServiceRegistration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -28,6 +35,7 @@ public class VeluxHandlerFactory extends BaseThingHandlerFactory { private final Logger logger = LoggerFactory.getLogger(VeluxHandlerFactory.class); + private ServiceRegistration discoveryServiceReg; /** * {@inheritDoc} @@ -51,18 +59,18 @@ protected ThingHandler createHandler(Thing thing) { ThingTypeUID thingTypeUID = thing.getThingTypeUID(); if (thingTypeUID != null) { - logger.debug("Trying to create a handler for ThingType '{}'", thingTypeUID); + logger.trace("Trying to create a handler for ThingType '{}'", thingTypeUID); // Handle Bridge creation as 1st choice if (VeluxBridgeHandler.SUPPORTED_THING_TYPES.contains(thingTypeUID)) { - logger.debug("Creating a VeluxBridgeHandler for thing '{}'.", thing.getUID()); - logger.debug("Creating a VeluxBridgeHandler for thing '{}'.", thingTypeUID); + logger.trace("Creating a VeluxBridgeHandler for thing '{}'.", thing.getUID()); VeluxBridgeHandler handler = new VeluxBridgeHandler((Bridge) thing); + registerDeviceDiscoveryService(handler); return handler; } else if (VeluxHandler.SUPPORTED_THING_TYPES_UIDS.contains(thingTypeUID)) { - logger.debug("Creating a VeluxHandler for thing '{}'.", thing.getUID()); + logger.trace("Creating a VeluxHandler for thing '{}'.", thing.getUID()); return new VeluxHandler(thing); } else { logger.warn("ThingHandler not found for {}.", thingTypeUID); @@ -72,6 +80,23 @@ else if (VeluxHandler.SUPPORTED_THING_TYPES_UIDS.contains(thingTypeUID)) { return null; } + private void registerDeviceDiscoveryService(VeluxBridgeHandler bridgeHandler) { + VeluxDiscoveryService discoveryService = new VeluxDiscoveryService(bridgeHandler); + discoveryServiceReg = bundleContext.registerService(DiscoveryService.class.getName(), discoveryService, + new Hashtable()); + } + + @Override + protected void removeHandler(ThingHandler thingHandler) { + logger.trace("removeHandler({}) called.", thingHandler.toString()); + + if (discoveryServiceReg != null && thingHandler.getThing().getThingTypeUID().equals(THING_TYPE_BRIDGE)) { + discoveryServiceReg.unregister(); + discoveryServiceReg = null; + } + super.removeHandler(thingHandler); + } + } /** * end-of-VeluxHandlerFactory.java diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.java index 9a5aa77edbd1e..01ed9ab73c643 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxBridgeConfiguration.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.java index fbc46dfbc0220..f044e79c2ce28 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/config/VeluxThingConfiguration.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingProducts.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingProducts.java index 935c06994e464..4a1ed2f2909d8 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingProducts.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingProducts.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -16,6 +16,16 @@ /** * Combined set of product informations provided by the Velux bridge, * which can be used for later interactions. + *

    + * The following class access methods exist: + *

      + *
    • {@link VeluxExistingProducts#isRegistered} for querying existence of a {@link VeluxProduct}, + *
    • {@link VeluxExistingProducts#register} for storing a {@link VeluxProduct}, + *
    • {@link VeluxExistingProducts#get} for retrieval of a {@link VeluxProduct}, + *
    • {@link VeluxExistingProducts#values} for retrieval of all {@link VeluxProduct}s, + *
    • {@link VeluxExistingProducts#getNoMembers} for retrieval of the number of all {@link VeluxProduct}s, + *
    • {@link VeluxExistingProducts#toString} for a descriptive string representation. + *
    * * @see VeluxProduct * diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingScenes.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingScenes.java index d148a922e93b9..c4cce76c407fc 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingScenes.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxExistingScenes.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -17,6 +17,16 @@ /** * Combined set of scene informations provided by the Velux bridge, * which can be used for later interactions. + *

    + * The following class access methods exist: + *

      + *
    • {@link VeluxExistingScenes#isRegistered} for querying existence of a {@link VeluxScene}, + *
    • {@link VeluxExistingScenes#register} for storing a {@link VeluxScene}, + *
    • {@link VeluxExistingScenes#get} for retrieval of a {@link VeluxScene}, + *
    • {@link VeluxExistingScenes#values} for retrieval of all {@link VeluxScene}s, + *
    • {@link VeluxExistingScenes#getNoMembers} for retrieval of the number of all {@link VeluxScene}s, + *
    • {@link VeluxExistingScenes#toString} for a descriptive string representation. + *
    * * @see VeluxScene * diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProduct.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProduct.java index 2417319f1eec7..9659d3af039ef 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProduct.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProduct.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductReference.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductReference.java index 86bc39efae95c..8d7aff6b1bb2d 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductReference.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductReference.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductState.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductState.java index 90f495573a86d..1273e6f62a045 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductState.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxProductState.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxScene.java b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxScene.java index e5b746e4c08a9..1474515b4d26b 100644 --- a/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxScene.java +++ b/addons/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/things/VeluxScene.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 (c) Guenther Schreiner + * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 diff --git a/addons/binding/pom.xml b/addons/binding/pom.xml index d6694d67263d1..0e83ee337e992 100644 --- a/addons/binding/pom.xml +++ b/addons/binding/pom.xml @@ -82,6 +82,7 @@ org.openhab.binding.tesla org.openhab.binding.toon org.openhab.binding.urtsi + org.openhab.binding.velux org.openhab.binding.vitotronic org.openhab.binding.wifiled org.openhab.binding.windcentrale diff --git a/features/openhab-addons/src/main/feature/feature.xml b/features/openhab-addons/src/main/feature/feature.xml index a142ad8dd68e7..b053364afb5b0 100644 --- a/features/openhab-addons/src/main/feature/feature.xml +++ b/features/openhab-addons/src/main/feature/feature.xml @@ -353,6 +353,11 @@ mvn:org.openhab.binding/org.openhab.binding.toon/${project.version} + + openhab-runtime-base + mvn:org.openhab.binding/org.openhab.binding.velux/${project.version} + + openhab-runtime-base mvn:org.openhab.binding/org.openhab.binding.vitotronic/${project.version}