sLight

sLight 🌟

A smart IoT lamp controller based on NodeMCU ESP8266 that allows users to monitor and manage a bubble lamp using a browser-based interface. It supports both Wi-Fi and Access Point modes, and provides real-time illuminance feedback along with adjustable brightness and threshold settings.

🎬 Demo Video

Watch the demo video here: media/demo.mp4

📂 Project Structure

├── LICENSE
├── README.md
├── media
│   └── demo.mp4
└── server
    ├── client
    │   ├── index
    │   │   ├── app.h
    │   │   ├── index.h
    │   │   └── style.h
    │   ├── login
    │   │   ├── loginIndex.h
    │   │   ├── loginJS.h
    │   │   └── loginStyle.h
    │   └── register
    │       ├── registerIndex.h
    │       ├── registerJS.h
    │       └── registerStyle.h
    ├── handleFucntions.ino
    ├── server.ino
    └── utilities
        ├── eepromFunction.h
        └── manageNetwork.h

⚙️ How to Use

Prerequisites

Uploading the Code

  1. Open server.ino in Arduino IDE
  2. Connect NodeMCU via USB
  3. Upload the code
  4. Access the interface via IP address or 192.168.1.1 in AP mode

💡 Features

📜 License

This project is licensed under the GPL-3.0 License.