mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-07-15 15:22:14 +02:00
Add non-linear position estimation for RTS roller shades
Motor speed varies with drum radius as shade material winds/unwinds, causing linear time-interpolation to misestimate position. Adds two optional calibration fields (upMidTime, downMidTime) that let users provide the elapsed time at 50% travel. A logarithmic model (alpha ratio solved via Newton's method) then replaces the linear formula. Falls back to existing linear behaviour when mid-time fields are zero. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
eb75868adb
commit
769b2ddd7d
4 changed files with 4319 additions and 2879 deletions
845
data/index.html
845
data/index.html
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue