I have a critical error in the system log. Apparently the maximum length of the input helper is wrong. The strange thing is, I have six helpers and four of them give me this error, but they all have a max length of 254.
Nevertheless, everything runs without any problems
Stupid mistake on my part. You are right.
I check whether the length is <= 254.
Only < would have been smarter.
But it doesn’t matter. It’s just a precautionary measure. The automations still run, of course.
I think that you can use the ventilation feature for that.
Hi tried it
new here in this forum
here my yaml code, now i know how it works to get the code, i hope it is right as i have done it
alias: Rollade WZ
description: ""
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.rollade_wohnen
time_up_early: "06:45:00"
time_down_early: "17:00:00"
sun_elevation_down: 24
workday_sensor: binary_sensor.workday_sensor
contact_cover_place: door
contact_sensor: binary_sensor.kontakt_tur_wz
auto_global_condition: []
auto_up_condition:
- condition: and
conditions:
- type: is_open
condition: device
device_id: 36241e0c7859161b7daf5c6793e0b40c
entity_id: f475c618bd1ac5b9c5315abfae2334bf
domain: binary_sensor
ventilate_position: 40
ventilate_tilt_position: 57
drive_delay_fix: 372
drive_time: 30
check_config: false
I can’t see that venilation is enabled.
i don t know to make the mark at the top
description: ""
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.rollade_wohnen
time_up_early: "06:45:00"
time_down_early: "17:00:00"
sun_elevation_down: 24
workday_sensor: binary_sensor.workday_sensor
contact_cover_place: door
contact_sensor: binary_sensor.kontakt_tur_wz
auto_global_condition: []
auto_up_condition: []
ventilate_position: 40
ventilate_tilt_position: 57
drive_delay_fix: 372
drive_time: 30
check_config: false
auto_options:
- auto_up_enabled
- auto_down_enabled
- auto_brightness_enabled
- auto_sun_enabled
- auto_ventilate_enabled
opended the door and the cover drove up
but one other window too
have to see why
Hi Herr.Vorragend,
did you considered maybe already a situation where there is need for tilting for venetian blinds and we have no such functionality by the module itself (for example, Shelly 2.5 or Shelly 2PM).
I am using following script for tilting and it work like a charm: Home Assistant script to control venetian blinds with Shelly · GitHub
I tried to merge it with your code but I had some difficulties and it is not working for me
Could you maybe include this in the CCA as selection? For example people could tick a checkbox if they use script for tilting (script.cover_position_tilt with parameters will be called) and if not the default (cover.set_cover_tilt_position) will be used.
I think it would be useful for a lot of people.
Hi,
today (with latest version) this shutter opened at 07:18am triggered by sun
although i’ve set time_up_early: "08:00:00"
!?
Bug?
alias: "Rolladen: Emilia Tür"
description: >-
fährt nach Sonnenauf- /untergangszeiten, aber nur innerhalb des Fensters (7-9
Uhr)
Beschattung ab 18 Grad
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
shading_forecast_sensor: weather.openweathermap
sun_elevation_up: -5
time_down_early: "17:30:00"
time_down_late: "19:00:00"
time_down_early_non_workday: "17:30:00"
time_down_late_non_workday: "19:00:00"
sun_elevation_down: -8
drive_delay_fix: 5
drive_delay_random: 0
position_tolerance: 5
shading_azimuth_start: 158
shading_azimuth_end: 258
shading_forecast_temp: 18
workday_sensor: binary_sensor.workday_sensor
check_config_debuglevel: info
check_config: false
auto_options:
- auto_up_enabled
- auto_down_enabled
- auto_sun_enabled
shading_position: 25
blind: cover.rolladen_emilia_tur
time_up_early: "08:00:00"
time_up_early_non_workday: "08:00:00"
time_up_late: "08:30:00"
time_up_late_non_workday: "08:30:00"
Hmm, I have an idea, but I am not sure.
I assume that the time control looks like this for you, right?
The value is not set in your YAML. It doesn’t have to be, because then it takes the default value. Actually, that’s how it should be. At least I think so. But it doesn’t do that here. However, I can change this in the blueprint and thus ensure that the error does not occur again.
yes that’s it…
it added now time_control: time_control_input
> this should be in by default to prevent this error.
thanks!
I could enable it via additional actions. And also a checkbox to deactivate the normal actions. Unfortunately, the blueprint then becomes very complex. Many new lines in the GUI.
It is the default value in the code. But apparently it would not be adopted. Let me know tomorrow morning whether your change has fixed it.
New update online
2024.02.12-01:
- Allow input_boolean as contact sensors.
- The state of the contact sensor can be true/on or false/off
- Fixed time control bug
Hello now 2 days with this tool
but
the lid closes in the evening, but the door was open
and
when it is closed and I open the door, it does not go up
when i close it and open it again it goes up
I have installed the ventilation
so there is something missing
I think a lot of people with a shutter would like a function so that the cover doesn’t close when they’re sitting outside in the evening
alias: Rollade WZ
description: ""
use_blueprint:
path: hvorragend/cover_control_automation.yaml
input:
blind: cover.rollade_wohnen
time_up_early: "06:45:00"
time_down_early: "17:00:00"
sun_elevation_down: 24
workday_sensor: binary_sensor.workday_sensor
contact_cover_place: door
contact_sensor: binary_sensor.kontakt_tur_wz
auto_global_condition: []
auto_up_condition: []
ventilate_position: 53
ventilate_tilt_position: 57
drive_delay_fix: 372
drive_time: 30
check_config: false
auto_options:
- auto_up_enabled
- auto_down_enabled
- auto_brightness_enabled
- auto_sun_enabled
- auto_ventilate_enabled
shading_forecast_temp: 18
change this to few secs
made it to 20
once I have done it the way I have described it above
it works well,
but in summer it shouldn’t close when it’s open.
I will write my experience tomorrow
thanks
A colleague at work also gave me the suspicion that something might be wrong. But he wanted to take another look.
I took on the ventilation/lock issue pretty much blindly. I don’t use any of it.
But I’ve decided to have a tidy up here.
OK, thank you very much for the answers. That makes it a lot clearer for me.
Now I just have one question. I’ve gotten it to work so far. However, I now have the problem that when my wife lowers the blinds a little using the buttons during the day, for example because the sun is a bit blinding and the automation no longer works for exactly these roller shutters. You then neither go down to the set height in the evening nor up again in the morning.What do I have to set for this to work?
Unfortunately it didn’t help.
It opened today at 7:17 triggered by sun
If I Remember correctly, on weekend (no-workday), it worked as expected. But not 100% sure on that