- Hybrid operation mode (STA & AP)
- WebSocket-based GUI
- Concurrent multi-user support
- Automatic time synchronization over NTP
- Time zone selection
- 24h on/off scheduler
- 4-channel relay switch
This project is designed to work with 4-channel relay module, which uses an onboard MCU that controlls the relays according to the commands received from ESP-01 over UART.
- Make sure that ESP8266 Core is installed in your Arduino IDE.
- Open src\GrowLight\GrowLight.ino
- Customize SSID and PWD for STA mode:
wifiMulti.addAP("ssid_from_AP_1", "your_password_for_AP_1");
wifiMulti.addAP("ssid_from_AP_2", "your_password_for_AP_2");
wifiMulti.addAP("ssid_from_AP_3", "your_password_for_AP_3");
- Customize SSID and PWD for AP mode:
const char *ssid = "GrowBox";
const char *password = "GrowBox2020";
- Set board settings
- Compile and upload the code
- Upload webserver to SPIFFS using Tools/ESP8266 Sketch Data Upload