Comments (6)
Fully agree with you.
Unfortunately it's not me who wrote the timing part of the component, and as far as I understand, it's relying on other (knx) components built-in Home Assistant.
Maybe somebody can take the time to rewrite that part.
from home-assistant-custom-components-cover-rf-time-based.
Firstly thanks for the superb custom component.
I was about to pull a similar request so I support this one above.
To be sure it is the same, let me explain my purpose :
- I have roller shutters.
- When the bottom-slat of it just reaches the bottom of the windows while closing, there is still gaps between the slats letting the light enter through the shutter ; the motor continues to roll down 2 sec more until all the gaps are closed and the slats reach their lower positions.
- Reversely, when opening is asked from the totally closed shutter, 2 sec are needed to opening the gaps between slats, and only after the shutter (the bottom-slat) begins to move up.
- Taking into account such a non-linear move would be a very refined improvement of the custom component !
I guess I can do it without asking you anything.
- I should be able to make it outside of the component with an automation to monitor the move when reaching the below, with your "set_known_position" option for adjustment, but it would be heavy and inelegant, wouldn' it ?
- May be I could do it at the scrypt.yaml level but I have no guess how to do it right now.
That would me so much more elegant and beneficial to everybody if done inside your custom component.
As I may not be aware of the constraints in the code of such a great custom component, I think of several different ways to implement it, should one skirt the constraints :
- as a first option, I thought of a non-linear implementation as @Flopescu has suggested... but your reply tells us it is outside your reach (xknx) - I stilll wonder if an intermediate non-linear function would do the trick (between position shown to end-user and position for xknx move).
- As a second option, I wonder if you would be able to implement a negative position in your CC but only show from 0 to 100 positions : with adding a parameter such as "no_move_delay" of eg. 3 sec while "traveling_time_up" of eg. 30 sec, positions would go from -10 to 100 in 33 sec but you would enter xknx only after 3s and with 0 position (compliant with xknx ?).
- As a third option, I noticed that may be 0 and 100 position were special because asking to go respectively down and up with no stop command at an assumed time needed for reaching the position (the shutter stops itself at the end) ; may be you can implement that opening during the first 3 sec "set_know_position" to 1 ; "traveling_time_up" and "traveling_time_down" would be the delays used between 1 and 99 in the coding.
I am trying to help but I am only at the conceptual level. I will be pleased to help anyhow... but I have never coded. One time or another I should have a look at your code files to dig deeper about it.
from home-assistant-custom-components-cover-rf-time-based.
Nice concepts.
from home-assistant-custom-components-cover-rf-time-based.
Nice concepts.
Thanks, I would be happy to let you find a way 😃
from home-assistant-custom-components-cover-rf-time-based.
Me too, be my guest. ;)
from home-assistant-custom-components-cover-rf-time-based.
Me too, be my guest. ;)
I may try looking at your code the next week-end. It would be a first for me !
from home-assistant-custom-components-cover-rf-time-based.
Related Issues (20)
- Version Update doesn't maintain current location HOT 1
- Feature request HOT 2
- Please add the config variable unique_id HOT 4
- Adding cover to configuration.yaml cause KNX stop working HOT 2
- Feature Request + Questions HOT 1
- using cover object instead of scripts/switches HOT 3
- Any way to set default state after boot? HOT 2
- Warnings in HA 2021.12 beta HOT 1
- Interrupt previous send command (script) with new one. HOT 12
- move delay option in position calculation HOT 1
- position non linearity
- xknx SessionAuthenticate Error Home Assistant 2022.8.1 HOT 1
- Position slider invoking the wrong script HOT 19
- Integration breaks built-in KNX integration HOT 6
- Delay current_position HOT 1
- cover_entity_id is an invalid option for cover.cover_rf_time_based HOT 1
- Please add support for TopDown - BottomUp shades
- Using cover_rf_time_based.set_known_position-servicewhile the curtain is moving the curtain fails to stop a the target location
- using cover_rf_time_based One device works prefectly other won't stop to set position
- Closing and opening states
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 home-assistant-custom-components-cover-rf-time-based.