Comments (5)
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.
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.
from core.
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.
from core.
Related Issues (20)
- Cannot change credentials of user HOT 1
- WARNING: Waiting on integrations to complete setup HOT 1
- duplicated upnp devices detected HOT 1
- Airtouch 5 integration stopped working after console upgrade HOT 3
- Synology photos shared items are not visible in the media browser HOT 1
- Tuya fan entity (Duux Whisper Flex) automatically starts oscillating when clicked wherever in the interface HOT 1
- Here Travel Time detected blocking call to listdir with args / 2024.7.0b4 HOT 3
- Smartlife Tuya integration HOT 4
- Error handling request - ConnectionResetError: Cannot write to closing transport
- Somfy Cover shows strange and missing values. HOT 1
- Met.no not reporting weather data HOT 3
- Buienradar unable to retrieve data HOT 3
- AlarmDecoder integration sometimes internally crashes and silently stops updating HOT 1
- Amber Electric integration suddenly failing HOT 13
- Clear nights reporting as sunny on weather forecast with Openweathermap HOT 1
- Blink: Fails to properly recover after a system restart. HOT 1
- Extremely poor performance of compilation of statistics on MariaDB HOT 1
- Tuya integration problem HOT 1
- Turning on a Samsung Windfree airco via HA turns the display light on HOT 1
- Energy Dashbaord doesn't generate a _cost if the value is negative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.