You can user the pusher template combined with Hype Global Behavior. This is a proven solution for that scenario given you are online with both devices. If you need a local solution you can run a custom socket server. The pusher solution is just very easy to setup up and the free plan is mostly more than enough.