Giter Club home page Giter Club logo

Comments (5)

home-assistant avatar home-assistant commented on July 17, 2024

Hey there @Jc2k, @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit_controller) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of homekit_controller can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign homekit_controller Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homekit_controller documentation
homekit_controller source
(message by IssueLinks)

from core.

Jc2k avatar Jc2k commented on July 17, 2024

Based on the information available, this is likely a limitation of your Legrand/Netatmo covers.

As you have noted, other covers do support "stop" and it works with homekit in HA. The code for it is trivial (here and here), but unfortunately "stopping" is an optional part of the homekit spec and some vendors do not support it for whatever reason, even though they do through their own apps. You'd have to ask them why.

As you can see via the links, we are looking for the POSITION_HOLD characteristic in the homekit api. That detection will work regardless of vendor, if they actually have that characteristic that is. And if they don't, only a firmware update from the vendor will help.

If you get a diagnostic file (the one that the ticket template asked for) you can look for this uuid: "0000006F-0000-1000-8000-0026BB765291". You shuld see that its not in the file for your homekit covers that don't have a stop function. But it will be for homekit covers that do have a stop feature.

from core.

hajar97 avatar hajar97 commented on July 17, 2024

from core.

Jc2k avatar Jc2k commented on July 17, 2024

Cover definitely has STOP (HOLD) capability, because via Netatmo integration it is there, as well as using the wall switch as well.

We can only do what the core Apple Home app can do. It's on Netatmo to expose the functionality to the HomeKit API's. If they fix their firmware, it will just work.

I wonder, wouldn’t it be possible to emulate this POSITION_HOLD capability using POSITION_TARGET and POSITION_CURRENT which are provided by HomeKit integration of Legrand/Netatmo covers?

Not really. There is no API contract about how quickly POSITION_CURRENT updates (if at all). Some covers don't update at all until they reach target. Some update every 10seconds. There is a spectrum of rubbishness. You'd have less of a "Stop" feature and more of a "Rewind X%" button, where the percentage would vary wildly between devices.

Even if it worked well enough for you and your device, that'd be a feature that would get me tickets telling me "Stop" wasn't stopping, it was reversing. And anyway, it's actually not allowed (AIUI) to emulate missing features in integrations.

What you can try to do is use the template cover entity - https://www.home-assistant.io/integrations/cover.template/ - to wrap the homekit entity and add your own stop that does what you say - you can make a script or automation that calls set_position with the current position, and have the template entity call it.

from core.

hajar97 avatar hajar97 commented on July 17, 2024

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.