Controlling ESP32 through the internet
Posted: Sat Jan 02, 2021 8:19 pm
Hi! I've been playing with an ESP32 board I bought in Aliexpress and I want to control the alarm of my house with it, with both wifi and bluetooth. Both methods work without problems.
I uploaded html, css and js files to the board so I can control the motion sensors, trigger the siren and check the status of the alarm through a webpage.
This only works when I'm connected to my LAN though. One way to access the board from the internet would be to redirect ports in the router so that requests made to a specific port from outside would be redirected to the ESP32, but I was wondering if anyone knows how to do this without having to configure the router. NGROK is useful for something like this but I have no idea how to use it with an ESP32. I saw that there is a library called YalerWiFiServer that does this but it's available for arduino only.
Does anyone knows how to access the board from the internet ?
I uploaded html, css and js files to the board so I can control the motion sensors, trigger the siren and check the status of the alarm through a webpage.
This only works when I'm connected to my LAN though. One way to access the board from the internet would be to redirect ports in the router so that requests made to a specific port from outside would be redirected to the ESP32, but I was wondering if anyone knows how to do this without having to configure the router. NGROK is useful for something like this but I have no idea how to use it with an ESP32. I saw that there is a library called YalerWiFiServer that does this but it's available for arduino only.
Does anyone knows how to access the board from the internet ?