Thank you for the reply.
gecko wrote:kirhim wrote:1. My home ip address is some thing like 192.168.110.143. I tried the iOS app to control the led lights and it works well. But I notice that my ip changes frequently. So, say I try to do the same task the next day but it won't work because the ip changed to something like 192.168.110.50. Can I make my ip fixed? so it won't change.
What you need is a static ip address, usually a paid option that you have to take up with your ISP.kirhim wrote:2. I notice that in order to control led light using esp8266, my computer or device has to connect to the same wifi that I connected the esp8266. In this case, I have no problem controlling led light at home(when connected to the same wifi) but when I am away from home I am connected to a different wifi and I can't control my lights.
Once you have a static ip address, you may then set your ISP modem/router to port forward to your ESP8266. This will allow you to access the ESP8266 from anywhere with Internet connection. There are a lot of tutorials out there for port forwarding. Apple Extreme routers ($$$) are the easiest, in my opinion.
Good luck.