I was experimenting with the screen position feature for the first time so I could use my screens with a sun-controlled automation in Home Assistant.
I’ve run into the following issue: there is a small difference between the time it takes for the screens to move up and the time it takes to move down. As a result, the position gradually drifts. The more I open and close the screens, the more they remain slightly open when the position is reported as 0%. This small error accumulates with every movement.
I noticed there are settings to adjust the timing for normal blinds, but unfortunately these don’t seem to help in my case.
Has anyone else experienced the same problem, or found a solution?
Gravity has an interesting affect on lifting and dropping things, someone should write a paper on it
Seriously, the only blind motor system with an encoder for position is the Lutron range, but that’s for a patent against it, which is why all other motors are timed only.
There are RS485 controlled motors, but I don’t think they have encoders.
If you can think of a solution that bypasses the “Hemline Accurate” patent limit, you’d make a fortune.
I’ve found the solution for timed shutters / blinds is to fully retract them to reset the timer.
I’m going to assume that your timed your blinds by fully deploying them, then timing how long it takes to retract. (I normally advise to add 10%)
I’m glad to read that I’m not alone with this issue!
I wonder how accurate the VMB2BLE measures time… …
Just like you, I control the blinds using HA, when the sun is on the window and some other weather-based conditions are met, the blind goes to given position.
When the sun is out of the window or weather conditions are not met, blind goes back to position 100%. Unfortunately, that is never fully retracted.
The solution proposed by PrzemoF, once in a while reset the position is NOT possible from HA because the blind is already at 100%, at least according to what HA thinks.
I worked around this using the “Immediately up” half an hour before sunset. The module will drive the motor for programmed time, but since the blind is almost in, it will be fully in now. Ready for the next day.
I’m going to assume that your timed your blinds by fully deploying them, then timing how long it takes to retract. (I normally advise to add 10%)
This will not solve this problem !
The problem here is the fact that HA OS drives the blinds the same time up & down.
So each run results in a small offset leading to not fully retracted screen although it’s position shows 100% in both HA OS & Signum.
Last day was alternating sun/rain/sun/… …
Screens went 5 times up & down during the day. When I came home screens were about 30 cm over the window while both HA OS and Signum showed a value of 100%, that is fully retracted.
I also programmed in VelbusLink action 109. Immediately up half an hour before sunset. That way VelbusLink drives the screens for the full configured time and they are fully retracted. Similar to what PrzemoF suggested.
Can anyone please tell me how HA OS - Signum - Velbus handles the “position: 100” command?
I mean:
I have a yaml automation in HA OS that sends “position: 100” when conditions are met
The blinds have a running time of 30 seconds
I expected that, I don’t know who, should drive the screens UP for those 30 seconds, right?
Well I can see in HA OS\Activity\blinds that the time between sending the command and the information “blind was opened” is 25 seconds !! Please note that this is the time the screens rolled down because of last\previous automation.
command @ 12:30:34
Info @ 12:30:59, that is 25 seconds later, I expect here 30 seconds
So where is the command “position: 100” translated into a running time of 25 seconds !??!
Longer running time in Velbuslink is not a solution to this issue.
Two identical screens next to each other,
screen (A) with correct running time of 30sec
screen (B) with updated, longer, running time as you suggested, 35sec
Closing both screens when sun came up
screen (A) down to expected position 15% open, running down time of 25sec according to HA
screen (B) completely down although position is shown as 15% in HA, running down time of 30sec according to HA, normal since 85% of 35sec is indeed 29.75sec.
Please note that a fully closed screen is not desirable.
Opening both screens because sun is off the windows
screen (A) not fully retracted, although position shown as 100% open in HA, running up time of 25sec according to HA
screen (B) even less retracted than screen (A), although position shown as 100% open in HA, running up time of 30sec according to HA
I’m sorry MDAR but this is not a solution.
I think the only solution is that when HA sends position 100%, Velbus should drive the screen the time configured in VelbusLink, NOT the same time as last movement down.
Thanks to Velbus or HA people to make this happen !
Regards
Alain
I made my own implementation of the VMBLE module and solved the problem (inside the module software) by adding some extra time (about 5 sec) when going to an endpoint (0 or 100%). This extra time calibrates the end position automatically every time the blind is set to 0 or 100% by making sure end position is actually reached. I am aware this can not be applied to standard velbus installation, but might be usefull as an idea for Velbus development team.
Implementation is a bit different but that’s the idea (actual implementation just adds some extra motor time when the calculated position reaches an endpoint, this allows for setting consecutive positions even when the blind is still running). The extra motor time does not matter for the blind because the power to the electrical motor is cut anyway by the blind hardware when the physical endpoint is reached.
I didn’t reprogram the VMB2BLE. I just made a dual VMB2BLE module from scratch. I only made this comment as a suggestion for the Velbus development team. It seems like a small add to the module firmware which might be valuable to many.
For the current standard VMB2BLE module I would suggest you set the blind time for the module slightly higher then the actual blind time. This will also recalibrate the blind position but only if you reach BOTH endpoints from time to time. This only at cost of slight off position between endpoints.
For the current standard VMB2BLE module I would suggest you set the blind time for the module slightly higher then the actual blind time.
That is also what @MDAR suggested, but this will not work since this time is for both up & down movements but they are NOT equal to each other resulting in a position offset.
[quote=“lgor, post:11, topic:18139”]
Work around will only work if you reach BOTH endpoints from time to time
The suggested fix is easy to implement and always works when hitting any endpoint from time to time. The only problem: it can only be implemented in the module firmware. @VEL342 or any Velbus developer please comment …
I just read the thread in the link (VMBLE open is not always open).
My thoughts:
Without some kind of standard digital interface, time seems to be the only way to control the blinds position.
When time is the controlling factor, estimating the speed of the blind becomes essential. However without speed control (encoder or brushless motor control) the speed will not be constant because it depends on the motor load (= up/down, actual position = weight, wear or dirt, …).
If we accept that speed will not be constant (certainly not for major blind brands), we can start building complex systems (fitting speed curves, or even AI ), but do we really need this?
I guess most of us in home automation can live with some position error as long as the error is not accumulating.
Back to the suggested fix: adding some extra motor time at the endpoints solves the problem by recalibration on every end postion hit. It does not need encoders, end switches, not even extra configuration. Just a simple software update.
Anyway it works for me
The root cause of this problem is the fact that, when receiving a position command 100% from HA, the module drives the motor UP the same time it drove the motor DOWN the last time.
One can easily check this in the Signum HA activity !
That will always result in position offset since winding & unwinding are NEVER the same for multiple reasons; like you mentioned Igor.
I drive my screens to 15% (almost closed) when solar irradiation is larger than 200W/m² and to position 100% (fully retracted) with wind, rain, sun off window and so on.
Problem showed up on an alternating sunny / rainy day.
In the late afternoon, when the sun was off the window, I expected the screen to be fully retracted, it was not!!
At least 30cm stayed out, something I didn’t expect but due to the position offset with every down/up movement during the day the screen ended in this position
I then used a button on a glass panel to drive the screen up and yes; it retracted completely, the led on the GP blinked for the programmed time in VelbusLink even if the screen was fully retracted way earlier; that is not a problem!
That teaches us that the module drives the motor UP for the programmed time in VelbusLink when a position command (short press) is received from a GP.
That should also happen when a position command to 100% is received from any other source !!
So, indeed a module firmware is required and I don’t think it’s a BIG one since the module works fine when a, short press position command, is received.
Just start the same routine when the position command is received with value 100% from any other source
I can assure you Igor that adding some time (to the time programmed in VelbusLink) will NOT solve this issue since this time is used for both up & down movements !! I did the test
Or did you mean something else… …
I agree, just adding some extra time will not really solve the problem. It will only be a viable workaround when you move regular between 0 and 100% and just have an occasional in between position. (even my proposed fix won’t work if you never reach any endpoint).
Adding some extra motor time at any endpoint is just an easy solution and eliminates the need to reach both endpoints. I guess this should be fine for most use cases.
How to implement? Depends on existing code I guess. My code just keeps track of the (calculated) current position. Whenever the current position reaches 0 or 100, I add some extra motor time.
The solution to this problem is to NEVER use a position command to open or close a screen completely.
Instead use cover.open_cover to open the blind completely (from whatever position) and cover.close_cover to close the blind completely.
Of course that doesn’t solve the drifting problem with multiple open/close movements in one day but at least the last movement of the day (sun off window) or with bad weather conditions the screens are now completely retracted!