Beautifull ambient lighting for LED strips and matrices.
For Android:
- Open Chrome.
- Navigate to http://esp_lamp.local.
- Tap "Add to Home screen."
For iOS:
- Open Safari.
- Navigate to http://esp_lamp.local.
- Tap the "Share" button.
- Select "Add to Home Screen."
Customize the application for your specific settings by editing src/constants.h.
WIFI_MODE
(0 - AP mode, 1 - STA mode)WIFI_SSID
andWIFI_PASSWORD
TIME_ZONE
(hour offset for correct work of Night Mode)MDNS_NAME
(mDNS for local network, default address http://esp_lamp.local)LED_PIN
andLED_TYPE
for your LED strip/matrix configurationWIDTH
andHEIGHT
for your configuration (count of LEDs for vertical and horizontal)MATRIX_VOLTAGE
andCURRENT_LIMIT
for your specific power supply
Ensure the following are installed:
For uploading the firmware, execute the following commands:
- For wire USB upload:
pio run -e release
- For OTA upload with default address (
esp_lamp.local
):
pio run -e ota -t upload
- For OTA upload with a custom address:
pio run -e ota -t upload --upload-port esp_lamp_2.local
To upload the file system, follow these steps:
- Make the upload_fs.sh script executable:
chmod +x ./upload_fs.sh
- For automatically building the WebUI and uploading it using OTA with the default address (MacOS, *nix):
OTA=1 ./upload_fs.sh
- For uploading OTA with a custom address:
OTA=1 ./upload_fs.sh --upload-port esp_lamp_2.local
- For Windows users use manual build:
- Build WebUI:
cd ./www
npm run build
cd ..
- Upload the file system using OTA:
pio run -t uploadfs -e ota