I’d like to add support for using percentage values for the ShutterController to move the shutter to a certain point and stop automatically. This is helpful for rules like
if temperature of outside is more than 35°C for more than 5 minutes then move the shutter 50%
This would move up the shutter to 50% of the complete window size. Note that the ShutterController is still stateless, so it’s up to the user to use useful percentage values.
To calculate the time, when the shutter should stop, a config value for the time, that an open shutter needs to completely close, is needed.
For example, if the shutter takes 20 secs to close when completely open, a percentage of 50% would mean that the shutter runs for 10 secs and then stops.
The percentages can be between -100 and +100. A negative value means moving down, positive means moving up.
I actually already finished the implementation for pimatic itself and added a pull request (https://github.com/pimatic/pimatic/pull/920).
Please upvote this feature request, because no one did react on my pull request yet.
Also somebody would have to extend the mobile frontend. Currently you can set the percentage just by using the REST interface.