The problem is when I want to talk to the esp module from the internet. I have opened a port in my router and I'm forwarding it to the esp. But there's no encryption and no password, no security whatsoever, so anyone on the internet can turn the lights on and off.
I guess I can have the esp module prompt the user for a password upon a new connection request, but then the password would travel unencrypted over the web, etc. So I guess I'm looking for some sort of ssh equivalent for esp.
Or perhaps I can have the router forward the open port not directly to the esp, but rather to a linux ssh server that can handle authentication and encryption, and have the ssh server execute commands on the esp? For that to work, roboremo running on my android phone should behave like and ssh client, i..e encrypt connections.
Any thoughts? Existing solutions?