snowdd1 / homebridge-knx-de

German Issue/Discussion forum for homebridge-knx
https://github.com/snowdd1/homebridge-knx
20 stars 4 forks source link

WindowCovering Problem #51

Closed furiaceka87 closed 6 years ago

furiaceka87 commented 6 years ago

Hi, I've just set up Homebridge-knx and everything is working good talking about lightbulb, when I tried to configure the WindowCovering I found some issue. here below my configuration:

{ "ServiceType": "WindowCovering", "Handler": "GiraJalousieActuator", "ServiceName": "Office blinds", "Characteristics": [ { "Type": "TargetPosition", "Set": [ "1/1/5R" ], "DPT": "DPT1" }, { "Type": "CurrentPosition", "Listen": [ "1/4/5R" ] }, { "Type": "PositionState" } ] }

I think that the problem is that in my KNX configuration the commands sent to windowcovering are BOOLEAN "On" or "Off" as you can see on the attached image:

41432047-2026ca52-7015-11e8-80e5-3e4d68938b8c

When I sent command by homekit I have percentage command to open and close instead that boolean commands:

41432092-41753dec-7015-11e8-9dfb-0435a0612037

and nothing happened...

Do you have any suggestion?

ctschach commented 6 years ago

You might need to create a custom handler or change any of the existing ones in order to match your Blind actors.

Have a look at my very stupid handler as my blinds do not support positioning, just up and down:

https://github.com/snowdd1/homebridge-knx/blob/master/lib/addins/BJWavelineWindow.js

furiaceka87 commented 6 years ago

Solved by enabling in ETS the percentage in another address.

Thanks