The error was to use 25 26 ….. I should have told you: the reasons is clear since on Esp8266 Max n. Of GPio is =16 in my code for all pin above 16 are redirected to expanders …..I have to change that ….but from the time beeing use GPio <16.
Regarding the other points I would like to keep interacting with you and try to fix all other bugs, some it is common to the Esp8266 version like the one relative to NPT time …it work but after several trials!
Esp32 library are progressing fast and I have to catch up with WiFiManager this is important I will do it next week.
Regarding logs it should work …. Check if log files are generated on Spiffs , if they are there logs normally work!
Thanks for all your contributions and …..keep in touch!