bruxy70 / Venetian-Blinds-Control

Control Shutters or Venetian blinds via buttons and MQTT. Use 2 relays (up and down) and 2 binary inputs to independently control position and tilt.
MIT License
46 stars 22 forks source link

Implement "actuator activation" to compensate drive latency #11

Closed DaniEll-AT closed 1 year ago

DaniEll-AT commented 1 year ago

Implement "actuator activation" like discussed in #7

One implementation detail i am not sure about is, wether "actuator activation duration" should be considered for open_netduration/close_netduration. I am leaning towards adding that (not done currently). I implemented it this way.

DaniEll-AT commented 1 year ago

@pawelma and @bruxy70 I think the code change in this Pull Request is consistent with the way the test-branch works. I use it quite some time now, it makes a major difference in tilt-precision. Please review/merge it.