Hi everyone, hope you are having a good day.
I am currently using a python script to create a local server and then send commands over TCP to the ESP32 (acting as a client). The ESP32 then reads ADC data and sends data back to the PC Server. This works great on a local network, but I am stuck on how to do this remotely i.e. over the internet. I have looked into port forwarding and vpn tunneling as two options, but these seem difficult/laborious to set up.
What method would you recommend for sending data remotely from ESP32 to PC?
Thanks in advance,
Will
Remotely Send Data Over TCP from ESP32 to PC on different networks
-
- Posts: 3
- Joined: Wed Sep 22, 2021 2:33 pm
-
- Posts: 9770
- Joined: Thu Nov 26, 2015 4:08 am
Re: Remotely Send Data Over TCP from ESP32 to PC on different networks
Aside from the two options you mentioned, a third one is to work via a publicly accessible server to relay the messages.
Re: Remotely Send Data Over TCP from ESP32 to PC on different networks
Use esp rainmaker or thingspeak or a public mqtt server.
Who is online
Users browsing this forum: No registered users and 90 guests