Announcement

Collapse
No announcement yet.

Velux Integra KLF200 control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pseudocode
    replied
    The Velux plugin is now published!

    https://forums.homeseer.com/forum/hs...200-pseudocode

    (btw I switched to a different forum username)
    rge

    Leave a comment:


  • ekaz
    replied
    Originally posted by rge View Post

    Does your device look like this KLF200:
    Click image for larger version

Name:	velux-integra-interface-klf200-940x940.jpg
Views:	71
Size:	41.2 KB
ID:	1574341
    I think you have the Velux Active, not the KLF200, which unfortunately my plugin doesn't support.
    Yep, that is correct. I'll see if I can get my hands on one of those cause I would really like to have control via HS as well. Thanks for following up!

    Leave a comment:


  • rge
    replied
    Originally posted by ekaz View Post
    Third to the list of willing to test. I have skylights and blinds.
    Does your device look like this KLF200:
    Click image for larger version

Name:	velux-integra-interface-klf200-940x940.jpg
Views:	71
Size:	41.2 KB
ID:	1574341
    I think you have the Velux Active, not the KLF200, which unfortunately my plugin doesn't support.

    Leave a comment:


  • ekaz
    replied
    Third to the list of willing to test. I have skylights and blinds.

    Leave a comment:


  • jameseoconnor
    replied
    I would be happy to test also.

    Leave a comment:


  • ScottRennie
    replied
    Originally posted by rge View Post
    I have a plug-in ready to go based on the scripts I shared, just in final stages of testing. I’ll publish it asap.
    I'm happy to test it for you...

    Leave a comment:


  • pseudocode
    replied
    Velux Active is different to the KLF200 - as far as I can see they haven't published the API for it, which is a shame as it's a cheaper option.

    Leave a comment:


  • rge
    replied
    I have a plug-in ready to go based on the scripts I shared, just in final stages of testing. I’ll publish it asap.

    Leave a comment:


  • ekaz
    replied
    Originally posted by alexbk66 View Post
    If there's sufficient interest in Velux plugin, I could create it

    https://shop.homeseer.com/search?typ...uct&q=alexbk66
    I'd be interested in a velux plugin. I'm not sure if I have KLF200 or not. Its a wifi bridge deal. All I could find is that it's velux active gateway.

    Leave a comment:


  • Horse
    replied
    The KLF 200 in the US is around $300, not cheap, but allows HA integration. RGE vbs script worked very well and uses the API to talk over the LAN and control the devices.
    Using the API allows much more granular control and feedback of current open state. Relays from what I found needed timing loops to judge how open or closed and no feedback . Unless you just want open/close which was simple.

    Due to other integration I went the Node Red route and that has a Velux node that you can send commands to open and close with a value between 0 and 100% with two decimal places if you want. i.e. 41.18% This is very similar to RGE script, however I needed logic for the suns position (Solar Noon) and that started me on the path with Node Red and HS4.
    Has been working well for over a year ventilating the house during the day.

    Setting up the automation is pretty straight forward, getting the devices registered with the KLF as HSAccord states is a PIA. See KLF Setup


    Leave a comment:


  • ScottRennie
    replied
    Originally posted by langenet View Post
    How are you controlling your velux with relays? I've been thinking of doing this with a dry contact closure device and my spare remote. Just looked at the price of the KFL200 and at $650 for my one skylight and blind, it's kinda hard to justify.
    I'm using the relays along with a KLF200. I can get KLF200 for about £130 (British pounds) in the UK

    Leave a comment:


  • alexbk66
    replied
    Originally posted by langenet View Post
    How are you controlling your velux with relays? I've been thinking of doing this with a dry contact closure device and my spare remote. Just looked at the price of the KFL200 and at $650 for my one skylight and blind, it's kinda hard to justify.
    Probably opening/closing can be achieved with Bond Bridge https://forums.homeseer.com/forum/hs...ig-screenshots, but it doesn't provide position feedback.

    Leave a comment:


  • langenet
    replied
    How are you controlling your velux with relays? I've been thinking of doing this with a dry contact closure device and my spare remote. Just looked at the price of the KFL200 and at $650 for my one skylight and blind, it's kinda hard to justify.

    Leave a comment:


  • ScottRennie
    replied
    Originally posted by alexbk66 View Post
    If there's sufficient interest in Velux plugin, I could create it

    https://shop.homeseer.com/search?typ...uct&q=alexbk66
    Hi Alex - I would certainly be happy to pay for a plug-in. I currently use momentary relays which work, but I would really like the feedback from the blind or Window that the command has completed and the current status of the device (open/closed up/down etc.)

    Cheers
    Scott

    Leave a comment:


  • HSAccord
    replied
    Originally posted by ScottRennie View Post
    I know this is quite an old thread, but I have just come across it! It's probably me, but I can't see how to control the devices - If I want to open a Window or close a blind, what is the command I would need?
    I just had to go through re-setting up a KLF 200 as my original one died. Velux replaced it under warranty, but I needed to set everything up again (pita - had to reset the windows and shades as they cannot bind to more than one two-way device.)

    In the past I was using a stack of Fortrezz mimolites via the momentary switch wiring on the KLF to trigger open/close. This time I wanted to avoid using the mimolites, since they often required that I powercycle the KLF in order for them to work.

    So after an entire weekend of f*&king around, here's what worked:
    1) I paired all the devices (four windows, two blinds) with the KLF 200.
    2) In the interface of the KLF I recorded a few programs to position the various windows and blinds. Worth noting that the interface for creating programs is a disaster, with confusing progress bars and a lack of good feedback. Trust that it's working even though it looks like it's stuck.
    3) These programs are named things like "Loft_Open", "Loft_Close", etc.
    4) On the Homeseer PC I borrowed and modified a python script that uses the pyvlx library, replacing the scene (program) names with the ones I created.
    5) These scripts are called via the "Run Another Program" event in homeseer: e.g. "Launch /pyscripts/loft_open.py"
    6) There is one script per program/scene.

    As I'd already installed python on the HSPC for other purposes, this required only installing the new library. And now I have four mimolites to use elsewhere.

    Downside is that I use virtual HS devices to track the state of the Velux devices, but don't read those values directly from the KLF. I assume that if I run a program/scene, the devices respond as intended. I think there is a way to use PyVlx to read state, but I don't bother. It works very reliably as is.

    The python script looks like:

    import asyncio
    from pyvlx import PyVLX, Position

    async def main(loop):

    pyvlx = PyVLX(host="your KLF IP Address here", password="your_klf_wifi_password_here", loop=loop)
    await pyvlx.load_scenes()
    await pyvlx.scenes["YOUR_SCENE_NAME_HERE"].run()

    await pyvlx.disconnect()

    if __name__ == '__main__':
    LOOP=asyncio.get_event_loop()
    LOOP.run_until_complete(main(LOOP))
    LOOP.close()

    Leave a comment:

Working...
X