What is the best hub with an open and local API? : homeautomation

I’m a software developer, so I will be doing a lot of programming on my own. I want a good hub that can support the major protocols (Z-Wave, Zigbee) and possibly Lutron as well. I don’t want my device connected to the cloud. I want full local control. Something with a nice API or published SDK would be ideal.

So far the only thing I’ve found that comes close is the Vera Plus. But I really want to see what other options there are first.