Skip to content
/ sLight Public

A smart IoT lamp controller based on 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.

License

Notifications You must be signed in to change notification settings

enavid/sLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

  • Arduino IDE
  • NodeMCU ESP8266 board support
  • Required libraries:
    • ESP8266WiFi
    • EEPROM

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

  • Real-time light sensor data
  • Adjustable lamp brightness
  • Light threshold control
  • Responsive web interface hosted on the microcontroller
  • EEPROM memory for Wi-Fi credentials and settings

πŸ“œ License

This project is licensed under the GPL-3.0 License.

About

A smart IoT lamp controller based on 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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published