This is just an idea that I don't even know how to solve but here is the problem:
Would there be any way we could create like a virtual thing in which both: The Raspberry PI and the Gitpod Instance have access to each other? Maybe a VPN, Proxy, VLAN, etc.
We had to move the python code running on Gitpod to a local computer, but I'm 馃槥 about it.
Aha, that鈥檚 an interesting use case. We鈥檇 love to figure out how Gitpod can interact with remote devices (e.g. smartphones, Raspberry Pis, Arduino boards, etc).
Quick question, does the Raspberry Pi have internet access? If it does, I鈥檓 thinking that maybe it connect to a Gitpod workspace, e.g. by setting up an SSH tunnel, so that the workspace can communicate back to the Pi?
Your Python code just needs network access to the Pi? (I.e. no USB flashing or Bluetooth link or anything else like that?)
Maybe you can run something like localtunnel on your PI?
This article seems to be helpful https://www.pluralsight.com/guides/exposing-your-local-node-js-app-to-the-world
@jankeromnes Yeah just access to the PI, we are exposing a server on the PI.
@svenefftinge this sounds like a possible solution 馃槃 I will read more about it and post it here if I'm able to solve it.
Some options:
https://github.com/inlets/inlets -- in my experience, it is much more pleasant than ngrok/localtunnel but keep in mind it is a newer project.
https://www.zerotier.com/
The latter option is rather slick because it adds another network interface, so as far as the app is concerned, the two devices are a local network. I haven't tried either with GitPod though.
Here's an article about using inlets for it:
https://www.gitpod.io/blog/local-services-in-gitpod/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.