Déclenchement programmé plus poussé (par mois par exemple)

Feature description
Je souhaite pouvoir programmer déclenchement d’une scène de manière plus flexible.

Mon exemple est le suivant:

  • Lancement de l’arrosage de Mai à Septembre tous les deux jours à 19h.

Je pense qu’un champ CRON avec l’explication qui va bien pour le remplir serait le plus simple à implémenter.

Merci

En gros, ce qu’il manque au déclenchement programmé actuelle, c’est la sélection d’un mois d’exécution, on est d’accord ?

Pour le cron, ce n’est pas la philosophie du projet, Gladys est un produit qui doit être utilisable par toute la famille, pas juste des développeurs ! Je suis d’accord qu’il manque peut-être des options, mais on les rajoutera tel que ça a été implémenté jusque là :slight_smile:

Ok pour ne pas faire de CRON ce n’est pas user friendly mais il faudrait pouvoir le faire avec l’interface graphique.

Pour cela il faut pouvoir choisir une intervalle de mois ou de plusieurs mois dans l’année et la combiner avec une fréquence de jour suivie de l’heure.

Je pense qu’il manque les choses suivantes:

  • Combiner les critères de déclenchement temporel (sans partir dans du trop complexe)
  • Choisir les mois dans l’année
  • Ajouter dans le type “intervalle” l’unité jour
1 Like

Je suis d’accord :slight_smile: J’ai retiré les mentions du CRON dans le titre.

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:

1 Like

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 ».

1 Like

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:

2 Likes

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.

1 Like