Thanks for all the effort and great progress in getting this mainlined!
Hi Alex,
Glad to see another somfy user =)
I have a question for you about this binding for somfy devices :
Do you use the âMY/favoriteâ position on somfy rollershutter ?
If so, could you tell me if the binding read the position properly when the rollershutter is at this position ?
For me and some friends it does not (INFO/WARN inside logs).
Just curious to see another user setup , it could help.
Thx
Sorry. I do not use it actually. But I will try out soon.
Iâll inform you then.
Hi there,
updated today from 1.14.0.201903161709 to 2.5.1.202001051139 and adopted textual configs according to sample files from https://github.com/gs4711/org.openhab.binding.velux.
Got a successful connect (shortened):
2020-01-24 15:48:43.276 [INFO ] [.internal.handler.VeluxBridgeHandler] - Found velux actuators:
[...]
Product "Office" / SLIDER_SHUTTER (bridgeIndex=3,serial=56:32:14:26:0F:0C:00:B1,position=0000)
[...]
2020-01-24 15:48:43.788 [INFO ] [.internal.handler.VeluxBridgeHandler] - velux Bridge is online with 0 scenes and 6 actuators, now.
Unfortunately the above mentioned isnât moving at all with this definitions;
velux.things
Bridge velux:klf200:home "KLF200" @ "KLF200" [ ipAddress="X.X.X.X", protocol="slip", tcpPort=51200, password="X" ] {
Thing rollershutter VELUX_Office [ serial="56:32:14:26:0F:0C:00:B1" ]
}
velux.items
Rollershutter VELUX_Office "BĂŒro Velux [%d]" { channel="velux:klf200:home:VELUX_Office" }
Unfortunately I donât have any further log-entries except from events.log:
2020-01-24 15:51:33.625 [ome.event.ItemCommandEvent] - Item 'VELUX_Office' received command DOWN
2020-01-24 15:51:33.631 [nt.ItemStatePredictedEvent] - VELUX_Office predicted to become NULL
Many thanks and KR,
Chris
Hi there,
anyone else having that problem with non-moving rollershutters? 1.14.0.201903161709 is working fine, but I canât get 2.5.1.202001051139 to work - tried in several variations.
The binding reads data from the KLF200 successfully (bridge status, SW version, âŠ).
Any ideas @gs4711? Otherwise Iâd need to roll-back.
Many thanks & KR,
Chris
Could you please post your latest .things, .sitemap and .items configuration? (or is it still the same like in your post?
Hi @Celaeno1,
many thanks for reply. The textual configs are the same - sitemap is displaying the whole group (gVelux).
I tried with different element-names (.things and .items) and different environments with OH stable (Debian9+Zulu8, Debian9+JDK11, Debian10+Zulu8, Debian10+JDK11, Debian10+JDK13) - in no combination I could get the rollershutters moving, but in every combination I was able to read data from the KLF200 (like bridge status, etc.).
When I use the old .jar (1.14.0.201903161709) everything is working fine (with old textual configs of course).
I get no errors, whatsoever. Also, when I âfind productsâ via the KLF interface, the rollershutters are moving so I can safely say that my problem is somewhere within the OH environment.
KR,
Chris
.
Your item Rollershutter VELUX_Office is not in group (gVelux) ?
.
Are your sitemap elements for rollershutter looking like this?
Or like this?
Hi @Celaeno1,
please find attached a current screenshot from that sitemap. VELUX_Office is in that group (=âBĂŒro Veluxâ), I didnât post it because I wanted to show only relevant declarations.
Mhhh, the only âstrangeâ thing is that the thing name VELUX_Office
is exactly like the item name VELUX_Office
. Could you please change the item name?
When you use PaperUI --> Control --> your rollershutter: e.g. like thisâŠ
Is it also not running?
Hi,
Iâll investigate at home - thanks meanwhile :)!
Actually i got that identical naming out of official documentation @ https://github.com/gs4711/org.openhab.binding.velux/blob/master/doc/conf/items/velux.items:
// Velux Actuator channels
Rollershutter V_DG_M_W "DG Fenster Bad [%d]" { channel="velux:klf200:home:V_DG_M_W" }
KR,
Chris
Then it should be no problemâŠ
What happens when you execute the following command (in karaf console)?
smarthome:links list |grep VELUX_Office
Hi!
It shows that
VELUX_Office -> velux:klf200:home:VELUX_Office
plus, in addition, some KNX-bound items for my physical room-switches
KNX_Velux_Office_Auf -> knx:device:gateway:Velux:Velux_Office_AUF
and so on...
So, simply said there is no double-assignment on VELUX_Office.
Have you looked in the log file to see, what actually happens, when you push the button?
Hi,
yes, of course - as of my initial post in events.log:
2020-01-24 15:51:33.625 [ome.event.ItemCommandEvent] - Item 'VELUX_Office' received command DOWN
2020-01-24 15:51:33.631 [nt.ItemStatePredictedEvent] - VELUX_Office predicted to become NULL
⊠thatâs (unfortunately) it. Nothing âfaultyâ to be found in openhab.log at all.
Sorry must have missed you previous log.
Thats odd⊠Your items receives the command fine, but it doesnt send it to the Velux binding⊠Its like there is a communication issue with the KLF200. (I know you said other things works fine).
When you added the new binindg, did you clear cache/tmp and restarted OH ?
Yes, it seems that way. I also thought the same, but I can read data from it (to be seen in my screenshot).
In my latest approach I removed the âoldâ .jar, renamed the old textual configs to e.g. .items-OLD (so that theyâre not loaded), service-restarted OH, put in the ânewâ .jar, nano-ed the new textual configs and rebooted again.
The connection is successul (shortened) but I cant get anything moving;
2020-01-24 15:48:43.276 [INFO ] [.internal.handler.VeluxBridgeHandler] - Found velux actuators:
[...]
Product "Office" / SLIDER_SHUTTER (bridgeIndex=3,serial=56:32:14:26:0F:0C:00:B1,position=0000)
[...]
2020-01-24 15:48:43.788 [INFO ] [.internal.handler.VeluxBridgeHandler] - velux Bridge is online with 0 scenes and 6 actuators, now.
Could you elaborate what you mean with clearing cache/tmp?
Last thing that comes to my mind: is there a chance to clear OHsâ internal db to actually force it to reload everything from scratch?
âto become NULLâ Is this correct? Sorry, I donât know, because Iâve disabled the âpredicted to become messagesâŠâ
Yes, according to log - but it canât be correct, because that would imply that thereâs actually no target-state (like for dimmers, etc.).