Thanks for the reply. I believe most of the problems I was having was due to an upgraded phone. Although the phone was restored from my previous backup it appeared as a different device with the same name in 'Devices' so didn't have authorisation. Everything appeared to be working but commands just didn't actually get sent so nothing was working. It wasn't until I tried to 'ping' in the terminal the app let me know the problem.