the log output looks as if the gateway recognizes seven devices (three closed windows, two closed shutters and two open shutters) but - you’re right - there might be an issue with the serial numbers.
According to the prefix of the serial numbers, all of them are coming from Velux (original ones!). I have has a similar strange situation when I had deleted and re-learned one shutter. Could you please confirm that you are having seven different active devices? If so, could you please increase the debugging for org.openhab.binding.velux to level DEBUG and org.openhab.binding.velux.bridge.slip.io.SSLconnection to level TRACE ?
Yes, confirmed. There are 7 different Velux devices active. DEBUG was enabled on binding.velux, but not on SSLconnection. I removed all my configs VELUX related configs in Items and Things, enabled logging and added Velux related items again (without the ones with duplicated serial). Attached, please find the log output with VELUX only lines. It starts ~9:34
Hi Guenther,
maybe a simple question, when i installed the binding i did put the jar file in the addons folder and indtalled it via paper ui.
But what is the manual way for uninstalling if the uninstall with paper ui is not working ?
simply remove the jar file from the add-on directory, i.e. on a *nix that is /usr/share/openhab2/addons/org.openhab.binding.velux-1.13.0-SNAPSHOT.jar
After a few seconds the openHAB framework recognizes the removal and eliminates the binding in a safe way on-the-fly without the need of restarting openHAB.
And, with this, you should have won a bug bounty: the serial number was decoded as eight bytes bit only seven bytes are passed to the generic openHAB layer. Therefore, you have got duplicate actuators. It’s a simple change … let me see whether I can fix it this year
Quick question @antares2001: Did you ever solve your problem? I am in exactly the same situation as you. The python script also produces the same output. I’ve rebooted the KLF frequently and I’m positive the password is correct.
yes the problem with the connection to klf200 is solved. i had use the wrong password in the binding. you must use the password thats printed on the klf200, not the weblogin password “velux123”.
But i have another problem since i had install the velux klf200.
this message is show at every system start.
2019-02-25 23:35:34.898 [INFO ] [org.openhab.binding.velux ] - FrameworkEvent INFO - org.openhab.binding.velux
org.osgi.framework.BundleException: The bundle class path entry "lib/gson-2.2.4.jar" could not be found for the bundle "osgi.identity; type="osgi.bundle"; version:Version="1.14.0.201902161749"; osgi.identity="org.openhab.binding.velux""
the response time of the velux actuators is very long. a command call need over 5s to start execution.
does anyone have any idea what that might be?
version 1.14.0 of velux binding
firmware version 2.0.0.71
Hello Marcel @Kellermeister,
the error message mentions a missing library (only used for recent firmware v1.*) which could
be ignored.
Regarding the delay between button press and action, I’d like to review the debug logging. Five seconds are far to long. Could you please share the log file (i.e. by PM) or anonymized within is forum?
may I ask you how it works? I have 5 velux (window+shutter) and I would like to manage those via OH. I need to buy a KLF200. But how the KLF200 will connect itself with those velux? May I ask you to have an idea how the flow works?
At this moment I have 5 KLR 200 remote controllers, one for each velux.
but can I configure my five devices in the KLF200 wirelessy? I mean, what I’m seeing on internet, you need to have a wired connection between the gateway and devices. But I don’t have, I use the KLR200 remote, one for each device, to manage wirelessy the velux. Do I need to send the configuration on my KLR200 to the KLF200? it can work without any cable?
you can control your devices wirelessly from the KLF 200. The configuration can get copied from the Remote, or you can get the devices learned by the KLF. No need to have wires. I have 3 Windows controlled with OpenHab via KLF200 and the only wiring I have is the Ethernet and power to the KLF.
the hardwired connections are in and outputs to the KLF to trigger the device actions. These are not needed when using openHab via the ethernet connection with the binding (I am still using v1 of the binding, but there is not difference on that point)
Question: do we need to have the KLF200 gateway on the same network of the Binding? or a different vlan is supported? Is the Binding using broadcast or multicast addresses?
only IP connectivity in general is needed. Neither same subnet nor broadcast or multicast domain required. The binding can even reside within the cloud with a KLF200 on a local network.
as my KLF200 (FW: 0.2.0.0.71.0) got delivered yesterday I’d like to ask you guys the following questions;
Is it correct that I can only access the web-interface while connecting to the KLF200’s WIFI (I’m using a static IP for the LAN-interface but when browsing to the desired IP nothing happens?)
All of my rollershutters have been recognised during setup-procedure, but if I’d like to actually move them I need to setup a “program”/“scene” first? (So there’s no way to tell the API like “move rollershutter1 to 40%”?)
To “learn” the KLF200 a “program”/“scene” I’d need either a KLR200 or a KLR100 (no wiring is required)?
Is it correct that I can only access the web-interface while connecting to the KLF200’s WIFI
Unbelievably and quite annoyingly: Yes!
if I’d like to actually move them I need to setup a “program”/“scene” first?
You do not need a scene/program if you:
a) Wire up your KLF200 and use external actuators (this is what I currently do) or
b) Use the new binding discussed in this thread.
As I can’t find any “Velux*” bindings in my PaperUI-Addons I’m assuming that if I want to use it I’ve to manually install
Yes. Put the 1.14 binding jar in your addons folder and use the .things, .items and .cfg files from this thread. Be aware that the KLF200 swithes off the API after 15min of inactivity. So - very annoyingly - you need either physical access or access to its WiFi hotspot to reboot it.