- 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.
- Visual Studio Code with PlatformIO extension
- Open src/GrowLight folder in VSCode
- In src/GrowLight/src/main.cpp you can customize three SSIDs and PASSWORDs for Wi-Fi STA mode:
const char* ssid = "<your_ssid>";
const char* password = "<your_pass>";
const char* ssid1 = "<your_ssid1>";
const char* password1 = "<your_pass1>";
const char* ssid2 = "<your_ssid2>";
const char* password2 = "<your_pass2>";
-
In src/GrowLight/platformio.ini set the correct upload_port, or remove to auto-detect.
-
Build and upload the filesystem
- PlatformIO > esp01_1m > Platform > Build Filesystem Image
- PlatformIO > esp01_1m > Platform > Upload Filesystem Image
-
Build and upload the firmware
- PlatformIO > esp01_1m > General > Upload