Blynk 2.0 Device online notification

Hi there,

In the old legacy I was able to write some code to do push notification when the device returned online, but with the new Blynk 2.0, is there way to achieve that as it uses Events now?

BLYNK_CONNECTED () {
Blynk.notify("Connected");
}

KR

Chris

Blynk.notify has been replaced with Blynk.logEvent
https://docs.blynk.io/en/getting-started/events-tutorial

1 Like