Skip to content

Sitebase/wake-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preview clock

Wifi connected wake clock

Simple wake clock to indicate to my son when it's okay to wake up. I've used a ESP8266 as controller for this clock. For more details about the project check out my blog post.

States

  • Day
  • Sleep
  • Doze
  • Wake

Improvements

  • Use some sort of dynamic sleep. Were we calculate the seconds to the next state. Halve it and use that as the next sleep cycle time. The halving is because of the drifting that the RTC of ESP8266 does so it's not really accurate.
  • Better configuration for the mode timings. Maybe let the wake clock fetch them from a online config file.

Problems

  • GPIO16 and GPIO13 didn't seem to work with pull up

Credits

Some of the code is inspired on the Okay-to-Wake Clock by Mike Szczys.

About

Snooze and wake time indicator for kids

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages