One Solution to setup new iot devices. Using Web Server to help user easily type in wifi and mqtt credentials.
The following things are required:
- Platform IO or Arduino IDE
- ESP32
- MQTT Broker
Instruction:
- Choose COM port (PlatformIO)
- Upload Filesyste Image to the ESP32 SPIFFS (PlatformIO)
Terminal Output:
- Upload Program to ESP32 (PlatformIO)
Terminal Output:
- Start Serial Monitor and wait for WebServer and IP
- Login to AP.
- Open Browser. Type in IP shown in Serial Monitor. Submit Inputs and wait for result.
Success:
After success, esp will restart after 5s.