And here I am again . I have added all my Velux actuators as things via PaperUI. These things have a single channel âPositionâ. With this I created items in my .items file:
To these I refer in the sitemap but when moving the slider nothing happens.
Do I have to create the things manually in a .things file or what am I doing wrong?
@saua,
thanks for your log. According to this file, the binding has found two scenes and 12 products with different names. What does really make problems, is the following entry:
if you are within paperUI, you can just add the item (personally I prefer Rollershutter) via Configuration->Items->PLUS with using the identifier found at Configuration->Things->Fenster_Treppe->Channels->Control->CopyToClipboard-Button as name (with replacing the colons by underscores).
Much easier is the way to enable auto-link (Configuration->System-> Item Linking->SimpleMode = ON).
I think that is the issue. I only see a single channel âPositionâ and no âControlâ channel. When clicking on the âshow moreâ button the only additional button I see is âlinked itemsâ.
Actually, now I see âPositionâ and âEnabling silent modeâ after clicking on âshow moreâ.
Thanks for the analysis, @gs4711. That product was one that I found but not named, so it had the default name in the UI (âExternal Ventian Blind 11â). Iâll remove it since it was one that was âaccidentallyâ connected to anyway (probably one of my neighbours ;-)).
After forcing sequential handling (I think!) and removing the âunnamedâ entry from the KLF200, I still see the same (or very similar) exceptions in my log:
Iâm still under the impression that multiple commands are running at the same time (which may be fine) and get confused by getting each others responses.
It looks like SCsendCommand is getting the GW_GET_ALL_NODES_INFORMATION_CFM response and doesnât know how to handle it, thus SCgetProducts doesnât get it and doesnât reset productArray and nextProductArrayItem and just writes out of bounds.
occurs whenever the bridge returns more items as previously stated within the protocol handshake. Will take it back to Velux but for the time being, the binding will crosscheck the real number of returned actuator elements. If there is still an error (hopefully any places where empty product names might be confusing should be eliminated, now), please set loglevel to TRACE and send me the startup log information.
Thanks in advance, Guenther
BTW just for updating the README: the Somfy shutters does not provide a serial number and it is possible to give them an empty name?
I donât think thatâs actually the case here. As you can see in my log the AIOOBE happens on the very first GW_GET_ALL_NODES_INFORMATION_NTF message after the GW_GET_ALL_NODES_INFORMATION_REQ. If it were the case that you described I would expect one much later to go wrong.
Iâll experiment a bit more later today to hopeful produce a good log.
The Somfy shutters donât provide a serial number and the âempty nameâ was the result of just not manually providing one in the KLF 200 management UI (i.e. the items showed up with the default name of something like âExternal Ventian Blind 11â in the web interface).
I control 7 rollershutters with no problem.
Donât believe the technical specs or even the Velux support in this case. They donât seem to know what their own device can do.
couldnât agree more. The API spec says The system table in the gateway can store up to 200 actuators and up to three Beacons (RF repeaters). (page 25), Additionally the gateway has 10 contact input and 5 output relays. (page 106) And, in addition, on page 92 it is stated The KLF200 gateway can hold up to 32 scenes, holding up to 192 node positions. For example, one scene with 192 node positions or 32 scenes each holding 6 node positions.
Could you please share the source of this information, i.e. document id / release date? It must be outdatedâŠ
Thanks for your efforts and sorry for this inconvenience: Could you please raise the debugging level to TRACE and provide the log file (PM possible, of course)?
This has something to do with the non-Velux device and I do not get the clue whatâs going onâŠ
Apparently there is an OSGI cache that basically means manually replacing the snapshot jar does nothing unless the cache is cleaned (I even tried compiling the addon myself and when my manual addition didnât show up I got extra-suspicious).
Iâll try to produce a useful log file with full TRACE level logging and PM it to you soon.
Edit: my manual addition did show that my âisSequentialEnforcedâ config did apparently not take, so Iâll try to set that as well.
Hello,
I cantâ connect to my KLF200. I did the folowing, can anybody have a look if I missed something or did something wrong, please?
KLF 200, FW:KLF200-v2.0.0.71
Some Roof Windows connected to the KLF via thhe Webinterface (Wifi)
DHCP off, static IP to the KLF, itâs pingable.
OH2.4.0-1 openhabian on Raspi
copied the new
org.openhab.binding.velux-2.5.0-SNAPSHOT.jar
from 16.09.2019 to usr/share/openhab2/addons
(do I need OH2.5 for that Binding or is it working in OH2.4 as well)
Paper-UI:
Inbox -> + -> Velux Binding -> Searching⊠Nothing found
add manually -> Velux KLF200 -> static IP of KLF and PW (Wifi PW printed on case) set
Configuration -> Things: Velux KLF200 shows up, but offline
Log:
Alternatively you could take a look into the properties of the KLF200 Thing within the paperUI to verify the settings.
Iâm not sure why this happens - but there are some users who reported that they had to use the default password velux123 for enabling the binding. Could you give it a try?