Skip to content
watchingdogsPublic

About

A clock that counts down until your bedtime, reminding you of the little time left.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SleepWise

A clock that counts down until your bedtime, reminding you of the little time left.

Picture of the clock

What's this?

This is a simple project of mine where I plugged a MAX7219 to an ESP8266 NodeMCU that has MicroPython on it. The main.py file should be edited to customize the counter to your needs. I have implemented aiorepl into the library for debugging. Sometimes it works, sometimes it does not. The script uses Central European Time.

How to use

  1. Buy the necessary hardware.
  2. Flash MicroPython onto your ESP8266.
  3. Install mpremote for REPL access and file operations.
  4. Clone my repository, edit main.py to fit your needs.
  5. Transfer all the python files with mpremote, like mpremote cp main.py :.
  6. Modify boot.py in the micropython root to include something like this:
try:
    import main
except Exception as e:
    print(f"Error in main.py: {e}")
    print("Entering safe mode - REPL remains accessible") # This way REPL doesn't lock up.

Acknowledgements

Special thanks to:

About

A clock that counts down until your bedtime, reminding you of the little time left.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages