@platenspeler
Indeed really cool! Hardware is in the junkbox so ...
I am trying to compile the code as well. Your last answer solved the same issue i had, but now i get :
ESP-sc-gway:1122 error: 'setTime'was not declared in this scope
setTime((time_t)getNtpTime());
exit status 1
'weekday 'was not declared in this scope