A smart app creates all of the rest endpoints for the devices, this handles manual fetching and querying of the devices. The smart app also subscribes to the device events and logs them to a firebase instance. I have built a web app that runs on ruby on rails that is running on a small virtual server that handles authentication and the web interface seen in the demo videos. I created an api client on the rails server that can handle importing of devices into the webapp.
The data from the firebase instance is moved into a local mysql server every three hours, at this point I am using the hacker version of firebase which is free.
The webapp has been designed from the beginning with multiple users in mind. I plan on providing a hosted version and an open source version that anyone can download and run.
The way it works now is you create an account on my webapp, there are a number of available services that you can connect to and import devices from. The webapp provides an oauth flow that lets you select which devices you would like to allow and then imports them into a database. After you have some devices you can create locations and zones. You sort your devices into the zones and give them friendly names. After you have completed those steps, you get what you see in the videos.