NimmLor / esp8266-fastled-iot-webserver

A universal software for all my LED projects, with many awesome features
https://www.thingiverse.com/surrbradl08/designs
GNU General Public License v3.0
366 stars 94 forks source link

cannot access webpage #197

Closed ve3sjk closed 2 years ago

ve3sjk commented 3 years ago

I am using the in development branch since the release gave me the error on debug message about passing too many parameters.

I have the software flashed into 2 different d1 mini units and only get timeouts when trying to go to the webpages of the unit. This is the debug output of the first unit, the second is the same with the exception of the IP address being different. I followed the instructions to the T and did the spiff flash as well but neither unit is accessible via webpage in both case the matrix turns to all light blue and does nothing else.

Can you point me to where i did something wrong in the setup to cause this.

< 12:29:14.985 -> DEBUG [191]: Loading config 12:29:14.985 -> 12:29:14.985 -> DEBUG [192]: System Information: 12:29:14.985 -> DEBUG [192]: Version: 4.5 (2020-02-14) 12:29:14.985 -> DEBUG [192]: Heap: 36592 12:29:14.985 -> DEBUG [193]: SDK: 2.2.2-dev(38a443e) 12:29:14.985 -> DEBUG [194]: Boot Vers: 6 12:29:14.985 -> DEBUG [196]: CPU Speed: 80 MHz 12:29:14.985 -> DEBUG [199]: Chip ID: 13638900 12:29:14.985 -> DEBUG [202]: Flash ID: 1458392 12:29:14.985 -> DEBUG [204]: Flash Size: 4194304KB 12:29:14.985 -> DEBUG [207]: Vcc: 65535 12:29:14.985 -> DEBUG [209]: MAC address: 3C:61:05:D0:1C:F4 12:29:14.985 -> 12:29:15.038 -> wm:[1] AutoConnect 12:29:15.038 -> wm:[2] Setting WiFi hostname 12:29:15.038 -> wm:[2] Connecting as wifi client... 12:29:15.038 -> wm:[2] setSTAConfig static ip not set, skipping 12:29:15.038 -> wm:[1] Connecting to SAVED AP: graveyard1 12:29:15.566 -> wm:[1] connectTimeout not set, ESP waitForConnectResult... 12:29:17.441 -> wm:[2] Connection result: WL_CONNECTED 12:29:17.441 -> wm:[1] AutoConnect: SUCCESS 12:29:17.441 -> *wm:[1] STA IP Address: 192.168.1.245 12:29:17.441 -> INFO: Wi-Fi connected 12:29:17.441 -> DEBUG [2578]: SPIFFS contents: 12:29:17.441 -> DEBUG [2586]: FS File: /css/bootstrap.min.css, size: 121093 12:29:17.441 -> DEBUG [2587]: FS File: /css/dark-mode.css, size: 1350 12:29:17.441 -> DEBUG [2594]: FS File: /css/minicolors.min.css, size: 96597 12:29:17.441 -> DEBUG [2596]: FS File: /css/styles.css, size: 1392 12:29:17.441 -> DEBUG [2600]: FS File: /favicon.ico, size: 4286 12:29:17.441 -> DEBUG [2605]: FS File: /fonts/glyphicons.woff2, size: 18028 12:29:17.441 -> DEBUG [2610]: FS File: /images/atom196.png, size: 3889 12:29:17.441 -> DEBUG [2614]: FS File: /images/github.ico, size: 6518 12:29:17.441 -> DEBUG [2619]: FS File: /images/surr.png, size: 1897 12:29:17.441 -> DEBUG [2624]: FS File: /index.htm, size: 9706 12:29:17.441 -> DEBUG [2628]: FS File: /js/app.js, size: 16150 12:29:17.441 -> DEBUG [2633]: FS File: /js/bootstrap.min.js, size: 37045 12:29:17.441 -> DEBUG [2636]: FS File: /js/dark-mode-switch.min.js, size: 492 12:29:17.441 -> DEBUG [2645]: FS File: /js/jquery-3.1.1.min.js, size: 86709 12:29:17.441 -> DEBUG [2648]: FS File: /js/minicolors.min.js, size: 15463 12:29:17.441 -> DEBUG [2652]: FS File: /settings.htm, size: 10129 12:29:17.488 -> 12:29:17.488 -> DEBUG [2679]: FS Size: 1953282KB, used: 438999KB, 22.47% 12:29:17.488 -> 12:29:17.488 -> DEBUG [2680]: Arduino Core Version: 12:29:17.488 -> DEBUG [2681]: Enabled Features: 12:29:17.488 -> DEBUG [2681]: Feature: mDNS support enabled 12:29:17.488 -> DEBUG [2683]: Feature: MQTT support enabled (mqtt version: 4) 12:29:17.488 -> 12:29:17.488 -> DEBUG [2689]: Configured device type: LED MATRIX (1) 12:29:17.488 -> DEBUG [2693]: NUM_LEDS: 360 12:29:17.488 -> DEBUG [2696]: BAND_GROUPING: 1 12:29:17.488 -> DEBUG [2698]: PACKET_LENGTH: 30 12:29:17.542 -> INFO: HTTP web server started 12:29:17.788 -> DEBUG [3005]: Stats: 11 frames/s, frame delay: 2550 us 12:29:17.788 -> INFO: WiFi Connected! Open http://192.168.1.245 in your browser 12:29:17.788 -> INFO: mDNS responder started. Try to open http://LEDs.local in your browser

ve3sjk commented 3 years ago

I gave up, time to look for a better solution. I tried this software on 4 different D1 Mini boards, all of which work perfectly with matrixGFX demo and single string demos. This software compiles and flashes fine, connects to internet but most of the boards will not connect to the webpages and none of them would do anything but flash the 1st led in the string. I did get 1 board to give me access to the webpage but it had no effect and was not controlling anything. As far as I am concerned this software does not work on the D1 mini board i tried setting up for led matrix which did not work i even tried the same board with a generic setting for a 300 led string and it did not work, all tests where via the board and the leds running off a 20 amp 5 volt supply. I flashed matixGFX demo back into all the boards and everyone of them run the matrix as expected. There is something wrong with this firmware on my boards. Don't know what it is wasted two days trying to get this to run. Going to need a different way to drive the nanoleafs i have printed.

craigjmidwinter commented 3 years ago

I'm assuming you found another solution? I'm seeing the same thing. Logs say the server started but can't access the page

craigjmidwinter commented 3 years ago

Ok, I don't know if this is related, but I also had MQTT enabled but not configured and saw this issue. I noticed there was a bunch of code for both MQTT and the webserver in close proximity to each other, so I disabled the MQTT feature and reflashed and the web server came up @NimmLor

craigjmidwinter commented 3 years ago

Maybe I spoke too soon. It came up, but after having it unplugged and then plugging it back in, its inaccessible. Logs still show the webserver starting. I think it isn't related to the webserver, but instead the wifi connection disconnecting and not reconnecting? It connects and gets an IP and then it is not pingable

WarDrake commented 3 years ago

