Time based cover
The time_based cover platform — an ordinary roller blind or shutter.
time_based is the platform for an ordinary roller blind or shutter that only goes up and down.
The controller works out the position from how long each relay has been on. It works on the Cover and Cover Mix models and on an ordinary relay board.
Set it up in Settings → Control → Covers with Platform set to TIME_BASED. Every field and option is described on Covers.
cover:
- id: living_room_left
name: Living room left
platform: time_based
open_relay: cover_08_up
close_relay: cover_08_down
open_time: 30s
close_time: 30s
restore_state: trueOnly open_relay, close_relay, open_time and close_time are required. Since 1.6 a full open or close runs a little longer into the endstop
(endstop_overrun, default 10%) and a reversal waits for the motor to stop (direction_change_wait_time, default 500ms) —
see How a cover moves.