All works as expected. The problem was in front of the keyboard. Thanks a lot! And again thank for your great work!
Hello, I have the problem, that the cover opened although it was supposed to be in the shading azimuth.
It started to shade correctly. but as soon as the “time_up_late_non_workday” was reached, it went up, although it was supposed to stay down due to shading.
here is my config , where I now tried to change the time settings due to this bug, before it was defaultig to 8:00)
alias: Beschattung Schlafzimmer
description: ""
trace:
stored_traces: 20
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.schlafzimmer
auto_options:
- auto_shading_enabled
- auto_up_enabled
- auto_down_enabled
close_position: 0
sun_elevation_up: 25.9
check_config: true
shading_azimuth_end: 160
individual_config:
- allow_shading_multiple_times
- prevent_shading_end_if_closed
- prevent_higher_position_closing
shading_azimuth_start: 40
shading_waitingtime_start: 0
shading_position: 5
shading_waitingtime_end: 68
shading_weather_conditions:
- sunny
- partlycloudy
- clear
- windy
- windy-variant
shading_elevation_min: -90
ignore_after_manual_config:
- ignore_opening_after_manual
shading_forecast_sensor: weather.forecast_home
shading_forecast_temp: 13
cover_status_options: cover_helper_enabled
time_control: time_control_disabled
shading_forecast_type: daily
check_config_debuglevel: error
cover_status_helper: input_text.cca_schlafzimmer
time_up_late_non_workday: "15:00:00"
time_up_early_non_workday: "14:00:00"
time_up_early: "14:00:00"
time_up_late: "15:00:00"
tbh, it would be great, to only have the shading feature working, without the up movement, but last time when i disabled the up and down settings, the shading was not working, aswell.
with some windows, i would like to do the following:
I open the covers at night, and have the window open.
then when the sun starts to shine, i want the shading to close the covers. (this worked)
but i do not want the covers to open when the move up time is starting.
is this anyhow possible?
Hi,
Thanks for this amazing blueprint. The configs are insane!
I just want to use it for sun protection, so i set the min max azimuth / elevation.
I set also the earliest drive down and the temperature.
But it won´t run. When i check the traces it goes only into the last trace (config check).
Can you give me any idea how i can check whats the problem?
Thanks so much
alias: Beschattung Schlafzimmer
description: ""
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.schlafzimmer_rollo
position_tolerance: 17
shading_azimuth_end: 200
shading_waitingtime_start: 6
auto_options:
- auto_shading_enabled
check_config: true
time_down_early: "08:00:00"
time_down_early_non_workday: "08:00:00"
time_down_late: "08:00:00"
time_down_late_non_workday: "08:00:00"
shading_azimuth_start: 72
I have added an additional condition for the covers on the east side to start the shading at the weekend only after I have got up (cover bedroom = open). When I got up today, the blueprint had not yet triggered, so far so good. At this point, however, the conditions for triggering were already fulfilled and after I opened the covers manually, the blueprint no longer triggered the shading program. I waited half an hour and then closed them manually.
So if the blueprint is actually supposed to trigger, it is prevented by the additional condition, but it should then do it as soon as the preventing condition is no longer fulfilled. Should this actually work or does it need further adjustments?
This is one blueprint.yaml
alias: Verschattung Küche
description: ""
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.kuche_rolllade
auto_options:
- auto_shading_enabled
shading_position: 28
time_control: time_control_disabled
shading_azimuth_start: 74
shading_azimuth_end: 155
shading_elevation_min: 18
shading_forecast_sensor: weather.forecast_home
shading_forecast_temp: 21
shading_weather_conditions:
- sunny
- partlycloudy
- clear
- cloudy
auto_shading_start_condition:
- condition: state
entity_id: cover.schlafzimmer_rolllade
state: open
auto_shading_end_condition: []
shading_min_temperatur1: 16
cover_status_options: cover_helper_enabled
cover_status_helper: input_text.verschattung_helfer_kuche
shading_temperatur_sensor2: sensor.boiler_outdoortemp
shading_min_temperatur2: 16
ignore_after_manual_config:
- ignore_shading_after_manual
drive_time: 16
Hello,
can someone perhaps give me a tip? I have the problem that my shading is not working. The roller shutters go up and down as desired in the morning and evening. That works perfectly. However, the shading is not being executed.
I have checked the azimuth, brightness (LUX), sun elevation, and temperature. Actually, the shading should have been executed. Unfortunately, this is not happening.
Does anyone have an idea what I might have done wrong?
"blueprint_inputs": {
"id": "1719468253528",
"alias": "Rademacher_Rolladen_Wohnzimmer_2OG",
"description": "",
"use_blueprint": {
"path": "hvorragend/cover_control_automation.yaml",
"input": {
"blind": "cover.wohnzimmer_2_og",
"drive_time": 23,
"shading_tilt_position": 25,
"time_up_early": "06:00:00",
"time_up_early_non_workday": "06:00:00",
"time_up_late": "07:00:00",
"time_up_late_non_workday": "07:00:00",
"time_down_early": "18:00:00",
"time_down_early_non_workday": "18:00:00",
"time_down_late": "22:30:00",
"time_down_late_non_workday": "22:30:00",
"shading_brightness_sensor": "sensor.helligkeit_wetterstation",
"shading_azimuth_start": 70,
"shading_azimuth_end": 135,
"shading_temperatur_sensor1": "sensor.wetterstation_temperatur",
"shading_min_temperatur1": 20,
"shading_weather_conditions": [
"sunny",
"partlycloudy",
"clear",
"cloudy"
],
"auto_options": [
"auto_up_enabled",
"auto_down_enabled",
"auto_shading_enabled"
],
"shading_sun_brightness_end": 2500,
"sun_time_duration": 30,
"sun_elevation_up": 0,
"sun_elevation_down": 0,
"shading_sun_brightness_start": 35000,
"shading_elevation_min": 30,
"shading_elevation_max": 90,
"time_control": "time_control_input",
"open_position": 100,
"close_position": 0,
"check_config_debuglevel": "info",
"check_config": true,
"cover_status_options": "cover_helper_disabled",
"position_tolerance": 2,
"shading_position": 25,
"shading_forecast_type": "daily",
"shading_forecast_sensor": "weather.openweathermap",
"individual_config": [
"prevent_higher_position_closing",
"prevent_opening_multiple_times",
"prevent_closing_multiple_times"
]
}
}
},
"context": {
"id": "01J1HJ6EJB82KS62EH0M2RC2CV",
"parent_id": "01J1HJ6EJAHZQWKNWWK5D05C84",
"user_id": null
}
},
"logbookEntries": [
{
"name": "Rademacher_Rolladen_Wohnzimmer_2OG",
"message": "triggered",
"source": null,
"entity_id": "automation.rademacher_rolladen_wohnzimmer_2og",
"context_id": "01J1HJ6EJB82KS62EH0M2RC2CV",
"when": 1719650171.4900389,
"domain": "automation"
}
]
}
Mario and I had a chat after the post. Just for information: It’s because the same contact sensor is used for lockout protection and ventilation.
But I want to give it a few more thoughts. I’ve already been asked about it several times.
Home Asisistant only triggers if one of these values is exceeded or fallen short of. Not after that. Could it be that you are already in the azimuth range, for example?
Same answer. See my post above.
CCA can just react on a trigger.
And there are no cyclical triggers.
Please show me the trace of the “t_si_1”-trigger.
today i disabled the lockout protection. But the same issue. The automation was triggered, all conditions where true. Cover didn’t close, because the door was open. So far so fine. Closed the door now, because ventialtion is over now , but nothing happens, cover is still open! here ist the trace for that: https://file.io/4JmVj0eNDCFS
Ah ok, got it. In my particular case I can realize that with additionally using a brightness sensor (which I’m currently not using) to start sun shading when when I am awake, covers are up and a certain brightness is exceeded.
This also did not work for me, attached you can find my trace i hope this can help identify my problem, thanks so much
I have found a bug.
############################################################
# ANCHOR: CONTACT CLOSED
# Source: Ventilation, Lockout
# Target: Open, Close, Shading
############################################################
- alias: "Contact sensor closed"
conditions:
- "{{ is_down_enabled }}" # Only close if it is allowed
The first condition doesn’t fit to your config.
I will remove it.
I cannot scroll your trace on the jsonblob-website on my mobile phone. I’m sorry, but you’ll have to wait until I have the computer on.
looks like that solved the problem!
thx
New Update
2024.06.29:
- Breaking change: The checkbox introduced in the last update "reset_manual_detection" has been moved to a separate selection. Please reconfigure.
- Added: Time and timeout in minutes to reset the manual override #95
- Added: Additional Actions After Override Reset #94
- Fixed: The cover may also be closed after ventilation if the down mode is not activated
- Many thanks to crandler for the ideas
Please note the breaking change:
The checkbox introduced in the last update “reset_manual_detection” has been moved to a separate selection. Please reconfigure.
By the way
- Link to “Buy me a coffee” added
- Licence added due to the new upcoming feature in Core 2024.7 “Take control over a blueprint-based automation or script”
With the current blueprint, the contact sensors no longer work for me. I have created 2 template helpers for my 3-way sensor (Homematic) for ventilation and lockout protection.
alias: Shuttercontrol - Fenster OG_3_F2
description: ""
trace:
stored_traces: 20
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.og_3_f2_rollo
auto_options:
- auto_up_enabled
- auto_down_enabled
- auto_sun_enabled
- auto_ventilate_enabled
- auto_brightness_enabled
- auto_lockout_protection_enabled
cover_status_options: cover_helper_enabled
cover_status_helper: input_text.shutter_og_3_f2_status
time_up_early: "05:30:00"
time_up_early_non_workday: "08:00:00"
time_down_late: "20:00:00"
time_down_late_non_workday: "20:00:00"
default_brightness_sensor: sensor.ms_garagentur_illuminance
brightness_up: 45
brightness_down: 42
position_tolerance: 2
workday_sensor: binary_sensor.workday_sensor
contact_sensor: binary_sensor.shutter_og_3_f2_status_griff_gekippt
ventilate_position: 20
shading_position: 35
shading_waitingtime_start: 60
shading_waitingtime_end: 900
individual_config:
- prevent_shading_end_if_closed
- allow_shading_multiple_times
sun_elevation_up: -1
sun_elevation_down: -1
contact_sensor_lockout: binary_sensor.shutter_og_3_f2_status_griff_offen
auto_shading_start_force: input_boolean.shutter_og_3_f2_switch_shading
auto_up_force: input_boolean.shutter_og_3_f2_switch_opening
auto_down_force: input_boolean.shutter_og_3_f2_switch_closing
drive_time: 45
workday_sensor_tomorrow: binary_sensor.workday_sensor_tomorrow
ignore_after_manual_config:
- ignore_shading_after_manual
auto_up_condition:
- condition: state
entity_id: input_boolean.shutter_og_3_f2_switch_vacation
state: "off"
shading_temperatur_sensor2: sensor.weatherman_sonnen_temperatur_gleitend
shading_min_temperatur2: 35
hvorragend/cover_control_automation.yaml konnte nicht geladen werden
Invalid blueprint: min and max are required in slider mode for dictionary value @ data['blueprint']['input']['override_section']['input']['reset_override_timeout']['selector']. Got {'number': {}}
…beim Erneut importieren der Blaupause