You can also use myopenhab.org with mainUI as app. Then there is no need to expose any of your devices to the internet.
See this comment to see how this works: openHAB 3.0 Release Candidates discussion - #201 by hmerk
Of course you need to configure the openhab cloud connector addon first