• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP Webserver: Hourly Week Scheduler

Q&A Forum › Category: ESP32 › ESP Webserver: Hourly Week Scheduler
0 Vote Up Vote Down
Michael Smirnow asked 4 years ago

Hello,
on Raspberry Pi node-red I use this hourly week scheduler which I find extrem useful:
https://flows.nodered.org/flow/3b031629c8450d2098dd3183ccf84be4/in/c8156f6276976bfb518d1e60442e01e2
Does anyone know if such a Week Scheduler exists as ESP32 Webserver Template?
Would be nice if some template Project with Week Scheduler Website to configure the Deep Sleep with external RTC exists already somewhere.. 🙂
 
 
 
 

Question Tags: Scheduler, webserver
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I’ve searched for a while and didn’t find an already made solution for what you want.
However, I found these two projects that might help:

  • https://learn.sparkfun.com/tutorials/iot-power-relay/all
  • https://harizanov.com/2015/02/wifi-thermostat-with-weekly-scheduler/

Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 4 years ago

Sharing method I use to schedule tasks:

Hour, Minute, Second Scheduler

I use system time set by NTP Server and breakdown DOW, DATE, HOURS, MINUTES, and SECONDS.  Once that is done I use conditional “if” statements to build logic for tasks.  Real time clock could be used in-place of NTP Server.

William

0 Vote Up Vote Down
Michael Smirnow answered 4 years ago

Hello Sara and William,
thank you for your suggestions, I think the sparkfun project you found Sara is exactly the code example that I need to setup the time scheduler over a wifi accesable table.
The second link to the wifi thermostat is very sophisticated, but unfortunately it is legacy because not using Arduino or PlatformIO but the  ESP8266 NONOS SDK that I don’t know. https://github.com/mharizanov/ESP8266_Relay_Board
But I like the idea of a landing main page to configure the ESP from:

Kind regards,
Michael
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi William.
Thanks for sharing your code.
Can I use it in future projects? (referencing your work).
 
Michael, I’m glad you found the links useful (I haven’t tried those myself).
 
Regards,
Sara
 

0 Vote Up Vote Down
William Lucid answered 4 years ago

Good Morning Sara,

Yes, you may use the code “Hour and Week Scheduler.”
Thank you for your interest in the code.

Best Regards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Thanks 🙂
Have a great day.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.