☀️ Cover Control Automation (CCA) - a comprehensive and highly configurable roller blind blueprint

I don’t see how this can be implemented with CCA. However, I also believe that CCA is not needed for this. Not everything has to run via automation.

The problem will be that you have to reverse the values for Open (100) and Close (0). This will not work. I have permanently linked the value 0 to the close status.
Or you have hardware in which you can invert the mode.

Okay thanks. I thought it would be possible to add something else like: TV position. This means that the roller shutters then move into the position that is stored here. This is actually a common problem where the light incidence is disturbing when watching television. Would have thought it would be cool if this happened automatically

in this case make another automation without CCA, like: when tv on than shutter down otherwise open! Maybe its neccessary to stop the normal CCA automation for that shutter during the tv is on, to prevent opening (additional action in the new automation!)!

Hello,

I have some issue in configuring sun shading. I am not able to make it work and i would like some help.

Here is my configuration :

alias: Chambre Léon
description: ""
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.volet_leon_low_speed
    auto_options:
      - auto_up_enabled
      - auto_down_enabled
      - auto_sun_enabled
      - auto_shading_enabled
    ignore_after_manual_config:
      - ignore_shading_after_manual
    reset_override_config: reset_timeout
    reset_override_time: "00:00:00"
    sun_elevation_up: -5
    sun_elevation_down: -5
    drive_delay_random: 55
    shading_azimuth_start: 60
    shading_elevation_min: 5
    shading_temperatur_sensor1: sensor.temperature_chambre_leon_temperature
    shading_min_temperatur1: 22
    shading_temperatur_sensor2: sensor.viking_0203502038_35_01_temperature
    shading_forecast_sensor: weather.forecast_home_2
    shading_forecast_type: hourly
    shading_weather_conditions:
      - sunny
      - partlycloudy
      - clear
    shading_waitingtime_end: 150
    reset_override_timeout: 120
    time_control: time_control_input
    shading_min_temperatur2: 18
    shading_forecast_temp: 18
    shading_waitingtime_start: 150
    check_config: true
    time_up_early_non_workday: "09:00:00"
    time_down_late: "23:00:00"
    time_down_late_non_workday: "23:00:00"
    shading_azimuth_end: 230
    time_up_early: "07:00:00"
    time_up_late: "09:00:00"
    time_up_late_non_workday: "11:00:00"
    check_config_debuglevel: debug

Thank you for your help.

Shading does not work for me, as well. Even when I force shading, nothing happens.

Please read the descriptions:

Then you should show me something so that I can help you. A blanket statement like “doesn’t work” doesn’t help anyone. :grinning:

I am very sorry. I do not get any Log entries. I do not want to use the other optionas besides shading for now. But I have enabled them according to your post above. To be honest I do not even know what information you need and where to get it.

id: '1720199841822'
alias: test rolladen Arbeitszimmer
description: ''
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.arbeitszimmer_rolladen
    open_tilt_position: 100
    close_tilt_position: 0
    shading_position: 20
    shading_tilt_position: 20
    auto_options:
      - auto_shading_enabled
      - auto_up_enabled
      - auto_down_enabled
      - auto_brightness_enabled
      - auto_sun_enabled
    auto_shading_start_force: input_boolean.test_rolladen
    ventilate_tilt_position: 10
    ventilate_position: 10
    time_control: time_control_disabled

Please take a look on my quoted link two posts above.

Note

For support reasons, I would like to point out the following requirements if you want to use the shading, ventilation, etc.

1 Like

Got the helper, finally. But still no shading for me.

id: '1711034646819'
alias: Arbeitszimmer Rolladen Auto
description: ''
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.arbeitszimmer_rolladen
    auto_options:
      - auto_shading_enabled
      - auto_up_enabled
      - auto_down_enabled
      - auto_brightness_enabled
      - auto_sun_enabled
    drive_time: 30
    open_tilt_position: 100
    close_tilt_position: 0
    workday_sensor: binary_sensor.workday_sensor
    ventilate_position: 90
    ventilate_tilt_position: 90
    shading_tilt_position: 20
    shading_forecast_sensor: weather.forecast_home
    shading_forecast_temp: -10
    shading_min_temperatur1: 0
    auto_shading_end_condition: []
    auto_shading_start_condition:
      - condition: or
        conditions:
          - condition: state
            entity_id: device_tracker.thinkpad
            state: home
          - condition: state
            entity_id: device_tracker.unifi_d8_d0_90_32_73_c2_default
            state: home
        enabled: false
    shading_azimuth_start: 215
    shading_azimuth_end: 270
    shading_elevation_min: 15
    individual_config:
      - allow_shading_multiple_times
    check_config: false
    shading_position: 20
    check_config_debuglevel: warning
    cover_status_helper: input_text.position_arbeitszimmer_rolladen_helfer
    time_control: time_control_disabled
    brightness_up: 83310
    shading_forecast_type: hourly
    auto_shading_start_force: input_boolean.test_rolladen

Then please upload the trace of the trigger “t_si_1” and I will take a look.

If you don’t find the trigger, then it is not “shading time”.

Just to be sure: you didn’t run the automation yourself, did you?

Thank you very much for your help. I somehow forgot to tick the option to actually use the position helper. For testing I used the Force Activation Sun Shading trigger. Sorry for bothering you. Schönes Wochenende.

Kein Problem. Danke. :grinning:

One more question. DO I need to Enable sun elevation control in order to use Sun Shading Elevation Minimum/Maximum Value? I do not want the covers to open or close according to sun elevation. Thanks a lot.

No, this is not necessary. The option only supplements the daily opening and closing of the roller blinds.

1 Like

New update

2024.07.06:
  - Fixed: Return to shading after ventilation #43
  - Fixed: When closing the ventilation contact, do not move the roller blind if it is already in the correct position #102
  - Updated: Trigger name renamed to make debugging easier for beginners
  - Added: Additional information on when a Cover Status Helper is required
  - Added: License notification and notice about the new Take Control-feature
3 Likes

I am still struggeling. Sorry. You write “These first two options must be activated so that the blinds can be opened or closed at all” .
Does it mean no automation works if the to options are not active?
I want to use shading, only. But I had this two options activated becausse of what you wrote in the instructions within the blueprint. Then yesterday at 20:00 the blinds closed despite i have activated “:no_entry_sign: Disable time control and all time triggers”.
Then I deactivated the first two options in “:point_right: Automation options”. Today the blinds did not not closed according to the azimuth settings I made under “Sun Shading / Sun Protection”

Then please show me the trace.