When creating a scene I notice that there are two areas where Luup code can be inserted. First, there is the ‘Luup’ tab under the main script creation window. That one I am familiar with. My understanding is that when an event (as delineated within the ‘Events’ tab) or a timer fires, the first thing that happens is the Luup code is run. If the code returns ‘true’ the commands (as delineated under the ‘commands’ tab) execute. If the code returns ‘false’ then the commands are not executed and the scene goes back to idling, waiting for another timer or event to fire.
The second area where Luup code can be placed is Under the ‘Events’ tab. Within that tab there is a button called “Luup event”, and upon selecting that, a window where Luup code can be placed. I have not been able to find any documentation on how this area is used / utilized and how the code ther affects the completion of the scene.
Can someone explain how this area is used and what effects the code in tht area has on execution of the scene?
Thanks,
~ John