This object is in archive! 

Increment of Time stored in a variable

Philippe Petit shared this question 4 years ago
Need Answer

Hello,

I store a "Now" time value in a variable when my mouvement sensors detect a move. I scheduled a test to compare the "Now" of the scheduled task with the value stored in my variable incremented by a value.

I do this to check if there's somebody home, and in the case of no moves since 4 hours during the day I automatically arm the alarm.

Issue is: "Now" is of type calendar and I add a double to it... There's no possibility to do a type change in the rule creator.

Any clue of how to achieve the goal ?

Thx for your help