A competitor, Samsung SmartThings has sandboxed-app system.
It enables users to operate IoT machines with groovy based programming language.
Things Gateway also can control IoT machines, but its simple rule-based system. It is currently losing point and improvable feature.
I'm very excited with Things Gateway philosophy, so I can't wait for its next evolving.