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

New Update

2024.09.25:
  - Fixed: Shutter up in the morning while Resident asleep #145
  - Fixed: Some warnings
  - Minor clean-up work
1 Like

I have added workday schedule so will see what happens tomorrow. Is this right?

How do a set the late open time?

Simply scroll down a few millimeters.

Ok, sorry for my incompetence but I want to learn… Here is the action that allowed the shutters to be opened this morning. As desired in my automation, when the elevation of the sun is 0. To provide the trace, I must therefore select this action and click on “download the trace” at the top right?

If it’s OK, I will transmit the trace of a shutter that worked and that of the one that does not work by selecting the action at the same time for both.

sorry I meant how can I toggle between the 2 settings. Would like a virtual switch that says something like snooze and that delays the blinds until the second time option.

Thank You

Everything is described correctly.
You can also jump back and forth between the traces. But note my second post at the top, because you can increase the number of traces.

Debugging:

At this point, I would like to mention that it is possible to increase the number of traces. The following lines must be added to the respective automation in the YAML code.

trace:
  stored_traces: 20

See also: Troubleshooting automations - Home Assistant

Does it perhaps make sense to configure this in the Workday sensor rather than in CCA? That’s what it’s there for.

And you can use different times in CCA based on the configured working days.

Thank you not sure but will take a look :+1:

Ok, so you can find here the trace of the shutter that didn’t work at 7:46am
Shutter KO
and the trace of the shutter that working fine at the same time (time of sun elevation 0 for me…)
Shutter OK
I can see difference between both but i can’t explain…

Your own condition does not allow the roller blind to be raised.

      "auto_up_condition": [
        {
          "condition": "state",
          "entity_id": "input_boolean.salon_occupe",
          "state": "on"
        }
      ],
1 Like

Ok ! i’ll check tomorrow morning ! I’ve desactivated this condition…it was a mistake for this shutter… :stuck_out_tongue:

Hello,
I am quite new to Home Assistant and really appreciate your blueprint, which offers nearly everything which I could wish for.
I’ve got a problem with the elevation control for opening the covers.
I am using a time schedule helper and set up the early and late times just like documented. Between those times, I’d like to shutters to open in the morning and close in the evening, according to sun elevation, or to the scheduled time, whatever comes first.
This works great in the evenings, but in the morning only the scheduled time works, not the elevation.
I can see both events and tried to follow them in the trace, but only the scheduled time leads to the shutter to be opened.
Please help! :grinning:
In addition to that, what I am missing is an additional action which would be triggered by CCA ‘before’ closing the cover, at the moment there are only actions which trigger afterwards. And the conditions only seem to work as additional triggers, as far as I understood the documentation.
What I need is a blocker, which blocks the shutters from being closed until a certain state was reached, which optimally should also be analyzed and changed by CCA.
I’ve got roof windows with blinds. Closing the blinds prior to closing the window would cause scratched. So prior to closing the blinds, I need to check if the windows are closed, and close them in case they are not. Then, when they are closed, the windows can be closed.
Is this already possible with CCA somehow?
Thanks in advance for your support!

Sorry for my lack of ability :crazy_face: Please bear with me I’m just getting to grips with HA which looks like the answer to all things smart home :+1:

In the time control config I have set the sensor for workday today to look at the workday sensor integration.

In automation options have only got the first 2 options ticked

Enable generic automatic opening of the day in the morning
Enable generic automatic daily closing at the end of the day

The blinds don’t open in a morning.

The blind to shut at sunset if I open them or at least I think they do.

If I had the blinds opening and closing properly that would be great. However after that I can’t seem to link the workday integration to help my snooze concept to delay opening times. I could use the snooze virtual button to turn off the integration and after a set time enable it again, but how would this trigger the CCA automation to open the blind?

Would like to stick with this integration as it seems very comprehensive also I can move on from my somfy roller blinds to the velux windows and blinds and probably the elevation or an external lux sensor.

May thank in advance of all your support.

I do not understand the tweak meanings of the resident sensor. Do i need to check them to have the function working as described?

Yes. I can revise the description in the next update.

1 Like

Thanks! And thanks in general for your work on this. Coming from FHEM and the shutter automation was really an issue after migration. But with CCA it is much better than ever!

I also come from FHEM and have always tried new solutions. Until I saw the blueprint from Eimel and felt like developing my own blueprint.

But I can’t test everything because I don’t use various functions myself.

1 Like

Hardly anyone uses the scheduler. Maybe there is still a bug. Show me a trace, please.

Conditions are not triggers.

The additional conditions are simply executed after the scroll commands.

I’ve had your wish before. I’ve always resisted it so far.

But slowly more and more questions are coming in this direction.

Is it possible to work with the window contacts in CCA here? Or via additional conditions?
However, I don’t want to be responsible for any hardware damage in the event of a bug.

Phew, I don’t even know where to start with you.

You could show me a trace of the trigger where it did not start up. Then I can check whether an incorrect configuration is the cause.

You could use the configuration of the Workday integration to define your working days.

And in CCA you then set different times for days off and working days.

Yes i know, i also started with Eimel’s Blueprint but it had always issues. Your fork is very powerful and already better than ACS. But i still struggel with the perfect Sun Shading behaivor since started with ACS. This year the summer is over, so i will see it next summer with your last improvements. Anyway keep on your work on this :slight_smile: