Notification problem

Hi. When I specify EU server ip manually(application and scetch) , all work fine, but notification doesn’t work. Please help. E-mail working ok on ESP8266.

void setup()
{
Serial.begin(9600);
Blynk.begin(auth, “xxx”, “xxx”, “46.101.143.225”);
while (Blynk.connect() == false) {
}
Blynk.notify(“Project started!!”);
}

@Arsen I have found that MANY commands simply go ignored on first connection, presumably as it is busy doing all the connection stuff.

Perhaps use SimpleTimer with the timeout option (one iteration only) and notify after say the first 10 second of the connection being confirmed.

@Costas this code should work with while loop.

@Arsen do use Android or iPhone?

Android


In other case not working too;
void door_contact()
{
int sensorVal = digitalRead(3);
if (sensorVal == HIGH) {
led2.on();
delay (10);
if (flag) {
Blynk.notify(“Door is open!”);
Blynk.email(“Subject: Gerkon Logger”, “Door is open!”);
flag = false;
}
} else {
led2.off();
flag = true;
}
}

Do you have notifications widget? Do notifications work without IP with blynk-cloud.com?

  1. Yes of course.
  2. Yes.

@Arsen thanks! This is really a bug. We will fix it and release today.

Thanx!

@Arsen we just released update. Should be fixed there. Please check.

Now is ok. Regards!