This is a programmable electric outlet to turn the coffee maker up in the morning.
Here a Tester task send fake commands to the queue cycling thru Idle, ForcedOn and Scheduled. These are the commands users send via the HTTP interface.
The other 5 tasks running are:
· Display (updates OLED)
· StateMachine (monitors commands and time events and produces the state changes)
· NetTime (sync with NTP every 15 min)
· InternalTime (keeps internal time running)
· WebServer (handles user's HTTP request)
MCU is Espressif ESP-WROOM-32 (aka NodeMCU-32s)
OLED is SH1106
Repository at github.com/maurogull/cafetime-freertos-esp32