NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
416 stars 52 forks source link

[Bug]: Curtain still "opening" #471

Closed Barabba11 closed 2 years ago

Barabba11 commented 2 years ago

NRCHKB Plugin Version

1.4.2

Node JS Version

14.17.2

NPM Version

7.19.1

Node-RED Version

1.3.5

Operating System

Raspbian 5.10.48-v7+

What happened?

Hi, I've noticed the icons not stopping, are they waiting for some command? A bit strange. It looks it appear when I input the value on the Homekit node (as sent by other nodes, to reflect the real status on Homekit) and not when give whome Home app on the iPad. How can I solve it? Thank you

please check the image https://ibb.co/5BK42jx

How to reproduce?

Input a curtain position to the node and check the Home app

Expected behavior:

Describe expected behavior here, with relevant screenshots if they would help.

Additional comments?

Additional comments here, if any.

Relevant log output

No response

Shaquu commented 2 years ago

Probably icon status is complex - based on multiple characteristics. @crxporter any idea?

crxporter commented 2 years ago

Are you sending {"TargetPosition":100} and {"CurrentPosition":100} (or whatever position number) whenever there is a change? If TargetPosition does not equal CurrentPosition, the icon will show "opening" or "closing" forever.

Have a look at page on our wiki if you haven't yet: https://nrchkb.github.io/wiki/service/window-covering/

Barabba11 commented 2 years ago

thank you, I didn't know about this characteristic, sorry. When I've tested it I've just sniffed the output and copy that for the input. I'll send a current position correctly when the curtain will stop (end). Thank you for support