Have you tried erasing all flash memory and then reuploading the data?

craigjmidwinter commented 3 years ago

Yeah, I tried that. I just tried updating this block in the wifimanager setup to set the autoreconnect:

  if (wifiManager.autoConnect(nameChar)) {
    Serial.println("INFO: Wi-Fi connected");
    Serial.println("INFO: Setting autoreconnect");
    wifiManager.setWiFiAutoReconnect(true);
  } else {
    Serial.printf("INFO: Wi-Fi manager portal running. Connect to the Wi-Fi AP '%s' to configure your wireless connection\n", nameChar);
    wifiMangerPortalRunning = true;
  }

Not sure if that is actually doing anything, but it seems stable right now. I'll keep an eye on it for a few days and if it seems to make things better I can make a PR

craigjmidwinter commented 3 years ago

Looks like my change did not improve things. It seems like it gets a connection on init and immediately drops it. Enough to get an IP address, but it never becomes pingable

craigjmidwinter commented 3 years ago

I've tried this on two separate boards now, and both have the exact same behaviour

WarDrake commented 3 years ago

can you post the changes you made to the configuration of the script?

craigjmidwinter commented 3 years ago

Yep for sure. This is my device configuration section:

//---------------------------------------------------------------------------------------------------------//
// Device Configuration:
//---------------------------------------------------------------------------------------------------------//
#if LED_DEVICE_TYPE == 0                // Generic LED-Strip
#define NUM_LEDS 300
//#define NUM_LEDS 33
//#define NUM_LEDS 183
#define BAND_GROUPING    1            // Groups part of the band to save performance and network traffic
#elif LED_DEVICE_TYPE == 1              // LED MATRIX
#define LENGTH 32
#define HEIGHT 8
//#define AddLogoVisualizers          // (only 32x8) Adds Visualization patterns with logo (currently only HBz)
#elif LED_DEVICE_TYPE == 2              // 7-Segment Clock
#define NTP_REFRESH_INTERVAL_SECONDS 600            // 10 minutes
const char* ntpServerName = "at.pool.ntp.org";      // Austrian ntp-timeserver
int t_offset = 1;                                   // offset added to the time from the ntp server
bool updateColorsEverySecond = false;               // if set to false it will update colors every minute (time patterns only)
const int NTP_PACKET_SIZE = 48;
bool switchedTimePattern = true;
#define NUM_LEDS 30
#define Digit1 0
#define Digit2 7
#define Digit3 16
#define Digit4 23
// Values for the Big Clock: 58, 0, 14, 30, 44

#elif LED_DEVICE_TYPE == 3              // Desk Lamp
#define LINE_COUNT    8             // Amount of led strip pieces
#define LEDS_PER_LINE 10            // Amount of led pixel per single led strip piece

#elif LED_DEVICE_TYPE == 4              // Nanoleafs
#define LEAFCOUNT 8                // Amount of triangles
#define PIXELS_PER_LEAF 36          // Amount of LEDs inside 1x Tringle

#elif LED_DEVICE_TYPE == 5              // Animated Logos
// Choose your logo below, remove the comment in front of your design
// Important: see "LOGO CONFIG" below

#define TWENTYONEPILOTS
//#define THINGIVERSE     // FIXME: THIS IS BROKEN

#endif

I was strongly thinking it was a network issue since it looked like it would get an IP and not respond to pings when this happened, but I enabled and configured MQTT, and that works as expected even when the server doesn't respond to pings or http requests

craigjmidwinter commented 3 years ago

Sort of update. MQTT has been reliable for the last 3 days, but the web interface does not come up at all

bb-Ricardo commented 3 years ago

This is indeed very strange. And you used the recommended library versions as mentioned here?: https://github.com/NimmLor/esp8266-fastled-iot-webserver/blob/master/Software_Installation.md#dependencies

craigjmidwinter commented 3 years ago

Yep, same library versions

bb-Ricardo commented 3 years ago

And if you switch to option 1 (LED Strip) to test it. Dame behavior?

And can you post the DEBUG output here, please?

craigjmidwinter commented 3 years ago

Yeah, same behaviour on option 1. Here's the output

