Scheduled triggering with more advanced (e.g., monthly) settings

Feature description
I would like to be able to schedule the triggering of a scene in a more flexible way.

My example is as follows:

  • Launch of watering from May to September every two days at 7:00 p.m.

I think a CRON field with the explanation to fill it in would be the easiest to implement.

Thank you

In short, what’s missing from the current scheduled launch is the selection of an execution month, right?

For cron, that’s not the project’s philosophy. Gladys is a product that should be usable by the whole family, not just developers! I agree that maybe some options are missing, but we’ll add them as they have been implemented so far :slight_smile:

Ok to avoid using CRON it’s not user friendly but it should be possible to do it with the graphical interface.

To do this, it should be possible to choose a month interval or several months in the year and combine it with a day frequency followed by the time.

I think the following are missing:

  • Combine the time-based triggering criteria (without going into something too complex)
  • Choose the months in the year
  • Add the unit « day Â» in the « interval Â» type

I agree :slight_smile: I removed the mentions of CRON from the title.

Little bump !!

[quote=« ArMour85, post:3, topic:6358 Â»]

  • Add the « day Â» unit to the "

You can see they’re working the stages right now, @Tlse-vins is going to dethrone @Terdious :crown:

My scenes are still fairly basic, but little by little I’m adding specific details.
I’ll leave the title of Mr. Scenes to @Terdious.

Hehe !!^^
Honestly, I think I haven’t had the title for a while; many people have made good progress in scene management. As for me, I haven’t done any more since @VonOx so graciously gave me this title ^^ :sweat_smile:

I’m waiting for major changes (for me) before continuing.

What’s the trash collection schedule in your city? Is it fixed by week? (like Tuesday and Friday?)

If so, you can create an « every week Â» schedule:

Programmer une scène | Gladys Assistant.

If not, if the schedule is more complex, I recommend handling it via your calendar, and adding the dates of your bin pickups there as recurring events.

Then, use the trigger « a calendar event is coming Â» to receive an alert at that time:

That’s exactly what I actually did.
I also thought of the calendar idea.

For example for watering every 2 days.

In that case why not put « Monday, Wednesday, Friday, Sunday Â»?

Watering is typically something that should be done in the evening when it’s dark; the interval doesn’t allow choosing the time and isn’t designed for that kind of use!

Yes, there are several ways to set that up.

It’s true that if you add a « day Â» interval there is no way to choose the trigger time. It’s better to go with « every week Â».

I’m bringing the topic back up, because I also find that some periodicities are missing.

I’m thinking in particular

  • about even/odd weeks.
  • being able to select months (every 2nd of the month: January/February/March)

In intervals add day for every 2 days (yes you can use 48h but it’s less clear)

Basically I think

I think a good way to do that right now is to use the Calendar in Gladys:

  • You connect a CalDAV calendar in Gladys (Google Calendar, Apple Calendar, or even free services like fruux — it works very well)
  • In your calendar, you create your events. Imagine you have a « foot Â» outing every other week, you create an event that repeats every 2 weeks, for example in Apple Calendar:

  • In Gladys, you create a scene that triggers on a Calendar event:

this lets you make a scene that triggers 30 minutes before the start of your « foot Â» event that repeats every other week :slight_smile:

I think the calendar is often more convenient for scheduling tasks, and then you have a « fixed Â» scene that never changes.

What do you think @McFlyPartages? :slight_smile:

So yes, but a home automation system that constantly depends on external services isn’t great from my point of view.

To me, a home automation system must be able to withstand an internet outage — well, except for the weather lol.

But you’re right, the calendar can be very useful and customizable, for example from a local nextcloud, worth looking into, but not suitable for the average person.