I got the KLF200 a week ago and was frustrated. It did run like it should for… some hours? I finally solved the problem (but still dont know why it occurred and how long it will take until the next time), see the TL;DR part at the end.
But First: the documentation from Velux is awful to not existent (it ends at the point where you START the configuration!). For all those coming to this thread later (but no guarantees if it really helps):
- Wifi is for setup only, after your setup you have to put the LAN cable in. Thus: check the connection settings, I am using “Wifi off after 10min” + “LAN always on”
- If you want to add something later (setup over wifi, see 1.), you have to switch off the klf 200 (pull power), remove the LAN cable, boot and enter thru wifi again
- no possibility to change the default password (the password which is needed for the configuration and listed and used as wifi password below the SSID on the label on the back of the device). This is the default wifi-connection AND communication password. Who does this anymore? We are in 2022! You can change the password for the configuration portal, though.
- Don’t stop your device during anything that looks like setup. I did (on whatever point, I cant remember) and now one of my shutters can’t be connected to the KLF 200 anymore, because the setup started over again, the shutter thinks it is still connected, but it not. Thats quite a normal behavior with velux, you have to access the reset button on the outside unit (on my roof). At least both remote controls are still connected and working independently from the velux hub. But: I don’t know why this happened and why the setup wasnt finished at that point of time.
- What do all the LED blinking codes mean? I did not find any documentation on that, which led to my frustrating status.
Now, as I mentioned above - the system worked for some hours. Next morning openhab did not have a connection anymore (I did not check the logs and log rotation already killed it), the KLF 200 had a red LED. Whatever this means, see 5.
For all those coming later, having the same problems, my troubleshooting which did not help (solution in TL;DR) but you might have the same errors and maybe a search engine is leading you here.
I tried restarting the KLF200 (power cord): the device came up again and had a blinking white LED but did not connect to openhab. Pulling and inserting LAN cable, restarting binding, restarting openhab. It did not work.
sending command GW_PASSWORD_ENTER_REQ
2022-07-13 13:01:02.903 [INFO ] [x.internal.bridge.slip.io.Connection] - io() on 192.168.1.2: Exception occurred during I/O: raised a non-recoverable error during connection setup: Connection refused (Connection refused).
...
2022-07-13 13:02:57.487 [INFO ] [x.internal.bridge.slip.io.Connection] - io() on 192.168.1.2: socket I/O failed 5 times.
2022-07-13 13:02:57.488 [WARN ] [.internal.handler.VeluxBridgeHandler] - velux bridge login sequence failed; expecting bridge is OFFLINE.
The password is correct, absolutely sure. Why? Because I copy/pasted it AND I can use it to log into wifi (see 2.). I could also ping the device: 2029 packets transmitted, 2029 received, 0% packet loss, time 2056466ms
TL;DR: the connection+documentation for KLF200 is awful (not the binding’s problem in my view), just disable the bridge in the config, restart the KLF 200, wait the 10 minutes (until wifi is off again, see 1.) and enable the bridge again. This is mentioned in the binding’s thread.