Hi kk,
I am afraid that I cannot help you. You need to invest time first to understand what App Inventor is about, then you need explain more precisely what you want to do and how.
AI2 cannot be a server host. Not for Java, C or Asp. It is a server that allows you to develop app's for Android phones using a browser. If an Android app is what you need for your home automation project, then AI2 is suitable for you.
That is all you can do with it. If you learned how to do that (see my link in my previous post) and you know Java, then you could try to setup your own server (see my other link in a previous post), the last option is for experienced Java programmers who want to help building the next version of App Inventor, or their own private offline version in order to develop apps not using the internet.
Cheers, Ghica.