Skip to content

Lyon-Zovey/M5Stack_Smart_Light_Control_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5Stack Smart Light Control Project

Description

Ever come to the office in the morning… only to find the lights have been on all night? Our lights aren’t smart bulbs. No smart switch. No remote control. If you want them off – you literally have to push the wall switch by hand.

So – we built our own Smart Light Control ⚡

Powered by AtomS3-Lite core controller Paired with Atomic ABC Base to drive 5 servos Unit TimerPWR for timed power cycles & long battery life Custom 3D-printed mount, designed to fit multi-gang switches & still allow manual control Connected to EzData Cloud Service for weekly remote on/off scheduling Every day, it wakes → syncs schedule → flips the switch → reports battery → sleeps again. Just a few parts, some code, and now… any regular light can be “smart”.

Project Structure

├── lib
│ ├── Config_parse -> The configuration analysis of the switch on and off light schedule
│ ├── M5Unit-TimerPWR -> Driver library for TimerPWR
│ ├── NTP_server -> Used to configure the NTP service
│ ├── NVS_save -> Store the configuration in NVS
│ ├── Network_manager -> Network related configuration
│ └── Servo -> Servo drive library
├── src
│ └── main.cpp -> Main function logic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors