11

Create timer without task

It would be a good solution to be able to create timers without needing to create additional tasks.

3 replies

What do you mean? Can you clarify?

In my home automation, when I turn on a light I would like to have the time when the light was switched on in real time.

To do this at the moment imposed a variable in Ms, and I have a dedicated task to calculate the difference between the current time and the variable set.

To do this, I had to create profiles and dedicated tasks for each light. It is not the best of methods. It would be nice to set a time variable that already contains the time difference. I hope I was clear.

In my project I set a specific Alert to know for example when a light stays on more than 60 minutes.

In my home automation, when I turn on a light I would like to have the time when the light was switched on in real time.

To do this at the moment imposed a variable in Ms, and I have a dedicated task to calculate the difference between the current time and the variable set.

To do this, I had to create profiles and dedicated tasks for each light. It is not the best of methods. It would be nice to set a time variable that already contains the time difference. I hope I was clear.

In my project I set a specific Alert to know for example when a light stays on more than 60 minutes.

Sorry if I'm missing something, but shouldn't you just use the wait action?

My concept is new system for new type of variables..

Without task variables global %timedifference

Hope You understand me