The Ninja is a meta-platform that offers a normalized API for disparate hardware. See my reply above for the long winded answer. The short version is - we aim to provide OAuth for your all stuff ;)
You see, home automation seems to always do "it's own thing" in regards to industry standards, which is why I manifested myself here.
If you want to know more about building control however, you can just type "hvac control" in google and you should be in the right spot. https://en.wikipedia.org/wiki/Building_Automation
The last control company I worked for was heavily invested in the Delta controls' products. (All working on top of the BACnet protocol) Last I heard Delta also started to toy with Zigbee.
In my head there aren't mutually exclusive, as the BACnet architecture enables it to be built on top of other protocols. (BACnet/arcnet, BACnet/MSTP, BACnet/Ethernet, BACnet/IP...)
I work in HVAC controls and I'm always surprised by how the 'home automation' folks seem to just ignore what's already out there.
My favorite standard is BACnet (standard for ASHRAE, ANSI and ISO), but there's also Modbus, Lontalk...
There's a bunch of people who have already worked very hard to make sure there's some usable protocols for lighting, air conditioning and even security access.
IMO you could leverage a strong position and use existing codes by using them.