Garage door, getting the position

But, that much isn't needed either... 500 steps over 195cm makes it precise within 4mm. That should do it

And that is the main point, more then enough counts to work with. You can then map it to whatever scale you want in your code, perhaps mapped to show 0-100%

Lefty