TA2k / ioBroker.velux

ioBroker Adapter for Velux KIX 300
MIT License
5 stars 7 forks source link

Window open #11

Closed Draygv2 closed 2 years ago

Draygv2 commented 3 years ago

Could somebody implement the function that i can open the window? Or is the API blocking that?

SvenM74 commented 3 years ago

just set target posion to 100

Draygv2 commented 3 years ago

It is always red if i do so

nemodil commented 2 years ago

Hi, All of my Velux shutters works fine with target_position :-) Log entry: {"status":"ok","time_server":16374*} But for my Velux windows, only target_position 0 has an effect, ie the windows are closed. All other values has no effect and results with an error. Log entry: {"status":"ok","time_server":16374.....,"body":{"home":{"id":"5eb3e9cf3fc5e9**"},"errors":[{"code":9,"id":"563613**"}]}} Is this is a Velux security setting, that they don't allow to open wondows this way? Do you have a solution for this problem?

TA2k commented 2 years ago

Yes opening needs a pairing with the router. An idea is to add the windows in homekit and use the new homekit adapter https://forum.iobroker.net/topic/48570/test-alpha-homekit-controller-0-0-x

nemodil commented 2 years ago

Thanks for your answer! I’ll be looking at this homekit-controller adapter, because pairing with the router isn't an option, is it?

TA2k commented 2 years ago

I dont have a router and was not able to see the traffic

Draygv2 commented 2 years ago

I connected the Velux direct to the iobroker with the homekitadapter and everything works fine. Now I us homekit for window movments and velux for the rest.

jotrax commented 1 year ago

When using the Homekit-Adapter, will it also work (for windows and blinds), when the Velux-Gateway has no internet access?

Draygv2 commented 1 year ago

No it won't. Velux need internet for no reason.

jotrax commented 1 year ago

I gave it a try yesterday. After 5-6 attempts I could pair the gateway with homekit. Then I cut the internet connection from the velux gateway, which I could verify by checking with the velux active app saying "connection to gateway lost". I was still able to control windows with homekit adapter. Today morning I power cycled the gateway since I need to move it to another place and afterwards no homekit connection was possible, unless the device answered my ping requests. When I allowed internet connection via firewall for a few minutes the gateway was available on homekit again.