- Uses Real Time Clock Module (RTC) instead of internal NTP *But in the future new update, they can work together
- The application doesn't broke if you don't have internet connection. Using just a internal NTP you need internet connection to init the application.
- Can schedule different days of the week and multiple times
- Can use a name for each schedule
- Friendly setup and web interface
- Doesn't need the wifi connection to work. *Is only needed to configure schedules
You'll need:
- ESP8266 Microcontroller
- Board driver CP210x (NodeMCU V2 and ESP32) or CH340G (NodeMCU V3)
- PlatformIO Core (Command line tool) or PlatformIO IDE for VSCode
- Advanced usage - custom settings, uploading to SPIFFS, Over-the-Air (OTA), staging version
# Clone this repository
$ git clone https://github.com/rafaelbds04/esp-rtc-timer.git
# Go into the repository
$ cd esp-rtc-timer
- Change board PINS connections inside
src/relay.h
andsrc/rtc.h
(if you need). - Configure name and password of wifi setup access point inside
src/wifi.h
# Build project
$ platformio run
# Upload Filesystem Image (/data folder)
$ platformio run --target uploadfs
# Upload firmware
$ platformio run --target upload
- Connect the ESP to your local network
- Login into generated access point
- Select your wifi SSID and type your SSID password
- Now you have the ESP connected to your network!
- Get ESP ip address from serial port or your router
- Open ESP ip address into your web-browser
- You already can control the schedules! 🎉
- Clone repo and create a new branch:
git checkout https://github.com/rafaelbds04/esp-rtc-timer.git -b <name_for_new_branch>
. - Send to origin branch:
git push origin esp-rtc-timer / <name_of_your_branch>
. - Submit Pull Request!
And not less importantly add a GitHub Star to this project! :D