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

I have already written a little about this. You are welcome to leave it at 90 seconds.

I try to recognize manual movements in the blueprint. And some devices send the position data this often or even during the drives.

I’ve changed the logic several times because I wasn’t happy with it. It actually no longer has anything to do with the delay of events.
I am currently using it to check whether the detected position change was generated by the blueprint or whether it was caused manually.

1 Like

Hello everyone I think i missed something. I enable open and close with sun elevation and it work perfectly.

But if one thé day I close a little one cover AT 40% for exemple, it will will not close automaticly.

What should I do to force it to close even I did a manual mouvement on the cover on thé day.

Thanks

you have to use that “helper” otherwise the blueprint will only work if the cover is in a “known position” (eg. open/close/ventilation/shading position) > if it is something in between (eg 40%) it won’t work (as you experienced it).

Ok but i dont know what i should put in parameters of this helper. Could you help me to configure it?

from the blueprint description:

1 Like

Oki i will try it but not i will undersrand what to do :rofl::rofl::rofl:

Ok i tried to see what to do but i really don’t understand what i have to do with the input_text…

:slight_smile: thanks for the valid questions.
it happened after 23:00
i expected the blinds to close after the door got closed. ‘Closed’ for the blinds in questions means 44% closed. But they stayed open (0%).

Traces are lost, unfortunately. If needed I try to force the issue to create a new trace.

Thanks again! :pray:

1 Like

yep i fully agree…and by the way, “hurry” means “dirty” and dirty isn’t a good idea :wink: and until autuum i think its not so neccessary…if i found some time i will have a look at the code…

Hi, how can I set to use the resident mode only for preventing to open in the morning, but closing at normal times?

Lockout protection: Cover is not moving to open, when opening the door and shading is active.

Hello, i used a helper for thé position of thé cover, so it open and close with thé Sun élévation even if I moved thé cover manually.

But now i have another problem, in thé evening when it is closed thé cover open at the late close Time parameter. I dont understand why…

What do u need as information to help me?

Lockout protection error: cover is 100% (open). Door is open (helper is on). Shading starts. Why? Lockoutprotection has to prevent shading. It is a boolean helper, because there is a three-state-sensor. State is on.

Thanks to all here, my automation is working for daily up/down routines. I’d like to add shading, but am having a hard time finding values for sun position. I’ve ordered a light sensor as well, but curious where everyone is finding values for sun position. Also, it looks like I’ll need to add the helper for this as well - glad I just saw this.

There is an Integration, called ‚sun‘. You can use this.
For crosschecking you can use sonnenverlauf.de .
Position the focus on your house and check angles and times.

Not at all. You can only do both or not at all.
But you can also solve all of this using the additional conditions. Be creative.

Lockout protection: Is it possible that you are confusing this with ventilation mode? Lockout only works when shutting down. And I have already explained ventilation here several times: only works from the “closed” status.

Please show me a trace.

That’s right. The lockout protection does not apply to solar shading. Can you please create a ticket on GitHub? Then I can implement that.

Thank you!

Sorry, I expected that a open command where set, when opening the door. That’s my mistake. I solved it with a action command.

Can someone help me. I have created 8 CoverControl automations. 7 of them work without any problems. However, one shutter always remains closed. I have no idea where the error lies.
I am attaching the trace log and the config as screenshots. It would be great if someone could help me. I just can’t find the error.

latest Trace Log should open the cover

alias: Cover Control Wohnzimmertür
description: ""
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.roller_shutter
    auto_options:
      - auto_up_enabled
      - auto_down_enabled
      - auto_brightness_enabled
      - auto_lockout_protection_enabled
    default_brightness_sensor: sensor.wetterstation_warema
    brightness_up: 20
    brightness_down: 10
    sun_elevation_down: -3.5
    sun_elevation_up: -0.5
    workday_sensor: binary_sensor.workday_sensor
    contact_sensor: binary_sensor.wohnzimmer_schiebetuer
    check_config: true
    cover_status_helper: input_text.cover_helper_wohnzimmertur
    cover_status_options: cover_helper_enabled
    time_down_early: "18:00:00"
    time_down_early_non_workday: "18:00:00"
    auto_up_condition: []
    auto_down_action: []
    time_up_late: "08:00:00"
    time_up_late_non_workday: "08:30:00"
    time_down_late_non_workday: "21:00:00"
    time_down_late: "21:00:00"
    brightness_time_duration: 60
    resident_sensor: input_boolean.schlafend
    auto_down_condition:
      - condition: state
        entity_id: input_boolean.beleuchtung_freisitz_fur_cover_control
        state: "on"
        for:
          hours: 0
          minutes: 0
          seconds: 0
    auto_down_force: input_boolean.beleuchtung_freisitz_fur_cover_control
    auto_up_force: input_boolean.beleuchtung_freisitz
    drive_time: 90
    check_config_debuglevel: debug