Thursday, 10 September 2020

How do I interact with local network devices from a server?

I'm building an application that automates my Xbox One to turn on a user-defined times. My project is using Node, Express, Firebase, Google Cloud Functions/Tasks.When the user adds a time to the front-facing web app, it is persisted to a Firestore collection, then a function in my app is triggered by this insertion. This trigger function creates a Cloud Task which upon the occurrence of the time defined earlier, executes a handler function which should interact with my Xbox. This is the part I am struggling with.I can interact with the xbox when I run the code locally, but when the code is deployed to Google's servers, its on a different network clearly and can't talk to my Xbox. How can I send those instructions through to my device on my own network? Is this an application for sockets?

Submitted September 10, 2020 at 04:37PM by Colin_Sack-or-Pick

No comments:

Post a Comment