I made an iOS app to control led lights using esp8266. I have two issues.
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.
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.
I would appreciate any comments. Thanks.
Please help