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

Sure :slight_smile: Thank You

https://drive.google.com/drive/folders/1TPLFzm2vzzEafwgeoL3USWpuKbCU8pkr?usp=sharing

@Herr.Vorragend this evening the shutters were not closed with the desired sun-elevation of -2.6 degrees. Not sure. I really fear its not a good idea to combine shutters in a group. I know, certain shutters were manually set to 50% during the day. Maybe only this has prevented the automation and all others were also not moved during sunset.

I have currently not setup the helper for this group of shutters.

Enclosed my traces: WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free

Hello everyone,

spring is coming and I want to setup my shading configuration. Driving the covers up and down dependent on brightness and time already work with this Automation.
What is the best an easiest way to debug this automation? Shading does not what I expect (nothing) and I want to find the reasons behind.

Try lowering the forecast temperature.
As far as I know there is a bug.

Please see above: ☀️ Cover Control Automation (CCA) - a comprehensive and highly configurable roller blind blueprint - #231 by Herr.Vorragend

To everyone else: I will respond to your posts. I am currently rewriting the entire structure. However, an interim update will appear soon.

5 Likes

Sunday is a working day?

Today it’s Sunday 7:22, and all my shutters opened at 7:00.
7:00 is the time_up_early. But the time_up_early_non_workday is set to 7:45.

Bug or feature?

YAML Config

alias: Rollladen Terrasse (CCA)
description: ""
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.rollladen_terrasse
    auto_options:
      - auto_up_enabled
      - auto_down_enabled
      - auto_sun_enabled
      - auto_lockout_protection_enabled
    time_up_early: "07:00:00"
    time_up_early_non_workday: "07:45:00"
    time_up_late: "08:00:00"
    time_down_early: "16:30:00"
    time_down_late: "22:30:00"
    drive_delay_random: 0
    position_tolerance: 2
    check_config: true
    time_down_early_non_workday: "16:30:00"
    time_down_late_non_workday: "22:30:00"
    contact_cover_place: door
    contact_sensor: binary_sensor.tuer_fenster_3
    sun_elevation_up: -3
    sun_elevation_down: -3

Variables after initialization

time_up_early: '07:00:00'
time_up_early_non_workday: '07:45:00'
time_up_late: '08:00:00'
time_up_late_non_workday: '08:00:00'
time_down_early: '16:30:00'
time_down_early_non_workday: '16:30:00'
time_down_late: '22:30:00'
time_down_late_non_workday: '22:30:00'
workday_sensor: []
drive_delay_fix: 0
drive_delay_random: 0
drive_time: 90
time_control: time_control_input
time_schedule_helper: []
time_up_early_today: '07:00:00'
time_up_late_today: '08:00:00'
time_down_early_today: '16:30:00'
time_down_late_today: '22:30:00'

I am happy to create an issue in Github if needed to ease tracking.

CCA version: 2024.02.28-02

you are my hero! :innocent:

Shutters were not opening this Morning at 7:30 as expected. Maybe still the issue to combine many shutters in one automation or something related to shellys.

Trace WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free

Seems no workday_sensor set in your configuration.

1 Like

thanks to @crandler
he pointed me to workday_sensor which I didn’t set.

And eventually I found the workday integration of home assistant - very handy.

New update:

2024.03.11-01:
  - Added various options for fine adjustment
  - Possibility to ignore actions after manual position changes
  - Only compare such positions if the mode has been activated accordingly
  - Avoid status change from 'unavailable'
  - Allow delay in ventilation mode
  - Fixed: Shading should not be activated when ventilation mode is active
  - Fixed: Closing the door contact should always lower the roller
  - Instead of cover helper and position detection working against each other, the two can now complement each other.
  - Manual detection adjusted. Positions 0% and 100% always result in close/open regardless of the configuration.
  - Forcing a status is now also automatically used as a negative condition in other queries.

3 Likes

Yes, this is due to the fact that you are using a group and therefore the current_position attribute is only an average value.

I actually wanted to wait with this. I myself have been working with this branch for some time and have already developed it further.

Now I’m taking a risk and releasing what is actually a very big new feature as 2024.03.11-02 on the same day as the feature update 2024.03.11-01.

I am convinced that this should fix many ventilation errors.

But to be honest, I haven’t finished testing all the details and changes from today. Oh dear oh dear. :smiley:

2024.03.11-02:
  - Completely new structure of the various choose-branches
  - Relocation of some conditions to the sequence section
  - Redesign of the ventilation mode
  - Added: Additional Condition For Ventilation #33
  - Added: Force Ventilation #28

3 Likes

So, you would clearly recommend to have one automation per shutter so that up/down by elevation+time as well sun-shading works correct?

Yes :smiley:

1 Like

Thank you so much, fixed the closing problem. I have on question left, you added the delay option, i can activate it but where do i set the delay?

The default delay values are used.

1 Like

You could support me by perhaps trying out the new version. That should take us many steps further. Thank you very much.

I have lost track of the various traces and development branches. Are your problems solved now? Maybe you should try the new version. Thank you very much.

1 Like

I have made a change in today’s update. Please try it out. Merci.