Extended the test app

I add more functionality to the test app, to more device control without
having to know the the device id's, the app will also work outside the
home network, if you open the port in your router.