You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a minor issue with the shutter code when using Venetian blinds with Tilt:
When opening the blinds from a fully closed position to a slightly tilted position (Position still remains at zero, Tilt between -90 and +90), it cannot be closed again fully with the ShutterClose command.
If the movement is large enough to even slightly increase Position above zero, a ShutterClose command will fully close the blinds (to Position=0 and Tilt=-90).
This behaviour seems to be due to the reset of the tilt position in line 1337 in xdrv_27_shutter.ino (current Tasmota version 14.4.0):
1336 // if position is either 0 or 100 reset the tilt to avoid tilt moving at the end
1337 if (target_pos_percent == 0 && ShutterRealToPercentPosition(Shutter[index].real_position, index) > 0 ) {Shutter[index].tilt_target_pos = Shutter[index].tilt_config[4];}
1338 if (target_pos_percent == 100 && ShutterRealToPercentPosition(Shutter[index].real_position, index) < 100) {Shutter[index].tilt_target_pos = Shutter[index].tilt_config[3];}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There is a minor issue with the shutter code when using Venetian blinds with Tilt:
When opening the blinds from a fully closed position to a slightly tilted position (Position still remains at zero, Tilt between -90 and +90), it cannot be closed again fully with the
ShutterClose
command.If the movement is large enough to even slightly increase Position above zero, a
ShutterClose
command will fully close the blinds (to Position=0 and Tilt=-90).This behaviour seems to be due to the reset of the tilt position in line 1337 in xdrv_27_shutter.ino (current Tasmota version 14.4.0):
adding a line
1339 if (target_pos_percent == 0 && ShutterRealToPercentPosition(Shutter[index].real_position, index) == 0 ) {Shutter[index].tilt_target_pos = -90;}
solves this problem for me.
The
ShutterClose
command now also moves the blinds to a fully closed position when they are only tilted.I do not know if adding this line would cause issues with other types of shutters though.
Beta Was this translation helpful? Give feedback.
All reactions