-
Notifications
You must be signed in to change notification settings - Fork 41
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
Shutter dead time support #204
Comments
Hi Tobias, the extra seconds at the end are already included. Can you make the following movement and and print the cm - Position here. this make it easier for me see what is wrong. shutterposition 20 Also I need you calibrationparameters. They are printed if you input shutterrelay1 1 |
Hi,
here we go:
shutteropenduration 20.8
shuttercloseduration 18.5
shutterposition 100 135cm
shutterposition 0 0cm
shutterposition 20 5cm
shutterposition 40 25cm
shutterposition 60 47cm
shutterposition 80 72cm
shutterposition 20 ~0cm, einige Lamellen noch offen
shutterposition 80 72cm
shutterposition 20 ~0cm, einige Lamellen noch offen
As you can see main problem is that I cannot open the shutter to shutterposition 100 once stopped in between. From shutterposition 80=72cm i'ts far too long to reach the 135cm with 20% movement.
Da geht irgendwas schief ;-)
Regards, Tobias
… Am 26.10.2019 um 14:33 schrieb stefanbode ***@***.***>:
Hi Tobias, the extra seconds at the end are already included. Can you make the following movement and and print the cm - Position here. this make it easier for me see what is wrong.
shutterposition 20
shutterposition 40
shutterposition 60
shutterposition 80
shutterposition 20
shutterposition 80
shutterposition 20
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#204?email_source=notifications&email_token=AHFAHDFRNADRHTZ6WTLNMJDQQQ2KLA5CNFSM4JFGIA2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECKG7CA#issuecomment-546598792>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHFAHDBOXRD23EZCZEW6BSLQQQ2KLANCNFSM4JFGIA2A>.
|
Sorry, the mail from GitHub truncated the last line with your question to the calibrationparameters:
SHT: Shutter 0 (Relay:1): Init. Pos: 41600 [100 %], Open Vel.: 100 Close Vel.: 112 , Max Way: 41600, Opentime 20.8 [s], Closetime 18.5 [s], CoedffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 3, is inverted 0, shuttermode 1
|
Uhh, this is quite a lot of movement you lose. If you understand right normally 100 = 135cm and if you do it stepwise you with roughly end at 100cm; roundabout. There are 5 starts. Your opentime is 20.8. That does mean: 135/20.8 = 6.5cm/sec. If we lose 35cm in 5 starts this is 7cm per start wich is roughly 1 second that the motor needs from the start command to effectively go to start. Wow. Let me check If I can compensate for this. I assume it is the same for up and down. My idea is to change the startposition internally to "bring in" the additional runtime. I need to ensure the position at the end and on a position during movement is as precise as it can be. |
Hi Stefan,
after experiment today I am not quite sure whether I simply loose some seconds. If you look to the last positions 20/80/20 I got quite accurate results when toggling between 20 and 80. Anything else I might have missed? My durations are calculated from Speed/cm and the 135. When moving 100% Everything is fine and I can here the Motor stops shortly before the Relais opens.
Tobias
…Sent from my iPad
Am 27.10.2019 um 12:07 schrieb stefanbode ***@***.***>:
Uhh, this is quite a lot of movement you lose. If you understand right normally 100 = 135cm and if you do it stepwise you with roughly end at 100cm; roundabout. There are 5 starts. Your opentime is 20.8. That does mean: 135/20.8 = 6.5cm/sec. If we lose 35cm in 5 starts this is 7cm per start wich is roughly 1 second that the motor needs from the start command to effectively go to start. Wow. Let me check If I can compensate for this. I assume it is the same for up and down. My idea is to change the startposition internally to "bring in" the additional runtime. I need to ensure the position at the end and on a position during movement is as precise as it can be.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi Tobi, that 20/80/20/80 will work fine is correct. This was just my double check, that you really have a start problem. if you do 20/40/60/80/20/40/60/80/20 you will see it get worse. I have an idea where to hook in. just struggeling with the first move them position is 0. then my start is negative and this is what the software currently does not like.... |
Hi Tobi, I just uploaded version 1.17. Maybe you can give it a try. If you start you will get a new config line with "motordelay" at the end.
This delay are multiple of 0.05sec. e.g. 20 is 1 sec (20x0.05). To set the motordelay please use the new command and put in the time in SECONDS!!! For your problem please start with:
The init line should answer with "motordelay 22" |
Please let me know if this solves you problem. if so, I will update the master project with the new code. As you might know the shutter is now also in the MAIN TASMOTA project included. |
Hi Stefan,
thx for the update. I am already running main tasmota project with shutters. So I took your changes on top of 6.7.1.
I ended up with shuttermotordelay 0.9 for my setup. Afterwards shutter ends at same position before and after 20/40/60/80/20 sequence.
Please go ahead and update tasmota main repo.
Regards, Tobias
… Am 27.10.2019 um 13:08 schrieb stefanbode ***@***.***>:
Please let me know if this solves you problem. if so, I will update the master project with the new code. As you might know the shutter is now also in the MAIN TASMOTA project included.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#204?email_source=notifications&email_token=AHFAHDGZP2BGIZJMJHCD45LQQVZB5A5CNFSM4JFGIA2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECK4Z5Q#issuecomment-546688246>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHFAHDCTREATL6OC4QMYF6TQQVZB5ANCNFSM4JFGIA2A>.
|
Ok great to hear. Will submit a change request against the main project tomorrow. |
Change is submitted to the master. Wiki is updated to describe the procedure. |
Hi Stefan, thanks for introducing shutter support in Tasmota. Unfortunately it seems that my Somphy Motors have significant dead time when starting or stopping motors. I am running Short Circuit Safe mode.Can you add some extra ms setting for any movement in addition to open close duration? In addition would it make sense to have some extra ms when shutter position is set to 0 or 100? With that any integrated timing error will at least ‘recalibrate’ when moving to any end position. Regards, Tobias
The text was updated successfully, but these errors were encountered: