I was wondering if somebody has already tried that one ?
I just upgrded mine, looked like it went fine but actually now only WiFi works.
I see that it gets an IP from DHCP on the LAN interface, I can ping it, but it never listens on port 80.
Hence I am a bit lost here. Trying to reflash the latest firmware fails with the message “outdated firmware”.
As you already have noticed VELUX has released a software update for KLF200. Unfortunately, we are still in the progress of setting up our systems to provide a pleasant experience for this, so we have some work to do. Currently we are not able to provide the changelogs for the updates in a way that we would like to do, but I am providing it here for you.
But, the main change is that we have seen your interest in your use of the KLF200 and would like to provide you with a much better way of interfacing to the KLF200. The API you are currently using, was never intended for this purpose and due to security issues, we had during the last development cycle, we had to close the HTTP configuration interface on the ethernet interface. To make sure you are still able to use KLF200 to integrate to your systems, we are in the process of releasing an official API description, that can be used and is intended to interface to the KLF200. This API will make it possible for you to make a much better integration to the VELUX system. As mentioned our internal systems is not quite ready, but I have the opportunity to forward it here. I am also including a number of examples in Python that you might find helpful. When we are ready with it, I will send a link to the official VELUX download page, where you can find the same information.
Edited October 7, 2018
Here is a link to our official page with changelog and API dokumentation.
The negative point is, that the protocol has been changed from AJAX to SLIP (RFC 1055). Therefore this will
lead to a changed binding.
The positive point is, that there are a lot of different methods which will extend the functions of the binding.
As for you question. I have no idea… I just searched for my cfg file, but I cant find it… I wonder how the heck I manaed to get it to work. It´s still working though.
1 Like
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
154
Thanks Kim
If you suddenly figure out what you did, please do let us know
Ahh… I think you can add the KLF200 manually… If you got the binding installed, go to Things (In paperUI), and add it manually, by pressing the + and choose Velux… Add your KLF200 in there.
I remember having the same issue first time. I had to download it again (using another way of downloading), cause the jar file was somehow corrupt. After that, the binding installed just fine and have been working ever since. (I think I wrote a message about it in the other Velux binding thread).
I recall reading someone runing openhab ina docker having problems as well. I´m using an RPi running the apt-get openhabian (hasslefree). 2.3.0 stable.
1 Like
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
158
Arrrr okay
That’s easy to try
FYI
Previously, I simply used the wget method direct to the GitHub file
My configuration:
KLF200 Firmware: 0.1.1.0.41.0
Raspberry pi 2
openHAB 2.3.0-1
Copyed de binding with windows explorer: \openHAB-share\openhab2-addons\org.openhab.binding.velux-2.4.0-SNAPSHOT.jar
*.things file
Default velux password velux123.
Use IP address instead of URL (give your KLF200 a static IP Adress)
//Velux
Bridge velux:klf200:home [ bridgeIPAddress="192.168.1.100", bridgeTCPPort=80,bridgePassword=" velux123",timeoutMsecs=5000, retries=9 ]
{
//Ramen
Thing scene grWindowClosed [ sceneName="Gr_raam_000" ]
Thing scene grWindowUnlocked [ sceneName="Gr_raam_005" ]
Thing scene grWindow050 [ sceneName="Gr_raam_050" ]
Thing scene grWindowOpened [ sceneName="Gr_raam_100" ]
Thing scene klWindowClosed [ sceneName="Kl_raam_000" ]
Thing scene klWindowUnlocked [ sceneName="Kl_raam_005" ]
Thing scene klWindow050 [ sceneName="Kl_raam_050" ]
Thing scene klWindowOpened [ sceneName="Kl_raam_100" ]
Thing scene allWindowClosed [ sceneName="Alle_ramen_000" ]
Thing scene allWindowUnlocked [ sceneName="Alle_ramen_005" ]
Thing scene allWindow050 [ sceneName="Alle_ramen_050" ]
Thing scene allWindowOpened [ sceneName="Alle_ramen_100" ]
//Blindings
Thing scene allBlindingClosed [ sceneName="All_Blinding_000" ]
Thing scene allBlindingOpened [ sceneName="All_Blinding_100" ]
Thing scene grBlindingClosed [ sceneName="Gr_Blinding_000" ]
Thing scene grBlindingOpened [ sceneName="Gr_Blinding_100" ]
Thing scene klBlindingClosed [ sceneName="Kl_Blinding_000" ]
Thing scene klBlindingOpened [ sceneName="Kl_Blinding_100" ]
}
rule "PushButton of group gV"
when
Item gV changed
then
// waiting a second.
Thread::sleep(4000)
// Foreach-Switch-is-ON
gV.allMembers.filter( s | s.state == ON).forEach[i|
// switching OFF
sendCommand(i, OFF)
]
end
Paper UI Things, Velux products, Velux programs, Log fil OH
I am limited to one foto in a post ;-(
Those are quite awesome news !
Thanks for sharing, looking forward to playing with it
From what I have read in the API, this will be real fun and expose a lot of things we have been looking for.
So my KLF200 is not useless anymore
Will you be exposing the config interface via ethernet in the future again ?