Search found 2 matches

by henning
14 May 2021 09:42
Forum: Discussions in English
Topic: Easy Scripting App - Documentation/Example
Replies: 51
Views: 45358

Re: Easy Scripting App - Documentation/Example

Ah! Thank you! I'm on 3.1.1 and there is no setTimer / stopTimer example in my module description :)
I really like the easy scripting module as it gives a lot more flexibility in creating complex rules.
by henning
13 May 2021 16:41
Forum: Discussions in English
Topic: Easy Scripting App - Documentation/Example
Replies: 51
Views: 45358

Re: Easy Scripting App - Documentation/Example

Hi folks, sorry if that sounds stupid, but how can I set a global variable in the Easy Scripting scope? I want to trigger a delayed action and be able to reset the timer, if the state of the device changes again. eg: ### ZWayVDev_zway_1-2-3 // Foo vdev if(timerHandle === 'undefined') { var timerHand...