Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/WLAN_Thermometer/commit/e86c9126ee7a4560fc895b54fc1f9d3f62b84ff3?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
2 deletions
WLAN_Thermometer.ino
@ -1,3 +1,6 @@
// Compiling:
// ESP32 Wroover Module
//
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
//#define _WIFIMGR_LOGLEVEL_ 4
//#define _WIFIMGR_LOGLEVEL_ 4
//#define DEBUG 1
//#define DEBUG 1
@ -143,7 +146,7 @@ void setup()
lcd . setCursor ( 0 , 3 ) ;
lcd . setCursor ( 0 , 3 ) ;
lcd . print ( " Getting time... " ) ;
lcd . print ( " Getting time... " ) ;
DateTime . setTimeZone ( 1 ) ;
DateTime . setTimeZone ( " UTC+1 " ) ;
DateTime . setServer ( NTP_SERVER ) ;
DateTime . setServer ( NTP_SERVER ) ;
DateTime . begin ( NTP_TIMEOUT ) ;
DateTime . begin ( NTP_TIMEOUT ) ;
/* while (!DateTime.isTimeValid())
/* while (!DateTime.isTimeValid())
@ -197,7 +200,7 @@ void loop()
if ( ! DateTime . isTimeValid ( ) & & millis ( ) - 10000 > next_time_check )
if ( ! DateTime . isTimeValid ( ) & & millis ( ) - 10000 > next_time_check )
{
{
next_time_check = millis ( ) ;
next_time_check = millis ( ) ;
DateTime . setTimeZone ( 1 ) ;
DateTime . setTimeZone ( " UTC+1 " ) ;
DateTime . forceUpdate ( ) ;
DateTime . forceUpdate ( ) ;
if ( is_wintertime ( DateTime . getTime ( ) ) = = false )
if ( is_wintertime ( DateTime . getTime ( ) ) = = false )
add_summertime = 1 ;
add_summertime = 1 ;