Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with custom window covering status #128

Open
vddgil opened this issue Oct 13, 2018 · 2 comments
Open

Error with custom window covering status #128

vddgil opened this issue Oct 13, 2018 · 2 comments
Labels

Comments

@vddgil
Copy link

vddgil commented Oct 13, 2018

Hello,

I wrote an add-in for my knx window covering (the default one don't work as expected)

customServiceAPI.setValue(PositionState,2)
customServiceAPI.setValue(CurrentPosition,45)

So, it should be stopped at 45% in homekit app, but in the app, it's not updated ...

He is a link to my add-in: https://gist.github.com/vddgil/352d3808a76ed19348612a07e2c3f165

Thanks in advance for your answer !

Gil

@snowdd1
Copy link
Owner

snowdd1 commented Nov 9, 2018

Any hints from the log? Maybe the format if the value gets parsed into something strange, and setValue is avoiding writing strange things to homekit, to avoid being banned.

@snowdd1
Copy link
Owner

snowdd1 commented Dec 14, 2018

Another hint: What home app shows is not CurrentPosition but TargetPosition, so you have to update that, too. Home app shows motion as long as Current != Target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants