Closed grzegorz914 closed 4 years ago
I am using windowcovering as you are, and it is working fine for me. My number item is called KLF200Rulleskodde, and the config is:
{"type": "windowcovering", "items": [ {"name": "Rulleskodde scenarie", "item": "ForsteSalRulleskoddeRoller", "inverted": "true", "manuMode": "true"} ,{"name": "Markise vest", "item": "MarkiseVestRoller", "inverted": "true", "manuMode": "true"} ,{"name": "Markise syd", "item": "MarkiseSydRoller", "inverted": "true", "manuMode": "true"} ,{"name": "Rulleskodde", "item": "KLF200Rulleskodde", "inverted": "true", "manuMode": "true"} ]
Sorry but the moving direction does not corresponded the end state. If moving from 0 to 100 (CLOSING) then after stop on 100 need to be displayed CLOSED but isn't.
As I described in previous post CurrentTargetPosition.js uses inverted state for 0 and 100 position. Position 100 for rollershutter is DOWN (window completely shaded).
Same rollerschutter in OH app are displayed correctly.
I might have a different setup than yours, but it is working fine. I am also using "inverted":"true" and in openHAB it is defined as "slider" in the sitemap. This is important and makes things a lot eaiser.
Changes done in Homekit app: Opening.. and Closing... are shown correctly for the direction in the iPhone app.
Changes done in openHAB numeric value: Opening... and Closing.. are not shown in the iPhone app. Instead, if the value is changed to 0 or 100 it simply changes to open or closed in the iPhone app when this is done.
OK,
all is correct.
Hi,
in Rollershutter logic is something wrong,
if moving the rollershutter from 0 to 100 then Home Kit accessory display CLOSING if moving the rollershutter from 100 to 0 then HomeKit accessory display OPENING,
but if go to 100 then HomeKit accessory display OPEN and if go to 0 display CLOSED and that is wrong. Chenge "inverted" to true nothing help
my config:
*.items
*rules
log for HomeKit button declared in OH as rollershutter: Command UP moving to 0
CurrentTargetPosition.js (UP and DOWN inverted)
Thanks Grzegorz