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

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.

Hi,
i disabled the time control options (disable time control and all time triggers) and disabled the generic open and close automation. But the automation still triggers, when the times reached! Its more a hint, because the covers didnt run, because all is deactivated, but the automation shouldn’t trigger i think!
Here are some traces for that: https://file.io/LAn5VUcOyeBb

1 Like

Yo, that’s a bug. A small logic error when checking the schedule helper.

is_time_field_enabled: "{{ 'time_control_input' in time_control or time_control == [] or time_schedule_helper == [] }}"

so in this case the part “time_control == ” should be deleted…right?

As a quick fix, this should do the trick:

is_time_field_enabled: "{{ 'time_control_input' in time_control }}"

today again the same issue - find trace below:

at “up-Time” also “Shading” was enabled!?

helper information: