Remote click on a project

i have the idea to let someone login to a page (connexion to sql database) and then remotely start and stop (or interract with) an hype project from a connected device (phone or tablet) … i would like to know how to get connection with hype if i send a boolean or a value to a variable via php or javascript ?

What is the best technique ?

Concrete exemple : i will let a user connect to login page than access a button on another page this button will launch or stop an hype animation …

Any idea ?

Thanks

I played around with node.js and socket.io a while ago.

You could listen for a button press in a mobile app and get this to trigger something on the web app.

It all worked but I don’t have access to the project anymore.

Thanks for your help. i Am preparing a demo then we can make it clear for everyone