Dear Guenther
Try to get your binding up and running. Now 2 eveneings without sucess.
Run Openhab 2.2 on a Raspi3 with openhabian1.4
Installation of binding went fine.
The configured Thing as follow as i used statical IP adress:
Bridge velux:klf200:home [ bridgeIPAddress=ā192.168.1.35ā ]
Afterwards i can search for things --> choose Velux binding --> nothing happens.
So i manually add and get a thing. But the status donĀ“t go to online. It shows initializing.
As LOG Fioles shows some timing issues i increased timeout to 10000 but no sucess.
The log shows following :
2018-04-19 21:14:35.417 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model āvelux.itemsā
==> /var/log/openhab2/events.log <==
2018-04-19 21:14:35.437 [.ItemChannelLinkAddedEvent] - Link āV_BRIDGE_STATUS-velux:klf200:ea912597:statusā has been added.
2018-04-19 21:14:35.442 [.ItemChannelLinkAddedEvent] - Link āV_BRIDGE_FIRMWARE-velux:klf200:ea912597:firmwareā has been added.
==> /var/log/openhab2/openhab.log <==
2018-04-19 21:15:58.820 [INFO ] [ing.velux.handler.VeluxBridgeHandler] - Initializing Velux bridge handler for āvelux:klf200:603c06b3ā.
==> /var/log/openhab2/events.log <==
2018-04-19 21:15:58.831 [hingStatusInfoChangedEvent] - āvelux:klf200:603c06b3ā changed from UNINITIALIZED to INITIALIZING
==> /var/log/openhab2/openhab.log <==
2018-04-19 21:16:03.819 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing āvelux:klf200:603c06b3ā takes more than 5000ms.
2018-04-19 21:20:13.151 [INFO ] [hab.binding.velux.bridge.VeluxBridge] - io(): socket I/O failed continuously (6 times).
2018-04-19 21:20:13.154 [INFO ] [ing.velux.handler.VeluxBridgeHandler] - bridgeCommunicate(): Exception occurred on accessing http://velux.bridge:80/api/v1/auth: java.util.concurrent.ExecutionException: java.net.UnknownHostException: velux.bridge: Name or service not known.
2018-04-19 21:20:13.156 [INFO ] [ing.velux.handler.VeluxBridgeHandler] - Velux bridge login/logout sequence failed; expecting bridge is OFFLINE.
==> /var/log/openhab2/events.log <==
2018-04-19 21:20:13.178 [hingStatusInfoChangedEvent] - āvelux:klf200:603c06b3ā changed from INITIALIZING to OFFLINE
==> /var/log/openhab2/openhab.log <==
2018-04-19 21:32:29.052 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model āvelux.thingsā
2018-04-19 21:32:29.154 [INFO ] [ing.velux.handler.VeluxBridgeHandler] - Initializing Velux bridge handler for āvelux:klf200:homeā.
==> /var/log/openhab2/events.log <==
2018-04-19 21:32:29.163 [hingStatusInfoChangedEvent] - āvelux:klf200:homeā changed from UNINITIALIZED to INITIALIZING
==> /var/log/openhab2/openhab.log <==
2018-04-19 21:32:34.145 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing āvelux:klf200:homeā takes more than 5000ms.
2018-04-19 21:32:34.500 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model āvelux.thingsā
==> /var/log/openhab2/events.log <==
2018-04-19 21:32:39.556 [me.event.ThingUpdatedEvent] - Thing āvelux:klf200:homeā has been updated.
==> /var/log/openhab2/openhab.log <==
2018-04-19 21:32:39.564 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model āvelux.thingsā
==> /var/log/openhab2/events.log <==
2018-04-19 21:32:44.629 [me.event.ThingUpdatedEvent] - Thing āvelux:klf200:homeā has been updated.
==> /var/log/openhab2/openhab.log <==
2018-04-19 21:33:36.854 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model āvelux.thingsā
2018-04-19 21:33:36.862 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model āvelux.thingsā is either empty or cannot be parsed correctly!
2018-04-19 21:33:36.890 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model āvelux.thingsā
==> /var/log/openhab2/events.log <==
2018-04-19 21:33:41.947 [me.event.ThingUpdatedEvent] - Thing āvelux:klf200:homeā has been updated.
Could you give me a hint what i am doing wrong ?
Thanks
Karl