will RIIR later, now my garden dries out, need to do it fast!
https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
https://deepbluembedded.com/esp32-adc-tutorial-read-analog-voltage-arduino/
[ x ] Connect relay switch and make it work
[ x ] Connect moisture sensor and make it work
[ x ] Connect RTC and make it work
[ x ] RTC: sync time
[ x ] RTC: use interrupt to wakeup schedule
[ x ] Make communication between tasks
[ x ] add schedule
[ x ] Convert 12V AC to 5V DC
[ x ] Assemble in the case
[ x ] Enable wifi
[ ] Start webserver to control
[ x ] Q&D POC
[ ] authorization
[ ] cool REST API
[ ] https
[ ] cleanup webserver code
https://www.sigmaelectronica.net/wp-content/uploads/2018/04/sen0193-humedad-de-suelos.pdf
RTC handling taken from: https://github.com/nopnop2002/esp-idf-ds3231