How to trigger an event on another device (possibly virtual?)

Thanks for the help given here - it’s a great community!

With the help from here, I have completed the app to my requirements now and here is a link should anyone else be remotely interested in this functionality - it’s very simple (not a bad thing sometimes with code!) and does the job well.