Esp8266 as wifi startup make my relay always on

Hi there… how to initialize all my digital pin that connected to the relay module to be low .

when the arduino connecting to the blynk, all of my relay energize and after successfully connected to the blynk, the relay set as what im wrote in code… any idea how to solve this problem?

@alexanderisz

initialize you pins like as follow to avoid activating during start-up.
ex…

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth);
  pinMode (rlyPin1, OUTPUT);
  digitalWrite (rlyPin1, HIGH);
}
void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
pinMode (rlyPin1, OUTPUT);
digitalWrite (rlyPin1, HIGH);
}

yes… i hv try both HIGH and LOW for pinmode in void setup. but still same problem occur

can you share your sketch…