Skip to content
 
 

Latest commit

 

History

134 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Badge Static Badge

GitHub Repo stars

Welcome to the page of my (W.I.P.) project called

Alt Text

which is a smart clock that connects to a NTP server to get the current time. It uses a ESP8266 (devboard: Wemos D1 mini, soon i will make it work also for ESP32).

Alt Text

Alt Text

(ESPclock BOLD coming soon... 😉)

📜 INSTRUCTIONS

  1. Install VSCode or VSCodium (i prefer VSCodium because it basically is VSCode but without telemetry);

  2. Install PIOarduino extension on VSCode/VSCodium;

  3. Download the latest .zip file that you can find in the "Release" section, extract it, then open in VSCode/VSCodium the ESPclock project directory;

  4. Select the PIOarduino extension in VSCode/VSCodium, then you have to store the html page into the esp8266 flash memory in two steps:

    1. Platform -> Build filesystem image
    2. Platform -> Upload filesystem image
  5. Now lets upload the C/C++ code. Again from the PIOarduino extension in VSCode/VSCodium, go to:

    1. General -> Build
    2. General -> Upload
  6. Now let's connect PC or mobile to the ESPclock access point, with the password: waltwhite64

  7. After connecting to the ESPclock's AP, open your browser and paste in the address bar: http://192.168.4.1/

  8. From the web UI, first add your home network, then the NTP server that matches your region, plus the GMT/UTC offset hour(s).

  9. And we're done! Hope that you liked my project! If you have any suggestions, let me know!

📱 WEB UI

Alt Text

🤖 FEATURES

  • Asynchronous webserver
  • Automatic Wifi Scan
  • Wifi and NTP server setup via web UI
  • Save/delete configuration (to restore data after reboot)
  • Automatic Brightness mode
  • Blinking colon toggle

🧰 NEW FEATURES TO ADD

  • 🔳 ESP32 port
  • 🔳 Replace NTPclient.h with ESP standard NTP functionality (no libraries to include!)
  • 🔳 Alarm clock mode with buzzer
  • 🔳 Display uptime in webUI
  • 🔳 Adding 1 or 2 buttons to the case
  • 🔳 ESPhome or Homeassistant integration
  • 🔳 HA support
  • ...

🛒 PART LIST

🔌 ESP8266 WIRING (Wemos D1 Mini 3.0.0)

Alt Text

Alt Text

Alt Text

🪛 HOW TO ASSEMBLE ESPclock

Alt Text

❤️ SUPPORT

If you liked the project and want to financially contribute, you can buy me a coffee!

Paypal Badge Static Badge

⚠️ TROUBLESHOOTING

There are (at the moment) two errors that can be displayed from the 7-segment display:
  • Err0 -> when "LittleFS.begin()" fails
  • Err1 -> when "index.html" doesn't exists in flash memory (user forgot to upload it)

About

Firmware and circuit diagram for ESPclock. Case files and part list can be found on MakerWorld

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages