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

I’ve sent you the trace via PM, thank you so much for the support!
I understand that you don’t want and also should not be responsible for any hardware damage in the event of a bug.
I guess there are disclaimers for this :wink:
Anyway, anything directly integrated into CCA would, in my eyes, be much better than a parall solution, because there is one CCA for each shutter with many possible triggers, hence this check can be handled at the most specific place, like resident presence and window contacts.
What one would need for that purpose, or any other application, does not necessarily need to have anything to do with hardware, is a pre_close_trigger and a deplay, action would be triggered and finished within xx seconds, and afterwards the windows contacts could be used for verification and the shutters would be closed :wink:

short question to the sensor for the workday: Could i use the same workday sensor for both “workday today” and “workday tomorrow”?

No, you have to add a new entry in the workday integration and configure 1 day as the offset.

Hello, I am currently working on implementing a function in Home Assistant that was previously handled by another system. Essentially, the blinds in the bathroom should be automatically moved and controlled by a dusk sensor. Positions for open and closed are set, and this works well. However, I don’t always have the same position for closed. How can I dynamically use the “close_position” value? I tried adding an input_number in the YAML, but then the blueprint no longer triggers. Can someone help me?

Version : 2024.09.25

i just noticed that some blinds do not close at evening. Especially one is very strange:

It started to close but then stopped in the same second.

That is the YAML for it:

> alias: Rollo Kinder Sz Steuerung
> description: ""
> use_blueprint:
>   path: hvorragend/cover_control_automation.yaml
>   input:
>     blind: cover.hm_lc_bl1_fm_oeq0257910
>     auto_options:
>       - auto_up_enabled
>       - auto_down_enabled
>       - auto_brightness_enabled
>       - auto_ventilate_enabled
>     cover_status_options: cover_helper_enabled
>     cover_status_helper: input_text.rollo_kinder_sz_cover_status
>     time_up_early: "06:00:00"
>     time_up_early_non_workday: "08:00:00"
>     time_up_late: "08:30:00"
>     time_up_late_non_workday: "09:00:00"
>     time_down_early: "17:00:00"
>     time_down_early_non_workday: "17:00:00"
>     time_down_late: "21:30:00"
>     time_down_late_non_workday: "21:30:00"
>     default_brightness_sensor: sensor.wetterstation_lichtintensitat
>     brightness_up: 100
>     brightness_down: 20
>     workday_sensor: binary_sensor.workday_sensor
>     resident_sensor: input_boolean.rollladen_automatik_schalter
>     ventilate_position: 99
>     shading_forecast_sensor: weather.forecast_home
>     ignore_after_manual_config:
>       - ignore_ventilation_after_manual
>       - ignore_closing_after_manual
>       - ignore_opening_after_manual
>     auto_ventilate_options: []
>     individual_config: []
>     contact_window_tilted: binary_sensor.kinder_schlafzimmer_fenster_tilted
>     resident_config:
>       - resident_opening_enabled
>       - resident_closing_enabled
>     reset_override_config: reset_timeout

Another one is just doing nothing but has been triggered:

image

YAML:

> alias: Rollo Flur OG Steuerung
> description: ""
> use_blueprint:
>   path: hvorragend/cover_control_automation.yaml
>   input:
>     blind: cover.hm_lc_bl1_fm_meq0517660
>     auto_options:
>       - auto_up_enabled
>       - auto_down_enabled
>       - auto_brightness_enabled
>       - auto_shading_enabled
>     cover_status_options: cover_helper_enabled
>     cover_status_helper: input_text.rollo_flur_og_cover_status
>     time_up_early: "06:30:00"
>     time_up_early_non_workday: "08:30:00"
>     time_up_late: "08:00:00"
>     time_up_late_non_workday: "09:00:00"
>     time_down_early: "17:00:00"
>     time_down_early_non_workday: "17:00:00"
>     time_down_late: "21:30:00"
>     time_down_late_non_workday: "21:30:00"
>     default_brightness_sensor: sensor.wetterstation_lichtintensitat
>     brightness_up: 100
>     brightness_down: 20
>     workday_sensor: binary_sensor.workday_sensor
>     resident_sensor: input_boolean.rollladen_automatik_schalter
>     shading_position: 0
>     shading_brightness_sensor: sensor.mv_garten_helligkeit
>     shading_sun_brightness_start: 1000
>     shading_sun_brightness_end: 500
>     shading_azimuth_start: 50
>     shading_azimuth_end: 135
>     shading_temperatur_sensor1: sensor.wetterstation_temperatur
>     shading_min_temperatur1: 20
>     shading_forecast_sensor: weather.forecast_home
>     ignore_after_manual_config:
>       - ignore_shading_after_manual
>       - ignore_opening_after_manual
>       - ignore_closing_after_manual
>     shading_elevation_min: 15
>     resident_config:
>       - resident_opening_enabled
>       - resident_closing_enabled
>     shading_min_temperatur2: 23

image

And last but not least another one yesterday but did it correct today.

It closed first but then 4 minutes later opened and stayed open until i closed it manually. Maybe it was a one time issue.

image

YAML:

> alias: Rollo Sz Balkon Steuerung
> description: ""
> use_blueprint:
>   path: hvorragend/cover_control_automation.yaml
>   input:
>     blind: cover.rolloszbalkon
>     auto_options:
>       - auto_up_enabled
>       - auto_down_enabled
>       - auto_brightness_enabled
>       - auto_shading_enabled
>       - auto_ventilate_enabled
>     cover_status_options: cover_helper_enabled
>     cover_status_helper: input_text.rollo_sz_balkon_cover_status
>     time_up_early: "06:30:00"
>     time_up_early_non_workday: "08:30:00"
>     time_up_late: "08:30:00"
>     time_up_late_non_workday: "09:00:00"
>     time_down_early: "17:00:00"
>     time_down_early_non_workday: "17:00:00"
>     default_brightness_sensor: sensor.wetterstation_lichtintensitat
>     brightness_up: 100
>     brightness_down: 20
>     workday_sensor: binary_sensor.workday_sensor
>     ventilate_position: 20
>     auto_ventilate_options: []
>     shading_position: 0
>     shading_brightness_sensor: sensor.mv_garten_helligkeit
>     shading_sun_brightness_start: 1000
>     shading_sun_brightness_end: 500
>     shading_azimuth_start: 50
>     shading_azimuth_end: 135
>     shading_temperatur_sensor1: sensor.wetterstation_temperatur
>     shading_temperatur_sensor2: sensor.schlafzimmer_h_t_temperature
>     shading_min_temperatur1: 20
>     shading_min_temperatur2: 23
>     shading_forecast_sensor: weather.forecast_home
>     shading_forecast_temp: 22
>     shading_weather_conditions:
>       - sunny
>       - partlycloudy
>       - clear
>     ignore_after_manual_config:
>       - ignore_closing_after_manualn_tur
>       - ignore_ventilation_after_manual
>       - ignore_shading_after_manual
>     shading_elevation_min: 15
>     contact_window_tilted: binary_sensor.schlafzimmer_balkon_tur_tilted
>     lockout_tilted_options: []
>     resident_sensor: input_boolean.rollladen_automatik_schalter
>     contact_window_opened: binary_sensor.schlafzimmer_balkon_tur
>     resident_config:
>       - resident_opening_enabled
>       - resident_closing_enabled

Hi All,

Please to report that the blinds are opening in a morning, but they seem to be opening after I expected. They were set to open at 7:30 early but the one we managed to monitor opened at 9:45.

I don’t have any automations ticked in the blueprint other than generic open time in the morning and evening.

This is probably where my understanding is wrong. I have assumed that:

‘time to drive up open early’ in my case is 7:30
‘time to drive up open late’ in my case 9:00

The assumption if no other setting such as lux or sun position was in play the blinds would open at 7:30 unless snoozed flag was set which could delay the automation anytime up to 9:00 depending on the snooze period.

I have now set a switch to snooze the CCA automation via a virtual input, not tested yet to see if I can turn the CCA automation off during the 7:30 and 9:00 period, but it the automation is turned back on during the period 7:30 - 9:00 the automation triggers.

Hope that makes a bit more sense.

Thanks

Lee

Hello, it is currently not possible to configure values outside the blueprint.

Thank you for the complex preparation.
But at the moment I can’t do anything with the screenshots.
Please send me the traces of the problems. That will help me get there much better.

I would also have to ask you for a trace if there are any problems.

Please post the trace and error description together. It’s really difficult to search through the thread and collate the problems.

It seems it was some upgrading “fuckoff” :sweat_smile: i also had some mistake found in my three way sensor to binary sensor node red flow. (but FlurOG has no sensor) But i revised the automation again and today every shutter closed. So i’m good for now.

1 Like

Good morning, unfortunatley “zu früh gefreut” :sweat_smile: Yesterday all blinds closed but three of them opened about 2 hrs later:

image

I will send you the traces of one of them.

I solely want close the blind at sunset, unless the window (binary_sensor.alarm_zone_5) is open. However, I do not understand what i need to put for the 'time control input field

The description doesn’t make sense to me…Maybe a dumb question. How can I achieve getting this blind to close daily at sunset only if the window (binary_sensor.alarm_zone_5) is closed? What should the
‘time control configuration’ be set to in order to be dynamic based on sunset? I see the following:

Please create only one period in total. Example: Start at 08:00 and end at 22:00

Do i just pick only one day of the week and use those times? yaml below for reference:

alias: Cover Control Automation (CCA)
description: ""
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.living_room_right
    auto_options:
      - auto_down_enabled
      - auto_ventilate_enabled
      - auto_sun_enabled
    contact_window_opened: binary_sensor.alarm_zone_5
    close_position: 15
    ventilate_position: 60
    check_config: true
    time_control: time_control_input
    time_schedule_helper: schedule.schedule