Stef Weicks hello Apparently we exceed th elenght of you discussion thread :) How

@Stef_Weicks
you have this
int blynk_wait, blynk_wait_max=0;

do this
int blynk_wait=0;
int blynk_wait_max=10;

and retry and let me know

@Stef_Weicks when you do a deep sleep it will shutdown everything except the trigger you wanted. you do not need to 'shut the wifi before doing a deep sleep.
waking up form a deep sleep is actually a reboot of the esp. it does not ‘restart where you left of’

there is now an additional:
failed to allocate memory for RF calibration data
abort() was called at PC 0x400e8130 on core 0

btw how was swimming in the Atlantic … are you not frosted now? :smiley:

@Stef_Weicks it was really good actually!!! Not that cold. Now restaurant drink and party round 2

@Stef_Weicks it’s like the WiFi gets disconnected

haha … Well then I wish you much fun to night! :wink:

yes … but why? it shouldn´t … so i put at a few positions in the loop a wifistatus=true and false; > didn´t work either…

but i don´t think that this is the problem of that

@Stef_Weicks with the original code it does not happen right ?

the original code works well! therefore this is really crazy…

@Stef_Weicks indeed I don’t see why it will not work like this. Update gist with the working version I will do the modification from there

this is the last version working version i used without the wifi_off function… and with no modification from your side (because of better debugging).

@Stef_Weicks https://gist.github.com/hpwit/1bc9de375b1a8a51cc8cf2e392bfbbfb

still does not connect, my serial out is now:


Day Relay HIGH
SD-Card
time on
Time: 14:11:23
Day Relay HIGH
SD-Card
time on
Time: 14:11:23
Day Relay HIGH
SD-Card
time on
Starting Artnet nbNeededUniverses:16
Trying to connect Blynk…
[6729]
__ __
/ _ )/ / / /
/ _ / / // / _ / '/
/_//</i>, /////</i>
/
/ v0.5.3 on ESP32

Give Blynk a Github star! => https://github.com/blynkkk/blynk-library

[6742] Connecting to blynk-cloud.com:80
[6972] Ready (ping: 34ms).
Wifi Connected
[11973] Connecting to blynk-cloud.com:80
trying to connect to the Wifi…
[15463] Disconnected
6
6
Wifi Connected
Time: 14:11:33
Day Relay HIGH
SD-Card
time on
Starting Artnet nbNeededUniverses:16
Trying to connect Blynk…
[16981]
__ __
/ _ )/ / / /
/ _ / / // / _ / '/
/_//</i>, /////</i>
/
/ v0.5.3 on ESP32

Give Blynk a Github star! => https://github.com/blynkkk/blynk-library

[16995] Connecting to blynk-cloud.com:80
[19036] Login timeout
[22036] Connecting to blynk-cloud.com:80
trying to connect to the Wifi…
[25498] Disconnected
6
6
Wifi Connected
Time: 14:11:43
Day Relay HIGH
SD-Card
time on
Starting Artnet nbNeededUniverses:16
Trying to connect Blynk…
[27017]
__ __
/ _ )/ / / /
/ _ / / // / _ / '/
/_//</i>, /////</i>
/
/ v0.5.3 on ESP32

Give Blynk a Github star! => https://github.com/blynkkk/blynk-library

[27031] Connecting to blynk-cloud.com:80
[29072] Login timeout
[32072] Connecting to blynk-cloud.com:80
trying to coE (40729) phy_init: failed to allocate memory for RF calibration data
abort() was called at PC 0x400e812c on core 0

Backtrace: 0x400949f4:0x3ffe12a0 0x40094bf7:0x3ffe12c0 0x400e812c:0x3ffe12e0 0x4011b996:0x3ffe1310 0x4011ba30:0x3ffe1340 0x4011bd1a:0x3ffe1370 0x4011be93:0x3ffe13a0 0x4008daa0:0x3ffe13c0

Rebooting…
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:952
load:0x40078000,len:6084
load:0x40080000,len:7936
entry 0x40080310
error
RTC is newer than compile time. (this is expected)
Number of files already stored:25
Num Pixels: 2560
trying to connect to the Wifi…
[5143] Disconnected
Time: 14:11:57
Day Relay HIGH
SD-Card
time on
6
Time: 14:11:58
Day Relay HIGH
SD-Card
time on
Time: 14:11:58
Day Relay HIGH
SD-Card
time on
Time: 14:11:58
Day Relay HIGH
SD-Card

@Stef_Weicks why on earth the WiFi disconnects ? ;( that is really strange) i will add more debug stuff

i tried it also with an other wifi router same problem …
ok!

@Stef_Weicks it’s in the code for sure. But maybe my brain is not yet at full speed. I travel back tonight I will have a look tomorrow

no problem … for sure! in any case
, great flight home :wink: !!

@Stef_Weicks try this

it will not stop the wifi but I want to test something
let me low if it connects

yes now it´s connecting