AYUDAA relays quedan encendidos al iniciar

Buenas gente, desde ya muchas gracias a los que se tomen la molestia de leerme.
Bueno paso a comentarles que tengo un arduino mega 2560 con modulo shield ethernet w5100, y un modulo de 16 relay 12v, lo tengo conectado como se ve en las imagenes. una fuente 12v 1a para el modulo reles, y otra fuente 12v 1a para el mega.

Sketch cargado:
#define BLYNK_PRINT Serial

#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "ACA VA EL TOKEN";

#define W5100_CS 10
#define SDCARD_CS 4

BlynkTimer timer;

// This function sends Arduino's up time every second to Virtual Pin (5).
// In the app, Widget's reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void myTimerEvent()
{
// You can send any value at any time.
// Please don't send more that 10 values per second.
Blynk.virtualWrite(V5, millis() / 1000);
}

void setup()
{
// Debug console
Serial.begin(9600);

pinMode(SDCARD_CS, OUTPUT);
digitalWrite(SDCARD_CS, HIGH); // Deselect the SD card

Blynk.begin(auth);
// You can also specify server:
//Blynk.begin(auth, "blynk-cloud.com", 80);
//Blynk.begin(auth, IPAddress(192,168,1,100), 8080);

// Setup a function to be called every second
timer.setInterval(1000L, myTimerEvent);
}

void loop()
{
Blynk.run();
timer.run(); // Initiates BlynkTimer
}

EL problema a resolver es el siguiente si se corta la electricidad al reiniciar el arduino mega me quedan todos los relay encendidos, los tengo que prender y apagar de la aplicacion de blynk en el telefono para que todo quede bien.
El problema que si pasa esto tengo persianas conectadas o sea un rele para bajar y otro para subir me va a romper todo.

Por favor lee las normas del foro,sobre todo en lo referente a la eleccion del titulo adecuado y como postear codigo correctamente.Modifica tu post para adecuarlo a dichas normas.