15:34:00.847 -> DEBUG [180]: Loading config
15:34:00.847 -> 
15:34:00.847 -> DEBUG [181]: System Information:
15:34:00.847 -> DEBUG [181]: Version: 4.5 (2020-02-14)
15:34:00.847 -> DEBUG [182]: Heap: 37904
15:34:00.847 -> DEBUG [182]: SDK: 2.2.2-dev(38a443e)
15:34:00.880 -> DEBUG [183]: Boot Vers: 31
15:34:00.880 -> DEBUG [186]: CPU Speed: 80 MHz
15:34:00.880 -> DEBUG [188]: Chip ID: 5567178
15:34:00.880 -> DEBUG [191]: Flash ID: 1458392
15:34:00.880 -> DEBUG [194]: Flash Size: 4194304KB
15:34:00.880 -> DEBUG [197]: Vcc: 65535
15:34:00.880 -> DEBUG [199]: MAC address: C4:5B:BE:54:F2:CA
15:34:00.880 -> 
15:34:00.914 -> *WM: [1] getCoreVersion():          2_7_4
15:34:00.914 -> *WM: [1] system_get_sdk_version():  2.2.2-dev(38a443e)
15:34:00.947 -> *WM: [1] system_get_boot_version(): 31
15:34:00.947 -> *WM: [1] getFreeHeap():             35688
15:34:00.947 -> *WM: [1] AutoConnect 
15:34:00.947 -> *WM: [1] No Credentials are Saved, skipping connect 
15:34:00.947 -> *WM: [2] Starting Config Portal 
15:34:00.947 -> *WM: [3] WIFI station disconnect 
15:34:00.947 -> *WM: [3] WiFi station enable 
15:34:00.947 -> *WM: [2] Disabling STA 
15:34:00.947 -> *WM: [2] Enabling AP 
15:34:00.947 -> *WM: [1] StartAP with SSID:  test-leafs - F2CA
15:34:01.448 -> *WM: [2] AP has anonymous access! 
15:34:01.448 -> *WM: [1] SoftAP Configuration 
15:34:01.448 -> *WM: [1] -------------------- 
15:34:01.448 -> *WM: [1] ssid:             test-leafs - F2CA
15:34:01.481 -> *WM: [1] password:         
15:34:01.481 -> *WM: [1] ssid_len:         17
15:34:01.481 -> *WM: [1] channel:          1
15:34:01.481 -> *WM: [1] authmode:        
15:34:01.481 -> *WM: [1] ssid_hidden:     
15:34:01.481 -> *WM: [1] max_connection:   4
15:34:01.481 -> *WM: [1] country:          CN
15:34:01.481 -> *WM: [1] beacon_interval:  100(ms)
15:34:01.481 -> *WM: [1] -------------------- 
15:34:01.981 -> *WM: [1] AP IP address: 192.168.4.1
15:34:01.981 -> *WM: [3] setupConfigPortal 
15:34:01.981 -> *WM: [1] Starting Web Portal 
15:34:01.981 -> *WM: [3] dns server started with ip:  192.168.4.1
15:34:01.981 -> *WM: [2] HTTP server started 
15:34:04.181 -> *WM: [2] WiFi Scan completed in 2184 ms
15:34:04.181 -> *WM: [2] Config Portal Running, non blocking/processing 
15:34:04.181 -> INFO: Wi-Fi manager portal running. Connect to the Wi-Fi AP 'test-leafs - F2CA' to configure your wireless connection
15:34:04.181 -> DEBUG [3505]: SPIFFS contents:
15:34:04.181 -> DEBUG [3508]: FS File: /index.htm, size: 9706
15:34:04.181 -> DEBUG [3512]: FS File: /favicon.ico, size: 4286
15:34:04.181 -> DEBUG [3516]: FS File: /css/styles.css, size: 1392
15:34:04.214 -> DEBUG [3520]: FS File: /css/dark-mode.css, size: 1350
15:34:04.214 -> DEBUG [3530]: FS File: /css/bootstrap.min.css, size: 121093
15:34:04.214 -> DEBUG [3535]: FS File: /css/minicolors.min.css, size: 96597
15:34:04.214 -> DEBUG [3536]: FS File: /settings.htm, size: 10129
15:34:04.214 -> DEBUG [3540]: FS File: /images/atom196.png, size: 3889
15:34:04.214 -> DEBUG [3545]: FS File: /images/github.ico, size: 6518
15:34:04.214 -> DEBUG [3549]: FS File: /images/surr.png, size: 1897
15:34:04.247 -> DEBUG [3554]: FS File: /fonts/glyphicons.woff2, size: 18028
15:34:04.247 -> DEBUG [3560]: FS File: /js/minicolors.min.js, size: 15463
15:34:04.247 -> DEBUG [3568]: FS File: /js/jquery-3.1.1.min.js, size: 86709
15:34:04.247 -> DEBUG [3569]: FS File: /js/dark-mode-switch.min.js, size: 492
15:34:04.247 -> DEBUG [3575]: FS File: /js/app.js, size: 16150
15:34:04.247 -> DEBUG [3580]: FS File: /js/bootstrap.min.js, size: 37045
15:34:04.281 -> 
15:34:04.281 -> DEBUG [3607]: FS Size: 1953282KB, used: 438999KB, 22.47%
15:34:04.281 -> 
15:34:04.281 -> DEBUG [3608]: Arduino Core Version: 2_7_4
15:34:04.281 -> DEBUG [3608]: Enabled Features:
15:34:04.281 -> DEBUG [3608]: Feature: MQTT support enabled (mqtt version: 4)
15:34:04.281 -> 
15:34:04.281 -> DEBUG [3613]: Configured device type: LED MATRIX (1)
15:34:04.314 -> DEBUG [3617]: NUM_LEDS: 256
15:34:04.314 -> DEBUG [3620]: BAND_GROUPING: 1
15:34:04.314 -> DEBUG [3622]: PACKET_LENGTH: 32
15:34:04.347 -> INFO: HTTP web server started
15:34:04.681 -> DEBUG [4005]: Stats: 18 frames/s, frame delay: 2900 us
15:34:05.682 -> DEBUG [5004]: Stats: 84 frames/s, frame delay: 1100 us
15:34:06.682 -> DEBUG [6002]: Stats: 99 frames/s, frame delay: 50 us
15:34:07.682 -> DEBUG [7003]: Stats: 111 frames/s, frame delay: 0 us
15:34:08.683 -> DEBUG [8000]: Stats: 111 frames/s, frame delay: 0 us
15:34:09.683 -> DEBUG [9005]: Stats: 112 frames/s, frame delay: 0 us
15:34:10.683 -> DEBUG [10001]: Stats: 111 frames/s, frame delay: 0 us
15:34:11.684 -> DEBUG [11006]: Stats: 112 frames/s, frame delay: 0 us
15:34:12.684 -> DEBUG [12002]: Stats: 111 frames/s, frame delay: 0 us
15:34:13.684 -> DEBUG [13007]: Stats: 112 frames/s, frame delay: 0 us
15:34:13.684 -> DEBUG [13008]: Connecting to MQTT...failed with state T
15:34:13.684 -> DEBUG [13008]: Heap: 29336
15:34:14.685 -> DEBUG [14004]: Stats: 111 frames/s, frame delay: 0 us
15:34:15.685 -> DEBUG [15000]: Stats: 111 frames/s, frame delay: 0 us
15:34:16.685 -> DEBUG [16006]: Stats: 112 frames/s, frame delay: 0 us
15:34:17.684 -> DEBUG [17002]: Stats: 111 frames/s, frame delay: 0 us
15:34:18.684 -> DEBUG [18007]: Stats: 112 frames/s, frame delay: 0 us
15:34:19.684 -> DEBUG [19003]: Stats: 111 frames/s, frame delay: 0 us
15:34:20.684 -> DEBUG [20000]: Stats: 111 frames/s, frame delay: 0 us
15:34:21.685 -> DEBUG [21005]: Stats: 112 frames/s, frame delay: 0 us
15:34:22.685 -> DEBUG [22001]: Stats: 111 frames/s, frame delay: 0 us
15:34:23.686 -> DEBUG [23007]: Stats: 112 frames/s, frame delay: 0 us
15:34:23.686 -> DEBUG [23007]: Connecting to MQTT...failed with state T
15:34:23.686 -> DEBUG [23007]: Heap: 29336
15:34:24.687 -> DEBUG [24004]: Stats: 111 frames/s, frame delay: 0 us
15:34:25.686 -> DEBUG [25000]: Stats: 111 frames/s, frame delay: 0 us
15:34:26.687 -> DEBUG [26006]: Stats: 112 frames/s, frame delay: 0 us
15:34:27.687 -> DEBUG [27002]: Stats: 111 frames/s, frame delay: 0 us
15:34:28.688 -> DEBUG [28007]: Stats: 112 frames/s, frame delay: 0 us
15:34:29.688 -> DEBUG [29003]: Stats: 111 frames/s, frame delay: 0 us
15:34:30.689 -> DEBUG [30000]: Stats: 111 frames/s, frame delay: 0 us
15:34:31.689 -> DEBUG [31005]: Stats: 112 frames/s, frame delay: 0 us
15:34:32.689 -> DEBUG [32001]: Stats: 111 frames/s, frame delay: 0 us
15:34:33.689 -> DEBUG [33007]: Stats: 112 frames/s, frame delay: 0 us
15:34:33.689 -> DEBUG [33007]: Connecting to MQTT...failed with state T
15:34:33.689 -> DEBUG [33007]: Heap: 29336
15:34:34.690 -> DEBUG [34004]: Stats: 111 frames/s, frame delay: 0 us
15:34:35.657 -> DEBUG [35001]: Stats: 111 frames/s, frame delay: 0 us
15:34:36.690 -> DEBUG [36006]: Stats: 112 frames/s, frame delay: 0 us
15:34:37.691 -> DEBUG [37002]: Stats: 111 frames/s, frame delay: 0 us
15:34:38.691 -> DEBUG [38008]: Stats: 112 frames/s, frame delay: 0 us
15:34:39.692 -> DEBUG [39004]: Stats: 111 frames/s, frame delay: 0 us
15:34:40.659 -> DEBUG [40000]: Stats: 111 frames/s, frame delay: 0 us
15:34:41.692 -> DEBUG [41006]: Stats: 112 frames/s, frame delay: 0 us
15:34:42.659 -> DEBUG [42002]: Stats: 111 frames/s, frame delay: 0 us
15:34:43.693 -> DEBUG [43008]: Stats: 112 frames/s, frame delay: 0 us
15:34:43.693 -> DEBUG [43008]: Connecting to MQTT...failed with state T
15:34:43.693 -> DEBUG [43008]: Heap: 29336
15:34:44.693 -> DEBUG [44004]: Stats: 111 frames/s, frame delay: 0 us
15:34:45.660 -> DEBUG [45001]: Stats: 111 frames/s, frame delay: 0 us
15:34:46.693 -> DEBUG [46006]: Stats: 112 frames/s, frame delay: 0 us
15:34:47.660 -> DEBUG [47002]: Stats: 111 frames/s, frame delay: 0 us
15:34:48.693 -> DEBUG [48008]: Stats: 112 frames/s, frame delay: 0 us
15:34:49.693 -> DEBUG [49005]: Stats: 111 frames/s, frame delay: 0 us
15:34:50.659 -> DEBUG [50001]: Stats: 111 frames/s, frame delay: 0 us
15:34:51.692 -> DEBUG [51006]: Stats: 112 frames/s, frame delay: 0 us
15:34:52.692 -> DEBUG [52003]: Stats: 111 frames/s, frame delay: 0 us
15:34:53.692 -> DEBUG [53008]: Stats: 112 frames/s, frame delay: 0 us
15:34:53.692 -> DEBUG [53009]: Connecting to MQTT...failed with state T
15:34:53.692 -> DEBUG [53009]: Heap: 29336
15:34:54.692 -> DEBUG [54005]: Stats: 111 frames/s, frame delay: 0 us
15:34:55.659 -> DEBUG [55001]: Stats: 111 frames/s, frame delay: 0 us
15:34:56.692 -> DEBUG [56007]: Stats: 112 frames/s, frame delay: 0 us
15:34:57.659 -> DEBUG [57003]: Stats: 111 frames/s, frame delay: 0 us
15:34:58.693 -> DEBUG [58008]: Stats: 112 frames/s, frame delay: 0 us
15:34:59.694 -> DEBUG [59005]: Stats: 111 frames/s, frame delay: 0 us
15:35:00.661 -> DEBUG [60002]: Stats: 111 frames/s, frame delay: 0 us
15:35:01.694 -> DEBUG [61007]: Stats: 112 frames/s, frame delay: 0 us
15:35:02.662 -> DEBUG [62003]: Stats: 111 frames/s, frame delay: 0 us
15:35:03.662 -> DEBUG [63000]: Stats: 111 frames/s, frame delay: 0 us
15:35:03.662 -> DEBUG [63000]: Connecting to MQTT...failed with state S
15:35:03.706 -> DEBUG [63000]: Heap: 29336
15:35:04.695 -> DEBUG [64008]: Stats: 112 frames/s, frame delay: 0 us
15:35:05.695 -> DEBUG [65005]: Stats: 111 frames/s, frame delay: 0 us
15:35:06.661 -> DEBUG [66001]: Stats: 111 frames/s, frame delay: 0 us
15:35:07.695 -> DEBUG [67006]: Stats: 112 frames/s, frame delay: 0 us
15:35:08.663 -> DEBUG [68003]: Stats: 111 frames/s, frame delay: 0 us
15:35:09.663 -> DEBUG [69004]: Stats: 110 frames/s, frame delay: 0 us
15:35:10.663 -> DEBUG [70005]: Stats: 110 frames/s, frame delay: 0 us
15:35:11.697 -> DEBUG [71006]: Stats: 110 frames/s, frame delay: 0 us
15:35:12.697 -> DEBUG [72006]: Stats: 109 frames/s, frame delay: 0 us
15:35:13.530 -> *WM: [3] -> connectivitycheck.gstatic.com 
15:35:13.530 -> *WM: [2] <- Request redirected to captive portal 
15:35:13.563 -> *WM: [3] -> connectivitycheck.gstatic.com 
15:35:13.563 -> *WM: [2] <- Request redirected to captive portal 
15:35:13.597 -> *WM: [2] <- HTTP Root 
15:35:13.597 -> *WM: [3] -> 192.168.4.1 
15:35:13.597 -> *WM: [3] lastconxresult: WL_IDLE_STATUS
15:35:15.831 -> *WM: [2] WiFi Scan completed in 2184 ms
15:35:15.831 -> DEBUG [75144]: Connecting to MQTT...failed with state @
15:35:15.831 -> DEBUG [75145]: Heap: 27672
15:35:15.831 -> DEBUG [75154]: Stats: 95 frames/s, frame delay: 0 us
15:35:16.665 -> DEBUG [76003]: Stats: 88 frames/s, frame delay: 0 us
15:35:17.665 -> DEBUG [77001]: Stats: 110 frames/s, frame delay: 0 us
15:35:18.665 -> DEBUG [78006]: Stats: 111 frames/s, frame delay: 0 us
15:35:19.698 -> DEBUG [79008]: Stats: 110 frames/s, frame delay: 0 us
15:35:20.664 -> DEBUG [80003]: Stats: 110 frames/s, frame delay: 0 us
15:35:21.664 -> DEBUG [81002]: Stats: 111 frames/s, frame delay: 0 us
15:35:22.667 -> DEBUG [82008]: Stats: 110 frames/s, frame delay: 0 us
15:35:23.665 -> DEBUG [83000]: Stats: 109 frames/s, frame delay: 0 us
15:35:24.665 -> DEBUG [84001]: Stats: 109 frames/s, frame delay: 0 us
15:35:25.532 -> *WM: [2] <- HTTP Root 
15:35:25.532 -> *WM: [3] -> 192.168.4.1 
15:35:25.532 -> *WM: [3] lastconxresult: WL_IDLE_STATUS
15:35:25.532 -> *WM: [2] Scan is cached 9730 ms ago
15:35:25.665 -> DEBUG [85004]: Stats: 107 frames/s, frame delay: 0 us
15:35:25.665 -> DEBUG [85005]: Connecting to MQTT...failed with state S
15:35:25.707 -> DEBUG [85005]: Heap: 28504
15:35:26.665 -> DEBUG [86008]: Stats: 111 frames/s, frame delay: 0 us
15:35:27.666 -> DEBUG [87008]: Stats: 111 frames/s, frame delay: 0 us
15:35:28.666 -> DEBUG [88001]: Stats: 110 frames/s, frame delay: 0 us
15:35:28.709 -> *WM: [2] <- HTTP Wifi 
15:35:28.709 -> *WM: [2] Scan is cached 12888 ms ago
15:35:28.709 -> *WM: [1] 3 networks found
15:35:28.709 -> *WM: [2] AP:  -59 [redactedssid]
15:35:28.709 -> *WM: [2] AP:  -84 DJDR2.4
15:35:28.709 -> *WM: [2] AP:  -91 BELL049
15:35:28.709 -> *WM: [3] lastconxresult: WL_IDLE_STATUS
15:35:28.760 -> *WM: [3] Sent config page 
15:35:29.667 -> DEBUG [89002]: Stats: 102 frames/s, frame delay: 0 us
15:35:30.667 -> DEBUG [90001]: Stats: 110 frames/s, frame delay: 0 us
15:35:31.667 -> DEBUG [91004]: Stats: 111 frames/s, frame delay: 0 us
15:35:32.667 -> DEBUG [92007]: Stats: 111 frames/s, frame delay: 0 us
15:35:33.667 -> DEBUG [93001]: Stats: 110 frames/s, frame delay: 0 us
15:35:33.667 -> DEBUG [93002]: Sending MQTT package: {"state":"OFF","brightness":255,"effect":"Solid Color","autoplay":255,"speed":255,"hue":0,"saturation":0}
15:35:34.668 -> DEBUG [94004]: Stats: 111 frames/s, frame delay: 0 us
15:35:35.669 -> DEBUG [95004]: Stats: 111 frames/s, frame delay: 0 us
15:35:35.669 -> DEBUG [95005]: Connecting to MQTT...failed with state R
15:35:35.711 -> DEBUG [95005]: Heap: 28504
15:35:36.669 -> DEBUG [96000]: Stats: 110 frames/s, frame delay: 0 us
15:35:37.669 -> DEBUG [97003]: Stats: 110 frames/s, frame delay: 0 us
15:35:38.670 -> DEBUG [98003]: Stats: 111 frames/s, frame delay: 0 us
15:35:39.103 -> *WM: [2] <- HTTP WiFi save  
15:35:39.103 -> *WM: [3] Method: POST
15:35:39.103 -> *WM: [3] Sent wifi save page 
15:35:39.103 -> *WM: [2] processing save 
15:35:41.103 -> *WM: [2] Connecting as wifi client... 
15:35:41.103 -> *WM: [3] STA static IP:
15:35:41.103 -> *WM: [2] setSTAConfig static ip not set, skipping 
15:35:41.103 -> *WM: [1] CONNECTED:
15:35:41.137 -> *WM: [1] Connecting to NEW AP: [redactedssid]
15:35:41.137 -> *WM: [3] Using Password: [redactedpassword]
15:35:41.137 -> *WM: [3] WiFi station enable 
15:35:41.137 -> *WM: [3] enableSTA PERSISTENT ON 
15:35:41.304 -> *WM: [1] connectTimeout not set, ESP waitForConnectResult... 
15:35:46.272 -> *WM: [2] Connection result: WL_CONNECTED
15:35:46.272 -> *WM: [3] lastconxresult: WL_CONNECTED
15:35:46.272 -> *WM: [1] Connect to new AP [SUCCESS] 
15:35:46.272 -> *WM: [1] Got IP Address: 
15:35:46.331 -> *WM: [1] 192.168.1.121 
15:35:46.872 -> 
15:35:46.872 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
15:35:46.872 -> 
15:35:46.872 -> load 0x4010f000, len 3584, room 16 
15:35:46.926 -> tail 0
15:35:46.926 -> chksum 0xb0
15:35:46.926 -> csum 0xb0
15:35:46.926 -> v2843a5ac
15:35:46.926 -> ~ld
15:35:47.139 -> 
15:35:47.139 -> 
15:35:47.172 -> DEBUG [265]: Loading config
15:35:47.172 -> 
15:35:47.172 -> DEBUG [266]: System Information:
15:35:47.172 -> DEBUG [266]: Version: 4.5 (2020-02-14)
15:35:47.172 -> DEBUG [266]: Heap: 37904
15:35:47.172 -> DEBUG [266]: SDK: 2.2.2-dev(38a443e)
15:35:47.172 -> DEBUG [268]: Boot Vers: 31
15:35:47.172 -> DEBUG [270]: CPU Speed: 80 MHz
15:35:47.172 -> DEBUG [273]: Chip ID: 5567178
15:35:47.172 -> DEBUG [276]: Flash ID: 1458392
15:35:47.172 -> DEBUG [278]: Flash Size: 4194304KB
15:35:47.172 -> DEBUG [281]: Vcc: 65535
15:35:47.172 -> DEBUG [283]: MAC address: C4:5B:BE:54:F2:CA
15:35:47.205 -> 
15:35:47.239 -> *WM: [1] getCoreVersion():          2_7_4
15:35:47.239 -> *WM: [1] system_get_sdk_version():  2.2.2-dev(38a443e)
15:35:47.239 -> *WM: [1] system_get_boot_version(): 31
15:35:47.239 -> *WM: [1] getFreeHeap():             35688
15:35:47.239 -> *WM: [1] AutoConnect 
15:35:47.239 -> *WM: [3] setupHostname:  test-leafs
15:35:47.239 -> *WM: [2] Setting WiFi hostname 
15:35:47.239 -> *WM: [2] Connecting as wifi client... 
15:35:47.281 -> *WM: [3] STA static IP:
15:35:47.281 -> *WM: [2] setSTAConfig static ip not set, skipping 
15:35:47.281 -> *WM: [1] Connecting to SAVED AP: [redactedssid]
15:35:47.281 -> *WM: [3] Using Password: [redactedpassword]
15:35:47.281 -> *WM: [3] WiFi station enable 
15:35:47.281 -> *WM: [3] enableSTA PERSISTENT ON 
15:35:47.281 -> *WM: [1] connectTimeout not set, ESP waitForConnectResult... 
15:35:50.406 -> *WM: [2] Connection result: WL_CONNECTED
15:35:50.406 -> *WM: [3] lastconxresult: WL_CONNECTED
15:35:50.406 -> *WM: [1] AutoConnect: SUCCESS 
15:35:50.406 -> *WM: [1] STA IP Address: 192.168.1.121
15:35:50.406 -> *WM: [3] hostname: STA:  test-leafs
15:35:50.406 -> INFO: Wi-Fi connected
15:35:50.406 -> INFO: Setting autoreconnect
15:35:50.406 -> DEBUG [3515]: SPIFFS contents:
15:35:50.440 -> DEBUG [3519]: FS File: /index.htm, size: 9706
15:35:50.440 -> DEBUG [3521]: FS File: /favicon.ico, size: 4286
15:35:50.440 -> DEBUG [3525]: FS File: /css/styles.css, size: 1392
15:35:50.440 -> DEBUG [3530]: FS File: /css/dark-mode.css, size: 1350
15:35:50.440 -> DEBUG [3540]: FS File: /css/bootstrap.min.css, size: 121093
15:35:50.440 -> DEBUG [3544]: FS File: /css/minicolors.min.css, size: 96597
15:35:50.440 -> DEBUG [3545]: FS File: /settings.htm, size: 10129
15:35:50.473 -> DEBUG [3549]: FS File: /images/atom196.png, size: 3889
15:35:50.473 -> DEBUG [3554]: FS File: /images/github.ico, size: 6518
15:35:50.473 -> DEBUG [3559]: FS File: /images/surr.png, size: 1897
15:35:50.473 -> DEBUG [3564]: FS File: /fonts/glyphicons.woff2, size: 18028
15:35:50.473 -> DEBUG [3569]: FS File: /js/minicolors.min.js, size: 15463
15:35:50.473 -> DEBUG [3577]: FS File: /js/jquery-3.1.1.min.js, size: 86709
15:35:50.473 -> DEBUG [3579]: FS File: /js/dark-mode-switch.min.js, size: 492
15:35:50.473 -> DEBUG [3585]: FS File: /js/app.js, size: 16150
15:35:50.510 -> DEBUG [3590]: FS File: /js/bootstrap.min.js, size: 37045
15:35:50.510 -> 
15:35:50.510 -> DEBUG [3616]: FS Size: 1953282KB, used: 438999KB, 22.47%
15:35:50.510 -> 
15:35:50.510 -> DEBUG [3617]: Arduino Core Version: 2_7_4
15:35:50.510 -> DEBUG [3617]: Enabled Features:
15:35:50.510 -> DEBUG [3618]: Feature: MQTT support enabled (mqtt version: 4)
15:35:50.547 -> 
15:35:50.547 -> DEBUG [3622]: Configured device type: LED MATRIX (1)
15:35:50.547 -> DEBUG [3627]: NUM_LEDS: 256
15:35:50.547 -> DEBUG [3629]: BAND_GROUPING: 1
15:35:50.547 -> DEBUG [3632]: PACKET_LENGTH: 32
15:35:50.585 -> INFO: HTTP web server started
15:35:50.907 -> INFO: WiFi Connected! Open http://192.168.1.121 in your browser
15:35:50.907 -> DEBUG [4015]: Stats: 18 frames/s, frame delay: 2900 us
15:35:51.907 -> DEBUG [5001]: Stats: 83 frames/s, frame delay: 1050 us
15:35:52.908 -> DEBUG [6002]: Stats: 100 frames/s, frame delay: 50 us
15:35:53.908 -> DEBUG [7009]: Stats: 112 frames/s, frame delay: 0 us
15:35:54.908 -> DEBUG [8000]: Stats: 111 frames/s, frame delay: 0 us
15:35:55.908 -> DEBUG [9001]: Stats: 112 frames/s, frame delay: 0 us
15:35:56.907 -> DEBUG [10002]: Stats: 112 frames/s, frame delay: 0 us
15:35:57.907 -> DEBUG [11003]: Stats: 112 frames/s, frame delay: 0 us
15:35:58.907 -> DEBUG [12004]: Stats: 112 frames/s, frame delay: 0 us
15:35:59.906 -> DEBUG [13005]: Stats: 112 frames/s, frame delay: 0 us
15:35:59.906 -> DEBUG [13005]: Connecting to MQTT...connected
15:35:59.939 -> DEBUG [13038]: Subscribing to MQTT Topics
15:35:59.939 -> DEBUG [13043]: Configuration Publishing Begun
15:35:59.973 -> DEBUG [13078]: Configuration Sent
15:35:59.973 -> DEBUG [13079]: Configuration Publishing Finished
15:36:00.017 -> DEBUG [13095]: Sending MQTT package: {"state":"OFF","brightness":255,"effect":"Solid Color","autoplay":255,"speed":255,"hue":0,"saturation":0}
15:36:00.017 -> DEBUG [13097]: Sending Initial Status
15:36:00.017 -> DEBUG [13100]: Heap: 30624
15:36:00.906 -> DEBUG [14003]: Stats: 100 frames/s, frame delay: 0 us
15:36:01.905 -> DEBUG [15006]: Stats: 112 frames/s, frame delay: 0 us
15:36:02.905 -> DEBUG [16000]: Stats: 111 frames/s, frame delay: 0 us
15:36:03.905 -> DEBUG [17004]: Stats: 112 frames/s, frame delay: 0 us
15:36:04.904 -> DEBUG [18008]: Stats: 112 frames/s, frame delay: 0 us
15:36:05.905 -> DEBUG [19005]: Stats: 111 frames/s, frame delay: 0 us
15:36:06.905 -> DEBUG [20008]: Stats: 112 frames/s, frame delay: 0 us
15:36:07.904 -> DEBUG [21002]: Stats: 111 frames/s, frame delay: 0 us
15:36:08.904 -> DEBUG [22005]: Stats: 112 frames/s, frame delay: 0 us
15:36:09.905 -> DEBUG [23000]: Stats: 111 frames/s, frame delay: 0 us
15:36:09.905 -> DEBUG [23000]: Heap: 31544
15:36:10.904 -> DEBUG [24008]: Stats: 112 frames/s, frame delay: 0 us
15:36:11.905 -> DEBUG [25002]: Stats: 111 frames/s, frame delay: 0 us
15:36:12.905 -> DEBUG [26006]: Stats: 112 frames/s, frame delay: 0 us
15:36:13.905 -> DEBUG [27001]: Stats: 111 frames/s, frame delay: 0 us
15:36:14.905 -> DEBUG [28004]: Stats: 112 frames/s, frame delay: 0 us
15:36:15.906 -> DEBUG [29007]: Stats: 112 frames/s, frame delay: 0 us
15:36:16.906 -> DEBUG [30002]: Stats: 111 frames/s, frame delay: 0 us
15:36:17.906 -> DEBUG [31005]: Stats: 112 frames/s, frame delay: 0 us
15:36:18.906 -> DEBUG [32000]: Stats: 111 frames/s, frame delay: 0 us
15:36:19.906 -> DEBUG [33003]: Stats: 112 frames/s, frame delay: 0 us
15:36:19.906 -> DEBUG [33004]: Heap: 31544
15:36:20.907 -> DEBUG [34004]: Stats: 111 frames/s, frame delay: 0 us
15:36:21.907 -> DEBUG [35008]: Stats: 112 frames/s, frame delay: 0 us
15:36:22.906 -> DEBUG [36003]: Stats: 111 frames/s, frame delay: 0 us
15:36:23.906 -> DEBUG [37006]: Stats: 112 frames/s, frame delay: 0 us
15:36:24.906 -> DEBUG [38001]: Stats: 111 frames/s, frame delay: 0 us
15:36:25.907 -> DEBUG [39004]: Stats: 112 frames/s, frame delay: 0 us
15:36:26.907 -> DEBUG [40008]: Stats: 112 frames/s, frame delay: 0 us
15:36:27.907 -> DEBUG [41002]: Stats: 111 frames/s, frame delay: 0 us
15:36:28.908 -> DEBUG [42006]: Stats: 112 frames/s, frame delay: 0 us
15:36:29.908 -> DEBUG [43008]: Stats: 112 frames/s, frame delay: 0 us
15:36:29.908 -> DEBUG [43009]: Heap: 31544
15:36:30.909 -> DEBUG [44008]: Stats: 111 frames/s, frame delay: 0 us
15:36:31.908 -> DEBUG [45003]: Stats: 111 frames/s, frame delay: 0 us
15:36:32.909 -> DEBUG [46006]: Stats: 112 frames/s, frame delay: 0 us
15:36:33.909 -> DEBUG [47001]: Stats: 111 frames/s, frame delay: 0 us
15:36:34.909 -> DEBUG [48005]: Stats: 112 frames/s, frame delay: 0 us
15:36:35.910 -> DEBUG [49000]: Stats: 111 frames/s, frame delay: 0 us
15:36:36.910 -> DEBUG [50003]: Stats: 112 frames/s, frame delay: 0 us
15:36:37.910 -> DEBUG [51007]: Stats: 112 frames/s, frame delay: 0 us
15:36:38.910 -> DEBUG [52001]: Stats: 111 frames/s, frame delay: 0 us
15:36:39.911 -> DEBUG [53005]: Stats: 112 frames/s, frame delay: 0 us
15:36:39.911 -> DEBUG [53006]: Heap: 31544
15:36:40.911 -> DEBUG [54005]: Stats: 111 frames/s, frame delay: 0 us
15:36:41.911 -> DEBUG [55000]: Stats: 111 frames/s, frame delay: 0 us
15:36:42.912 -> DEBUG [56004]: Stats: 112 frames/s, frame delay: 0 us
15:36:43.912 -> DEBUG [57008]: Stats: 112 frames/s, frame delay: 0 us
15:36:44.912 -> DEBUG [58003]: Stats: 111 frames/s, frame delay: 0 us
15:36:45.912 -> DEBUG [59008]: Stats: 112 frames/s, frame delay: 0 us
15:36:46.913 -> DEBUG [60003]: Stats: 111 frames/s, frame delay: 0 us
15:36:47.912 -> DEBUG [61006]: Stats: 112 frames/s, frame delay: 0 us
15:36:48.913 -> DEBUG [62001]: Stats: 111 frames/s, frame delay: 0 us
15:36:49.913 -> DEBUG [63004]: Stats: 112 frames/s, frame delay: 0 us
15:36:49.913 -> DEBUG [63005]: Heap: 31544
15:36:50.914 -> DEBUG [64004]: Stats: 111 frames/s, frame delay: 0 us
15:36:51.926 -> DEBUG [65008]: Stats: 112 frames/s, frame delay: 0 us
15:36:52.914 -> DEBUG [66003]: Stats: 111 frames/s, frame delay: 0 us
15:36:53.914 -> DEBUG [67007]: Stats: 112 frames/s, frame delay: 0 us
15:36:54.915 -> DEBUG [68002]: Stats: 111 frames/s, frame delay: 0 us
15:36:55.915 -> DEBUG [69005]: Stats: 112 frames/s, frame delay: 0 us
15:36:56.882 -> DEBUG [70000]: Stats: 111 frames/s, frame delay: 0 us
15:36:57.918 -> DEBUG [71004]: Stats: 112 frames/s, frame delay: 0 us
15:36:58.916 -> DEBUG [72008]: Stats: 112 frames/s, frame delay: 0 us
15:36:59.916 -> DEBUG [73003]: Stats: 111 frames/s, frame delay: 0 us
15:36:59.916 -> DEBUG [73003]: Heap: 31544
15:37:00.917 -> DEBUG [74003]: Stats: 111 frames/s, frame delay: 0 us
15:37:01.917 -> DEBUG [75007]: Stats: 112 frames/s, frame delay: 0 us
15:37:02.884 -> DEBUG [76001]: Stats: 111 frames/s, frame delay: 0 us
15:37:03.918 -> DEBUG [77005]: Stats: 112 frames/s, frame delay: 0 us
15:37:04.885 -> DEBUG [78000]: Stats: 111 frames/s, frame delay: 0 us
15:37:05.917 -> DEBUG [79004]: Stats: 112 frames/s, frame delay: 0 us
15:37:06.917 -> DEBUG [80007]: Stats: 112 frames/s, frame delay: 0 us
15:37:07.917 -> DEBUG [81002]: Stats: 111 frames/s, frame delay: 0 us
15:37:08.916 -> DEBUG [82005]: Stats: 112 frames/s, frame delay: 0 us
15:37:09.883 -> DEBUG [83000]: Stats: 111 frames/s, frame delay: 0 us
15:37:09.916 -> DEBUG [83001]: Heap: 31544
15:37:10.882 -> DEBUG [84000]: Stats: 111 frames/s, frame delay: 0 us
15:37:11.915 -> DEBUG [85004]: Stats: 112 frames/s, frame delay: 0 us
15:37:12.915 -> DEBUG [86008]: Stats: 112 frames/s, frame delay: 0 us
15:37:13.914 -> DEBUG [87003]: Stats: 111 frames/s, frame delay: 0 us
15:37:14.914 -> DEBUG [88007]: Stats: 112 frames/s, frame delay: 0 us
15:37:15.914 -> DEBUG [89001]: Stats: 111 frames/s, frame delay: 0 us
15:37:16.914 -> DEBUG [90005]: Stats: 112 frames/s, frame delay: 0 us
15:37:17.914 -> DEBUG [91000]: Stats: 111 frames/s, frame delay: 0 us
15:37:18.915 -> DEBUG [92003]: Stats: 112 frames/s, frame delay: 0 us
15:37:19.915 -> DEBUG [93007]: Stats: 112 frames/s, frame delay: 0 us
15:37:19.915 -> DEBUG [93009]: Sending MQTT package: {"state":"OFF","brightness":255,"effect":"Solid Color","autoplay":255,"speed":255,"hue":0,"saturation":0}
15:37:19.915 -> DEBUG [93013]: Heap: 30872
15:37:20.915 -> DEBUG [94000]: Stats: 109 frames/s, frame delay: 0 us
15:37:21.915 -> DEBUG [95004]: Stats: 112 frames/s, frame delay: 0 us
15:37:22.915 -> DEBUG [96007]: Stats: 112 frames/s, frame delay: 0 us
15:37:23.915 -> DEBUG [97001]: Stats: 111 frames/s, frame delay: 0 us
15:37:24.915 -> DEBUG [98005]: Stats: 112 frames/s, frame delay: 0 us
15:37:25.915 -> DEBUG [99002]: Stats: 111 frames/s, frame delay: 0 us
15:37:26.915 -> DEBUG [100006]: Stats: 112 frames/s, frame delay: 0 us
15:37:27.914 -> DEBUG [101000]: Stats: 111 frames/s, frame delay: 0 us
15:37:28.915 -> DEBUG [102004]: Stats: 112 frames/s, frame delay: 0 us
15:37:29.915 -> DEBUG [103007]: Stats: 112 frames/s, frame delay: 0 us
15:37:29.915 -> DEBUG [103008]: Heap: 31544
15:37:30.916 -> DEBUG [104008]: Stats: 111 frames/s, frame delay: 0 us
15:37:31.916 -> DEBUG [105003]: Stats: 111 frames/s, frame delay: 0 us
15:37:32.916 -> DEBUG [106006]: Stats: 112 frames/s, frame delay: 0 us
15:37:33.883 -> DEBUG [107000]: Stats: 111 frames/s, frame delay: 0 us
15:37:34.917 -> DEBUG [108004]: Stats: 112 frames/s, frame delay: 0 us
15:37:35.917 -> DEBUG [109008]: Stats: 112 frames/s, frame delay: 0 us
15:37:36.917 -> DEBUG [110002]: Stats: 111 frames/s, frame delay: 0 us
15:37:37.917 -> DEBUG [111005]: Stats: 112 frames/s, frame delay: 0 us
15:37:38.884 -> DEBUG [112000]: Stats: 111 frames/s, frame delay: 0 us
15:37:39.918 -> DEBUG [113003]: Stats: 112 frames/s, frame delay: 0 us
15:37:39.918 -> DEBUG [113004]: Heap: 31544
15:37:40.918 -> DEBUG [114003]: Stats: 111 frames/s, frame delay: 0 us
15:37:41.918 -> DEBUG [115007]: Stats: 112 frames/s, frame delay: 0 us
15:37:42.885 -> DEBUG [116002]: Stats: 111 frames/s, frame delay: 0 us
15:37:43.918 -> DEBUG [117006]: Stats: 112 frames/s, frame delay: 0 us
15:37:44.919 -> DEBUG [118009]: Stats: 112 frames/s, frame delay: 0 us
15:37:45.919 -> DEBUG [119004]: Stats: 111 frames/s, frame delay: 0 us
15:37:46.919 -> DEBUG [120008]: Stats: 112 frames/s, frame delay: 0 us
15:37:47.920 -> DEBUG [121003]: Stats: 111 frames/s, frame delay: 0 us
15:37:48.919 -> DEBUG [122007]: Stats: 112 frames/s, frame delay: 0 us
15:37:49.885 -> DEBUG [123001]: Stats: 111 frames/s, frame delay: 0 us
15:37:49.919 -> DEBUG [123001]: Heap: 31544
15:37:50.886 -> DEBUG [124002]: Stats: 111 frames/s, frame delay: 0 us
15:37:51.888 -> DEBUG [125004]: Stats: 112 frames/s, frame delay: 0 us
15:37:52.919 -> DEBUG [126008]: Stats: 112 frames/s, frame delay: 0 us
15:37:53.886 -> DEBUG [127002]: Stats: 111 frames/s, frame delay: 0 us
15:37:54.920 -> DEBUG [128006]: Stats: 112 frames/s, frame delay: 0 us
15:37:55.886 -> DEBUG [129001]: Stats: 111 frames/s, frame delay: 0 us
15:37:56.920 -> DEBUG [130005]: Stats: 112 frames/s, frame delay: 0 us
15:37:57.941 -> DEBUG [131009]: Stats: 112 frames/s, frame delay: 0 us
15:37:58.887 -> DEBUG [132003]: Stats: 111 frames/s, frame delay: 0 us
15:37:59.921 -> DEBUG [133007]: Stats: 112 frames/s, frame delay: 0 us
15:37:59.921 -> DEBUG [133007]: Heap: 31544
15:38:00.921 -> DEBUG [134008]: Stats: 111 frames/s, frame delay: 0 us
15:38:01.889 -> DEBUG [135003]: Stats: 111 frames/s, frame delay: 0 us
15:38:02.921 -> DEBUG [136007]: Stats: 112 frames/s, frame delay: 0 us
15:38:03.887 -> DEBUG [137001]: Stats: 111 frames/s, frame delay: 0 us
15:38:04.921 -> DEBUG [138005]: Stats: 112 frames/s, frame delay: 0 us
15:38:05.888 -> DEBUG [139002]: Stats: 111 frames/s, frame delay: 0 us
15:38:06.922 -> DEBUG [140005]: Stats: 112 frames/s, frame delay: 0 us
15:38:07.888 -> DEBUG [141001]: Stats: 111 frames/s, frame delay: 0 us
15:38:08.921 -> DEBUG [142004]: Stats: 112 frames/s, frame delay: 0 us
15:38:09.922 -> DEBUG [143008]: Stats: 112 frames/s, frame delay: 0 us
15:38:09.922 -> DEBUG [143008]: Heap: 31544
15:38:10.922 -> DEBUG [144008]: Stats: 111 frames/s, frame delay: 0 us
15:38:11.890 -> DEBUG [145003]: Stats: 111 frames/s, frame delay: 0 us
15:38:12.921 -> DEBUG [146007]: Stats: 112 frames/s, frame delay: 0 us
15:38:13.888 -> DEBUG [147001]: Stats: 111 frames/s, frame delay: 0 us
15:38:14.889 -> DEBUG [148004]: Stats: 112 frames/s, frame delay: 0 us
15:38:15.921 -> DEBUG [149008]: Stats: 112 frames/s, frame delay: 0 us
15:38:16.888 -> DEBUG [150002]: Stats: 111 frames/s, frame delay: 0 us
15:38:17.921 -> DEBUG [151006]: Stats: 112 frames/s, frame delay: 0 us
15:38:18.887 -> DEBUG [152001]: Stats: 111 frames/s, frame delay: 0 us
15:38:19.920 -> DEBUG [153004]: Stats: 112 frames/s, frame delay: 0 us
15:38:19.920 -> DEBUG [153005]: Heap: 31544
bb-Ricardo commented 3 years ago

