Hello Ingo,
perhaps a good idea could be if you start with a tiny configuration, i.e. with the definition of the bridge element. This can be done in a separate file for example velux-bridge.things
Bridge velux:klf200:gs28 [ ipAddress="192.168.45.9", tcpPort=51200, password="secret", isProtocolTraceEnabled=true ]
Without any further configuration this should lead to some output within the logfiles, like
08:15:15.108 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model âvelux-bridge.thingsâ
08:15:15.273 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - âvelux:klf200:gs28â changed from UNINITIALIZED to INITIALIZING
08:15:15.283 [INFO ] [x.internal.handler.VeluxBridgeHandler] - Initializing Velux Bridge âvelux:klf200:gs28â.
08:15:15.285 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - âvelux:klf200:gs28â changed from INITIALIZING to UNKNOWN
08:15:15.289 [INFO ] [b.binding.velux.internal.VeluxBinding] - veluxConfig[protocol=slip,ipAddress=192.168.45.9,tcpPort=51200,password=**********,timeoutMsecs=500,retries=5,refreshMsecs=10000,isBulkRetrievalEnabled=true,isSequentialEnforced=false,isProtocolTraceEnabled=true]
08:15:15.291 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Sending command GW_PASSWORD_ENTER_REQ.
08:15:15.292 [INFO ] [internal.bridge.slip.io.SSLconnection] - Starting velux bridge connection.
08:15:20.200 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_PASSWORD_ENTER_CFM.
08:15:20.201 [INFO ] [ng.velux.internal.bridge.slip.SClogin] - velux bridge connection successfully established (login succeeded).
08:15:20.202 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Sending command GW_GET_STATE_REQ.
08:15:20.706 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_STATE_CFM.
08:15:20.707 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Sending command GW_GET_SCENE_LIST_REQ.
08:15:21.211 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_SCENE_LIST_CFM.
08:15:21.213 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_SCENE_LIST_NTF.
08:15:21.214 [INFO ] [x.internal.handler.VeluxBridgeHandler] - Found velux scenes:
Scene âWindow-Closeâ (index 1) with non-silent mode and 0 actions
Scene âWindow-Openâ (index 0) with non-silent mode and 0 actions
08:15:21.215 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Sending command GW_GET_ALL_NODES_INFORMATION_REQ.
08:15:21.717 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_CFM.
08:15:21.718 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_NTF.
08:15:21.720 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_NTF.
08:15:21.721 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_NTF.
08:15:21.722 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_NTF.
08:15:21.724 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_NTF.
08:15:21.724 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_GET_ALL_NODES_INFORMATION_FINISHED_NTF.
08:15:21.724 [INFO ] [x.internal.handler.VeluxBridgeHandler] - Found velux actuators:
Product â#0â / SLIDER_SHUTTER (bridgeIndex=0,serial=56:32:14:5A:12:1C:05:5F,position=0000)
Product â#4â / SWITCH (bridgeIndex=4,serial=#4,position=C800)
Product â.â / SLIDER_SHUTTER (bridgeIndex=1,serial=53:09:40:5A:0C:23:0A:6E,position=0000)
Product âDG-M-Windowâ / SLIDER_WINDOW (bridgeIndex=3,serial=56:23:3E:26:0C:1B:00:10,position=C800)
Product â#2â / SLIDER_SHUTTER (bridgeIndex=2,serial=53:09:40:5A:0C:2A:05:64,position=0000)
08:15:21.725 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Sending command GW_HOUSE_STATUS_MONITOR_ENABLE_REQ.
08:15:22.231 [INFO ] [.internal.bridge.slip.SlipVeluxBridge] - Received answer GW_HOUSE_STATUS_MONITOR_ENABLE_CFM.
08:15:22.231 [INFO ] [x.internal.handler.VeluxBridgeHandler] - velux Bridge is online with 2 scenes and 5 actuators, now.
08:15:22.232 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - âvelux:klf200:gs28â changed from UNKNOWN to ONLINE
If you are familiar with the console, you should be able to see the bridge thing:
openhab> smarthome:things list
velux:klf200:gs28 (Type=Bridge, Status=ONLINE, Label=Velux KLF200, Bridge=null)
Bases on this situation you can add different things refering onto that bridge, i.e. a window defined in velux-001.thing
(binding=velux, thing type=window, bridge=gs28, name=window001):
Thing velux:window:gs28:window001 (velux:klf200:gs28) [ serial=â53:09:40:5A:0C:2A:05:64â ]
After this, the thing should appear and the log should tell you the same:
08:43:58.682 [INFO ] [del.core.internal.ModelRepositoryImpl] - Refreshing model âvelux-001.thingsâ
08:43:58.695 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - âvelux:window:gs28:window001â changed from UNINITIALIZED to INITIALIZING
08:43:58.707 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - âvelux:window:gs28:window001â changed from INITIALIZING to ONLINE
Pleas feel me to comment!
Best regards, Guenther