AboutBlogContact

Covers

Cover Module for controlling up/down roller blinds and venetian blinds with tilt function. It can be used both with a Cover-type device and with a standard relay board.

Web application configuration

Recommended configuration method.

Sample webui configuration

A view allowing for the preview of defined covers, their types, times, and assigned areas.

Areas menu view

Basic Settings

Basic settings view

Option nameDescription
Display NameThe name with which the cover will be displayed in the controller's webui, MQTT, and HA.
IDTechnical ID for MQTT topics.
AreaSelection of the appropriate area.
PlatformTIME_BASED and VENETIAN

Platform - You can choose between TIME_BASED and VENETIAN. Different options are available depending on the selection.

Time Based:
Option nameDescription
Opening RelaySelection of the relay used to open the given cover.
Closing RelaySelection of the relay used to close the given cover.
Opening timeField allowing for entering the cover's opening time.
Closing timeField allowing for entering the cover's closing time.
Venetian:
Option nameDescription
Opening RelaySelection of the relay used to open the given cover.
Closing RelaySelection of the relay used to close the given cover.
Opening timeField allowing for entering the cover's opening time.
Closing timeField allowing for entering the cover's closing time.
Tilt TimeField allowing for entering the cover's tilt time.

Advanced Settings

Advanced settings view

Option nameDescription
Device classThe device class visible in HA.
Restore stateAfter a device restart - restores the previous opening state of the cover.
Show in Home AssistantEnables autodiscovery and allows it to be shown in HA.

YAML Configuration

Time Based (up/down roller blind)

Example config
cover:
  - id: Cover08
    platform: time_based
    open_relay: cover_08_up
    close_relay: cover_08_down
    open_time: 30s
    close_time: 30s
    show_in_ha: yes
    restore_state: yes

Time Based configuration variables:

VariableRequiredTypeDefaultDescription
idYesstring-Uniquely identifies this device in MQTT and Home Assistant.
platformYesstring-Platform type: time_based
open_relayYesstring-Relay ID which opens the cover. Must be defined in output section.
close_relayYesstring-Relay ID which closes the cover. Must be defined in output section.
open_timeYestimeperiod-Time to open the cover. Example: 30s.
close_timeYestimeperiod-Time to close the cover. Example: 30s.
device_classNostring-Device class in Home Assistant. Allowed values: awning, blind, curtain, damper, door, garage, gate, shade, shutter, window.
show_in_haNobooleanTrueSend autodiscovery message to Home Assistant.
restore_stateNobooleanFalseRestore cover state after restart. Saves state in state.json file.

Venetian (blind with tilt)

Example config
cover:
  - id: Cover07
    platform: venetian
    open_relay: cover_07_up
    close_relay: cover_07_down
    tilt_duration: 1200ms
    open_time: 14s
    close_time: 14s
    show_in_ha: yes
    restore_state: yes

Venetian configuration variables:

VariableRequiredTypeDefaultDescription
idYesstring-Uniquely identifies this device in MQTT and Home Assistant.
platformYesstring-Platform type: venetian
open_relayYesstring-Relay ID which opens the blind. Must be defined in output section.
close_relayYesstring-Relay ID which closes the blind. Must be defined in output section.
tilt_durationYestimeperiod-Time to tilt the slats. Example: 1200ms.
open_timeYestimeperiod-Time to open the blind. Example: 14s.
close_timeYestimeperiod-Time to close the blind. Example: 14s.
device_classNostring-Device class in Home Assistant. Allowed values: awning, blind, curtain, damper, door, garage, gate, shade, shutter, window.
show_in_haNobooleanTrueSend autodiscovery message to Home Assistant.
restore_stateNobooleanFalseRestore blind state after restart. Saves state in state.json file.