Parallel execution

Hi guys - last question from me today :slight_smile:

Does Vera support parallel execution of scenes? Say I have a scene with some delays in it (scripted or through Vera’s own delays), will other scenes or events play as usual while waiting for my scene to complete?

Cheers,

Lars

Yes more than one scene can be running at the same time.

Thanks - never really got it working, but at least now I know it’s on my end :slight_smile:

Actually, a scene’s runing time is very brief. When a scene is invoked, it runs any LUA code, sets any lights/switches/etc as specified for the scene, then sets timers for the (any) actions that are delayed. During this initial scene activity, the scene cannot be interrupted. And in fact, if that takes to long, Vera will reboot. Once the timers are set, and the initial actions are complete, the scene actually ends. A new scene is then free to run (even while those timers are still running).

So if in your scene you have delayed actions (such as turning on a light 10 minutes from now), no problem. If howevr you have LUA code that has a loop (or a “sleep” command), this LUA code must complete before the scene can continue. And again, if this LUA code takes too long, Vera will reboot.