Hello! I am working on a project with 2560 pixels running on Artnet over

@Stef_Weicks in the loop replace fastledshow322(); by fastled.show();
I think I made a mistake in that

@Stef_Weicks I am talking here of course
if(artnetdisplay)
FastLEDshowESP322();

blynk can connect shortly … but in this short time there is no modification possible.

and after i start without wifi … and connect than … wifi connects but without blynk connection…

@Stef_Weicks can you show me the serial output ?

RTC is older than compile time! (Updating DateTime)
buffer0 created
Starting Artnet nbNeededUniverses:16
Num Pixels: 2560
17:43:40

and stop here…

the output is not different to before.

@Stef_Weicks in the loop()
Before the line blynk.run() can you add
Serial.println(“start”);
And after blynk.run();
Add
Serial.println(“after blynk”);

Trying to connect…
18:02:43on
start
after blynk
WiFi re-connected from inside the loop.
IP address:
172.20.10.2
start
after blynk
RTC is older than compile time! (Updating DateTime)
18:02:44

and stopped

@Stef_Weicks ahah I know why :wink:
You need to launch jinx !! otherwise it stays look waiting for the artnet frame to arrive :wink:

ah yes i understand!! … i see

but blynk is connecting only very short … and after wifi was switched of … blynk doesnt connect

do you know what could be the fault?

@Stef_Weicks let’s summarize
First the animation does it switch automatically from artnet to SD automatically in regards to the WiFi status ?
When the WiFi is disconnecting I do a blynk.disconnect() ; like in the setup

yes the switch does it switch automatically but only from sd card (wifi not connected) to artnet (wifi established) but not backwards.

@Stef_Weicks I guess I know why if you cut the WiFi in the middle of a frame it’s still waiting.
I need to add a timout in the read function to tell him to get out if not receiving data after a certain amount of time

@Stef_Weicks here it is normally it should get out of the art net.read after 1 s if nothing happens
https://github.com/hpwit/artnet/blob/master/Artnet.cpp

ah ok … i will try one moment :slight_smile: hope it works

No I got this after establishing the wifi connectionmissing/deleted image from Google+

@Stef_Weicks if you launch jinx it should dispeappear
No ?

yes and the clock is running behind

the sd-card program works without wifi connected

@Stef_Weicks I am again stupid
Reload artnet it should work

@Stef_Weicks so now with the latest version you should be able to switch from artnet to sd only by switching on/off your WiFi
You will have a strange jerk in the display but I will modify your code slightly