Hello Sarah,
I would like to use an esp-now webserver standalone in a community garden. Can I run this (exellent) instruction https://randomnerdtutorials.com/esp8266-esp-now-wi-fi-web-server/ as a standalone webserver.
Kind Regards
Joe
Hi.
What do you mean by “standalone server”? Can you provide more details?
Do you mean creating the web server without access to the internet? Without a router?
Regards,
Sara
Hello Sara
Exactly, without router and internet access. In the community garden is no wifi available.
When I’m in the reach of the esp-now network, I would like to contact/login the esp_now webserver and access sensor readings as shown the ESP-NOW webserver examples.
This lesson https://randomnerdtutorials.com/esp8266-web-server/ mentions a standalone ESP8266 Web Server. It would be great if that was possible with esp8266.
Kind regard
Joe
Hi.
So, what you want is called an access point.
Take a look at this tutorial: https://randomnerdtutorials.com/esp8266-nodemcu-access-point-ap-web-server/
I’m not sure if it is possible to do this with the ESP-NOW example. If you read the conditions for the esp-now webserver project, it mentions:
“The Wi-Fi mode of the receiver board must be an access point and station (WIFI_AP_STA).”
So, I’m not sure if the webserver will interfere with that. But, you can try it. The instructions to set the webserver as an access point (no need to connect to the internet) are on this tutorial: https://randomnerdtutorials.com/esp8266-nodemcu-access-point-ap-web-server/
Read the section after the heading “Customize SSID and password”.
You just need to set an ssid and password of your choice and then use WiFi.softAP(ssid, password); to set it as an access point.
I hope this helps.
Regards,
Sara
Hello Sara,
This answer helps, I’ll give it a try. If I manage to get it working I’ll post my findings.
Thanks
Joe