I think you need to develop an interface between your home automation system and LMCE. The easiest way to do that IMHO create Generic Serial Device - GSD. Try to search 'Ruby' or 'GSD' in the wiki. Basically, all logic in that case processed by embedded Ruby interpreter. So, you should develop all login using Ruby and predefined functions and data structures.
When you do that you'll able to send commands from LMCE to your system and and vice versa.
thanks for info. I know pretty much about that, but I'm still curious how to instantly query what is current house state (is it written somewhere in sql database, or can I send some DCE query and receive response, or...) and what DCE data,events and commands are related to security matters....
So basically I know how to receive or send events, but don't know what events to capture and what actions to send - and also how to see current security state. All this could be extended also to other features of LMCE...
Thanks in advance,