Enhancing Shelly Roller Control with Duration and Position Tracking

Hello everyone! I’m currently working on optimizing my home automation setup, specifically using Shelly relays to control my roller blinds. While the basic functionality is solid, I’ve noticed a few areas where improvements could really enhance the user experience. Let me share my thoughts and see if anyone has insights or solutions!

Currently, the Shelly roller integration lacks three key attributes: duration, last_direction, and current_pos. These attributes are crucial for precise control, especially for larger roller blinds where small position adjustments are essential. For instance, the minimum 1% position adjustment is too coarse for fine-tuning the blades. Instead, using time-based adjustments would allow for more granular control, as time can be measured in fractions and offers a more accurate way to tilt the blades up or down.

The ‘last_direction’ attribute would be incredibly helpful for determining whether the roller needs to tilt up or down after reaching a desired position. This would prevent unnecessary back-and-forth movements and ensure smoother operation. Additionally, having a ‘current_pos’ attribute would allow users to calculate the exact movement needed to reach a specific position, whether using time or position-based adjustments.

I’m curious if anyone has implemented similar solutions or if there are existing workarounds within the Shelly ecosystem. Perhaps there’s a way to modify the integration or use custom scripts to achieve these functionalities. Any advice or shared experiences would be greatly appreciated!

Thank you all for your time and input. Let’s brainstorm together to make our roller controls even smarter!