Add two-phase position estimation for roller shutters with blade tilt

Introduces descendTime and upSlatTime to model the two motion phases:
- Descent (slats unrolling) followed by blade tilt to fully close
- Blade opening followed by ascent when raising

Both fields are user-measured timestamps from the movement start,
making them easy to determine with a stopwatch. alphaDown and alphaUp
are now computed against the pure descent/ascent duration only,
excluding the linear blade-tilt phase at each end.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Frédéric Metrich 2026-07-04 15:20:27 +02:00
parent 46cc4531c5
commit a5f7404b95
3 changed files with 126 additions and 30 deletions

View file

@ -687,6 +687,19 @@
style="width:100%;text-align:right;" />
<label for="fldShadeDownMidTime">50% Down Time (ms)</label>
</div>
<div class="field-group"
style="display:inline-block;width:40%;margin-right:10px;margin-top:-10px;">
<input id="fldShadeUpSlatTime" name="shadeUpSlatTime" data-bind="upSlatTime"
data-datatype="int" type="number" length=5 placeholder="optional"
style="width:100%;text-align:right;" />
<label for="fldShadeUpSlatTime">Blades Open At (ms)</label>
</div>
<div class="field-group" style="display:inline-block;width:40%;">
<input id="fldShadeDescendTime" name="shadeDescendTime" type="number"
data-bind="descendTime" data-datatype="int" length=5 placeholder="optional"
style="width:100%;text-align:right;" />
<label for="fldShadeDescendTime">Bottom Touch At (ms)</label>
</div>
</div>
<div id="divTiltSettings" style="display:none;margin-top:-10px;">
<div class="field-group"