now in this vacation I started to play again with arduino module, I had a few Wemos D1 mini boards and for the beggining I wanted to be able to turn on or off a long led strip I have in my office.
I started from the CaptivePortalAdvanced example as I like alot to not hardcode the settings, but be able to save them in the EEPROM.
I modified the homepage look and I'm very happy how it turned out, but I'm still having some problems because I don't really understand a few things (getting the server response and saving it to a varible), but first I wanted to start talking about the hostname. From the phone I first connected to the board and from another iPhone inside my wifi, I can access the ESP by http://esp8266.local but on my PC, in chrome browser I can't, only by the IP address, also on 2 android phones I can't access it by hostname, only by IP. Is this normal ?
I wanted to be able to add "nodes" to the network, and all nodes to send sensor data to the "MAIN" ESP module, which also it's sensor data to a mysql server, but the nodes I connected to the MAIN ESP module cant access the esp by esp8266.local.. only by the IP address.
I haven't tried to connect the nodes to my main router just yet, I will try tomorrow to see if I will have any luck.
My ideea was to be able to add nodes without hardcodding any IP address in the program, but let all the nodes post data to http://esp8266.local, but it seems it doesn't work ...
Anyone around to give me some help?
Here are some screenshots with the ESP interface (I haven't saved the css and js files in the SPIFFS, this will be a feature update)
Here's a short video with the button that turns my light on and off