This all looks very good. And switching on the mDNS feature (even though this shouldn't change the behavior).

And a curl -I http://192.168.1.121 results in a timeout?

craigjmidwinter commented 3 years ago

Yeah, switching on mDNS doesn't seem to change the behaviour. Sometimes it will 200 and come up and be available for a couple minutes and in those cases curl -I to the IP will 200 for a little bit, and then it will go unavailable with curl: (7) Failed to connect to 192.168.1.121 port 80 after 3056 ms: No route to host. Other times, right out of the gate, it will go to the no route to host error, but there are no errors or anomalies in the log, and the device is still connected to the mqtt broker and responding to commands via mqtt

WarDrake commented 3 years ago

This sounds like a server issue, MQTT can repeat it's messages due to QoS so it's not the best comparison for this Run the Curl command and run a Ping command next to it too ping -t 192.168.1.121 if ping keeps working while curl doesn't, it means the issue with the webserver itself and we can work from there.

craigjmidwinter commented 3 years ago

So, so far this thing seems to stay alive as long as I'm pinging it, if I stop after a minute or two I get Destination Host Unreachable, but the client is still connected and responding to mqtt messages. Very strange

birrozza commented 2 years ago

Hello I had the same problem: the card connected to the network normally but the web page was not reachable. I solved it by completely clearing the flash memory. You have to set Tools -> Erase Flash -> All Flash Contents. For me work fine!!!

IMG_20211023_220621