So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Hairyloon
#85377 I want to set up an ESP as an access point, and put a web page (or pages) on it so that visitors can log in and see the information.
I think it ought to be easy, but I'm struggling, possibly because I have a defective module, but I'll deal with that in another post.

What I want it do do is to display the welcome page as soon as somebody connects to the AP, or if it is not too difficult, to display a different web page if it recognises a repeat visitor.

Any top tips?
User avatar
By Hairyloon
#85495 Thanks. It's a lot easier to search for a thing when you know what the thing you are searching for is called.
I found this: https://yoursunny.com/t/2017/freewifi/
It works fine when I connect by phone, but not so well by PC. Might be my PC...

What I want to do is to provide a form, and save the replies on the ESP, whether in the SPIFFS or an SD card.
I haven't tried yet, so I'm not stuck yet, but...
User avatar
By Hairyloon
#85523
Pablo2048 wrote:Search for "Captive portal" as an starting point. Did you choose the development environment already?

Thank you and sorry for the delay, I thought I'd posted a reply days ago...

It's a lot easier to search for a thing when you know what the thing is called. I found this https://yoursunny.com/t/2017/freewifi/ and got it partly working.

I want to set it up so that users can fill in a form and the ESP saves the information as a file. I don't think that should be too difficult, but I'm new to this game, and having to learn HTML as well to make it work...

I'll let you know how I get on, but feel free to give tips.

I'm using the Arduino IDE, but it is beginning to annoy me greatly, so I may look at changing.