hi there! new user with experience from Fibaro and Razberry (openhab, domoticz, home genie).
I don?t really get the vera interface yet.
Is it possible to trigger a scene when home mode changes? for instance, when “night” mode is switched I want to run a scene that turn off certain devices and sets other in specific states. (executing lua)
I will answer my own post, since no one else does it 
(Probably because of the idiotic verification each time you post)
Apparently you can?t. Which is insane. Really miss Fibaro when it comes to scenes and programming.
However, there is an excellent plugin that fills this gap.
http://code.mios.com/trac/mios_house_modes_plugin
You can install the Home Modes Plugin … This will provide a Trigger for your scenes.
Also you can use PLEG it has the ability to detect the Mode change and use it in your logic.