Your Arduino Mega is not in Network

Hi,

I am using Blynk for a project and I am receiving the following error in the app when I start it: “Your Arduino Mega is not in Network”
This message pops up every few seconds on the bottom of the current Android app. The interesting thing is that the app works, all gauges, etc. get updated. So far I could not find any solution in the forum.

I am using Ethernet, Sd card and an SPI temperature sensor. Therefor I have to set the chip select pins HIGH or LOW depending which device I would like to use. I am also using the networked time protocol to receive the time at startup and I use the UDP protocol to send data to my database. That works without any problems so far.
I do not think I am flooding your servers with my arduino.

You can find my Arduino sketch here

I would be very grateful if you could help me to solve this problem :slight_smile:

Kind regards,
Tom

1 Like

Hello. What does serial output says? http://docs.blynk.cc/#troubleshooting-enable-debug

all my projects say “ESP8266 was disconnected” or “arduino mega is not in network” often,

but all work fine…

is there actually a problem beside the App message?

Means connection was dropped. However Blynk usually automatically try to establish connection again. So it seems like everything working. But it is better to find out what causing this.

i dont care about the message on the app - i was just saying to the OP that my App has always said this sort of thing but app and hardware are all working as expected…

that is some impressive coding!!!

@Dave1829 @hl68fx

The “Your [Device] was disconnected” message appears to be “cached” so you will see it hours (or even days) after the disconnection when you start using the app again after an earlier disconnection. Obviously flashing your device with a revised sketch will give you this message and maybe several times if flashing an OTA sketch that will reboot when it sees the flash and then reboot with the new OTA update.

1 Like

Thank you very much @all for your help!

enabling debug helped me to find the solution. I simply forgot to set a millis counter to zero so I have sent to much events to the Blynk servers. Now everything works without any problems :slight_smile:

@Dave1829: Thank you very much for the compliment, I really appreciate that! :slight_smile:
The furnace already works but there is much room for improvements and new features.