Comments on: ESP8266 example: Wi-Fi Access point, static IP, web-server and remote GPIO control https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/ Hobby robotics and electronics with Arduino, ESP82666 and Raspberry Pi Fri, 07 Feb 2020 14:36:47 +0000 hourly 1 https://wordpress.org/?v=5.6.11 By: Fred https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-312907 Fri, 07 Feb 2020 14:36:47 +0000 http://42bots.com/?p=1911#comment-312907 Hey,

Can you remove the below form your code? it does not compile 🙂 Outta help people….

** For more details see http://42bots.com.
*/

]]>
By: PhilB https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-304507 Sat, 26 Oct 2019 20:17:19 +0000 http://42bots.com/?p=1911#comment-304507 brilliant and clear – thanks

]]>
By: Chris https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-289792 Tue, 02 Apr 2019 18:31:58 +0000 http://42bots.com/?p=1911#comment-289792 Hi
Just what I looking for, a foot up to finding out about ESP8266 control over the net. Thank you.
Tried to compile the sketch as it is but got an error on this line
IPAddress apIP(42.42.42.42); // Defining a static IP address: local & gateway
// Default IP in AP mode is 192.168.4.1

The error says ;
exit status 1
too many decimal points in number

Any ideas?

Thanks again for your tutorial.

]]>
By: Jamshid https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-286697 Sat, 09 Feb 2019 16:38:18 +0000 http://42bots.com/?p=1911#comment-286697 Hi,
Thanks for your help. I uploaded the above code and created an access point with web server on it successfully. Now, if I want to send some commands remotely via WiFi, e.g. sending commands or data from my distant laptop/phone to the arduino/ESP8266 in order to control the sensors, what should I do?

Best, Jamshid

]]>
By: kim https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-285424 Fri, 18 Jan 2019 11:25:34 +0000 http://42bots.com/?p=1911#comment-285424 Great tutorial, worked first time. Thank you.

]]>
By: guillermo https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-280692 Sun, 02 Dec 2018 15:41:05 +0000 http://42bots.com/?p=1911#comment-280692 Great tutorial, worked first time. Thanks

]]>
By: pavlos https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-279304 Thu, 22 Nov 2018 13:20:41 +0000 http://42bots.com/?p=1911#comment-279304 I’m not getting the http://42.42.42.42 you mentioned.
I get an ip which is within my network. I can access using 10.0.0.44

06:11:01.070 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
06:11:01.070 ->
06:11:01.070 -> Configuring access point…
bcn 0
06:11:02.888 -> del if1
06:11:02.888 -> pm open,type:2 0
06:11:02.888 -> add if1
06:11:02.888 -> pm close 7
06:11:02.888 -> dhcp server start:(ip:42.42.42.42,mask:255.255.255.0,gw:42.42.42.42)
06:11:02.888 -> bcn 100
06:11:02.888 -> AP IP address: 42.42.42.42
06:11:02.888 -> HTTP server started
ip:10.0.0.44,mask:255.255.255.0,gw:10.0.0.1

]]>
By: Carrot https://42bots.com/tutorials/esp8266-example-wi-fi-access-point-web-server-static-ip-remote-control/#comment-272302 Sat, 22 Sep 2018 20:58:42 +0000 http://42bots.com/?p=1911#comment-272302 Thank you for the answer to life, the universe and everything! 😉
At last I manage to change annoyed 192.168.4.1!

]]>