-
Notifications
You must be signed in to change notification settings - Fork 130
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roller Shutter: positioning accuracy #204
Comments
yeah, this one may not be as easy to tackle as simply add an offset. while working on #5 i deliberately put off positioning accuracy because of the differences. for example, it's been mentioned that some shutters have non-linear dependency between the amount of movement time and position. |
Hy,
stupid question- how should i measure? With measure tape?
Thanks
Sent from
… Am 17.10.2020 um 21:27 schrieb Deomid Ryabkov ***@***.***>:
yeah, this one may not be as easy to tackle as simply add an offset. while working on #5 i deliberately put off positioning accuracy because of the differences. for example, it's been mentioned that some shutters have non-linear dependency between the amount of movement time and position.
so let's start gathering data. for your shutters, can you measure actual position in 10% increments? as in - set position to 10% in homekit, measure actual position, set to 20%, measure, etc up to 90%.
also, don't do it sequenctially 10-12-30-... (becasue error will accumulate), do 0-10-0-20-0-30-..., up to 90 (0 being fully closed position).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
pretty much, yeah. |
https://www.icloud.com/iclouddrive/0I7PrVtKQHjyausFshEOycgpg
Hy, enclosed the link and hope it helps to find a solution
Br René
Sent from
… Am 18.10.2020 um 12:52 schrieb Deomid Ryabkov ***@***.***>:
pretty much, yeah.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
thank you! come to think of it, non-linearity is expected - there's less curtain to lift, so more of the energy goes to movement rather than counteracting gravity, so it goes faster per unit time. |
Hy, so and Solution for this „cosmetic“ issue?
Thanks
… Am 18.10.2020 um 22:18 schrieb Deomid Ryabkov ***@***.***>:
thank you!
so, it looks like about 1/4 of movement from closed actually goes to open gaps between the slats.
when the curtain starts moving, from 30% on, we have the following values for number of cm per 10%:
13, 13, 14, 17, 19, 22. this non-linearity towards the end is a bit puzzling.
and the end position is not that far off from the 90% - it's around 80% by my quick calculation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
i'll need some more data from users to decide what to do. |
Ok Thanks
… Am 19.10.2020 um 09:46 schrieb Deomid Ryabkov ***@***.***>:
i'll need some more data from users to decide what to do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello, % | cm As discussed above, a non-linearity is observed in the path of the blind. At the beginning it goes up a little and at the end of the route it goes up very fast. Thanks, |
@juansf99 thank you! i added a note tot he wiki page to send new users here if they are not satisfied with the positioning. |
Hi Rojer, at first: the HomeKit Firmware is amazing! Thanks for that! I have the same problem. I use a shelly for one of my windows. The problem is that when it´s fully closed the home app thinks it is nearly 25% opened. So in the home app the roller shutter are always open and never closed. I would be perfect if you can find a solution. Thanks in advance! |
I tried it today with the stock firmware and it worked. After that I loaded the HomeKit firmware and calibrated it again. In the attachment you can find the log, maybe it can help. |
I really don't know if there is an issue here. I have roller shutter modules from fibaro (z-wave) and some really old marmitek X10 and they all calibrate in a similar way (just like the shellys with rojers homekit firmware). What do you expect 50% should be? In fact, the picture above seems exactly 50%, because the motor has to run quite a bit to get from closed (with open slots) to fully closed. So, knowing that just take 60% to get the shutter to an "optical" 50%. |
If I want to reach the optical 50% I have to open the shutters to 74%, but that is not the point. We want to improve the firmware that works very well and bring it to another level. This is not a criticism from my side but rather a suggestion to get better. Please do not misunderstand. |
50% in home app should mean exactly half open, half closed. meanwhile, let's continue collecting data. |
Shutter.pdf |
I spotted a problem on my blinds that there on different positions when set to the same, depending from which state they started to move to the desired position. It's obviously the same problem. I'll try to document it asap. |
sounds to me we need 3 positions for calibration FULLY OPEN, CLOSED, and MOTOR REST. OPEN = shade at open position @rojer would this be posible ?, maybe we need a new Roller Shutter option called Roller Slats. |
I don't think that can be represented in HomeKit tbh. |
why not, 1% could be CLOSE, and 0% could be REST. so if 10% is called for you actually get 10% etc. if in REST and you call 1% the shade open to CLOSED position. i doubt hardly anyone will acually have a real world use for 1%, and even if they did the differance between 1% and 2% would hardly anything to complain about. |
And why not make it configurable as an advanced option, so you can set the lower 10% for just changing the state of slats e.g. Just an idea. :) |
thats why i suggested in a aditional 'Roller Slats" option, "Roller Shutter" would stay as is, for normal material shades. |
I actually use a lot the "only slats" open in my shutters :) I like the idea of 0-10% being for slats and the rest for normal opening. To configure this correctly, I would suggest that before calibration, the user sets the shutters to only slats open and start from there. That could give you an educated guess of what should be the slats time (i suspect really fast). |
what i was saying is do you do a REAL 1% open, (forget about open slats), i was saying that we could have 1% as "open slats", and 2% as a REAL 1%, so in home kit when you ask for 1% it just opens slats. i can't see how you could have 10% to open slats and also have a REAL 50% open???? |
You can if you have a non linear counting of the percentage. Still, I would be happy with something like 10% for slats, even if that meant that "real half open" would be 45%... I can deal with a 5% error 😉 |
thats my point i very much doubt HomeKit slider willl support none linear percentage. thats why sugested 1% as "open slats" so in calibration you would have 3 postions 100% = open, 1% = Open Slats, 0% = Fully closed. |
Hey, Here is my data, I have a "small" window and a "big" window. Small Big |
Hi @rojer, here are my numbers: 10% - 0 cm : all time is spent opening the slats, no visual window is opened Thanks! |
Hello Rojer, Many thanks for this software which is really awesome. For the record, calibrating shelly 2.5 devices that are individually installed on each shutter works perfectly and thanks again for your excellent development. Thanks! |
For this issue, please take a look at the approach made by Jose, the author of HAA firmware about how to set a modifier for Window Covering:
In there, you set a correction value and see if it visually matches with the slider position. It's just a question of trying some values until you fine-tune the visual aspect. |
Hi Rojer, as also mentioned above, your work is awesome! Thank you for that. Sadly, I also have the same issue with my shutter and shelly 2.5, that the shutter is about 50% closed and the app says, it's 80 percent closed. Is it possible to add a manual calibration? Like entering the percent if the we can control it by ourselves? |
Hi Rojer, even if the motor manages to keep a constant speed at all times, the radius of the rolled shutter must be taken into account. In the attached picture, you can see that one full turn of the roller lifts 4 slats at first, while the same full turn at the end will lift 12 slats! That's 3 times more per turn of the roller. This heavily depends on the shutter type. The typical shutter in Spain (like the one attached in the picture), has a very thick slat (around 10mm + the spacing while rolled). However, a cloth blinder has probably 2mm at most. The first case will be much less accurate than the second. I think I can work out a formula that takes into account the slat thickness and the initial radius of the roller (i.e., the roller before rolling any slats). I have not received my Shelly 2.5 yet, but I'll try to figure it out when I get my hands on it. I'll report back. |
Thanks @andyblac haven‘t seen it... but yeah, I have the same issue. |
no improvements on this? |
Hi, first of all I want to say a HUGE thanks for this, this made managing my smart home so much more easy. I do have the same issue, running FW 2.8.2. 50% opening in HomeKit or the Web interface is roughly 75% closed. Everything else works flawlessly |
HI Rojer, Many thanks for the software, it's just awesome. Below my measurements. Would be great to these curves somehow implemented in the code... doesn't need to be to the mm but a rough approximation would be great! 10% - 1.0 cm Many thanks again! |
Hi I’m new to this. |
Hello, I have problems with the calibration, too. |
Small side note. Im using a motor that has a limiter build in, so it cuts off at to min and maximum hight. |
Same for my installation. Did you adjust anything else so that 50% is really 50% open? |
Hi! No further news on this? Latest post can't be more explanatory :P |
OK, would be good to improve on the non-linearity calibration. There are mainly 2 parts of this problem. 1: many shutters are adjusted so the end position is quite a lot further than when the slats are in the lowest position. The motor turns a bit longer until it reaches it's limit switch. So when opening, it first turns without moving the slats correspondingly. This can be around 10% in my test installation. So at 10%, we are still fully closed. Now, the motor starts to lift the slats, but many of them are made so they will first separate slightly to let light in. Now we can be at 15%, and we see light through them, but the lowest one is still all the way down. This position is often wanted in automations and it would be good to be able to calibrate so that all of them are at the same % in this position. This is a fixed offset that could be entered. "seconds to transparancy position, set that to 1% and then start counting normally as it starts to lift. So, 0% - fully closed, 1% lifted to see-through position but bottom slat still in lowest position. 2% - bottom slats starts lifting. 2: The next problem is the increasing size of the roll that pulls up the slats. Many shutters work on a 3" / 76-80mm pipe (but there are also other sizes). So, the first turn will then pull up 78x3.14 (pi) = 245mm of the shutter. The third layer will lift (78 + 4 x 12 x 1.25 ) x pi = 433mm and so on. to fully compensate for this we would need to input the base pipe diameter, the slat thickness and the length of the shutter. But, the pipe dia is just an offset, pi is of course constant, and the length is relative to the travel time. So, the actual influence is the slat thickness. It decides the slope of the curves that show the increasing change of position as a function of turns, time, length. |
Hi, just let me thank you for this great work. I have a bunch of Shelly devices in our home, all with your firmware and they work like a charm. This includes one roller shutter with a 2.5 shelly. However - today I flashed a Shelly 2.5 that is attached to three roller shutters that are controlled simultaneously and the calibration turned out to not discover full open or closed state even close :-( Depending on where the shutters are before I calibrate it kind of expands from there:
Actually instead of the automatic calibration a timer would be great, since all shutters are equipped with an automated stopping switch at either end... ... and it's already here: Working like a charm :-) Ingo |
Hello, is there any progress on this topic? |
Hello, first of all thank you for this amazing OSS project! I have been using this software for some time with the PlugS and RGBW2, but with the support of 2PM I have begun using it with blinds as well. I understand that blinds are not roller shutters and therefore there is some specificities that are similar to the issue discussed here. I am talking about achieving this flat position, which allows light in without heating the room too much. As a percentage of the whole travel this is around 2% open. So I would also welcome some non-linearity option to achieve greater accuracy in the angle of the blinds, since right now with the course control in 1% increments it is very difficult to achieve. |
I think there are several pull requests addressing this. most notably #1033 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hy, the Software for Homekit is WOW!!!
I face one issue which is only cosmetic 😊
Possible to change the percentage which displays in HomeKit App? F.i. 37% roller shutter position is in real 15% so possible to off set manual?
Thanks
BR René
The text was updated successfully, but these errors were encountered: