Push Notification not Working on BLE4.0?

Hi guys,
I connected my Arduino Uno with the Bluetooth module HC-08 and tried to send notifications through Blynk using the following code:
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <SoftwareSerial.h>
#include <BlynkSimpleSerialBLE.h>
#include <DHT.h>

char auth[] = "fdb435043f2e481696f2f8761de71c67";

SoftwareSerial SerialBLE(11, 10); // RX, TX

#define DHTPIN 2          // What digital pin we're connected to
#define DHTTYPE DHT11     // DHT 11

WidgetLED led1(V1);
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 sendSensor()
  float humidity = dht.readHumidity();
  float temp = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit

  if (isnan(humidity) || isnan(temp)) {
    Serial.println("Failed to read from DHT sensor!");
  Serial.print("Humidity: ");
  Serial.print(" %, Temp: ");
  Serial.println(" Celsius");
  delay(1000); //Delay 1 sec.

  Blynk.virtualWrite(V5, humidity);//Send humidity to blynk through Virtual 5
  Blynk.virtualWrite(V6, temp);//Send temperature to blynk through Virtual 6
    Serial.println("Alert - Temperature over 26C!");
    Blynk.notify("Alert - Temperature over 26C!");

void setup()
//  pinMode(led,OUTPUT);//declare pin 9 to be an output

  Blynk.begin(SerialBLE, auth);
  Blynk.notify("Device started");
  Serial.println("Waiting for connections...");


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

void loop()

The message “Alert - Temperature over 26C!” showed on my Serial Monitor when I ran the code, however, there was no notification sent to my iPhone6. I don’t know what went wrong. Thanks in advance!

Please copy/paste actual code… it is too difficult to process (i.e. no one will bother :wink: ) with screenshots.

Format is accordingly for proper viewing here

Blynk - FTFC

BLE devices could not send push notifications, as they are not connected to the Internet, which is a prerequisite to the support of push notifications.

@BlynkAndroidDev Heh, I should have picked up on that, simply by the title :blush: I just took one look at the screenshot, went crosseyed and moved on :stuck_out_tongue:

I might as well ask here… is BT/BLE functionality ever moving forward out of “beta” or is it just not suitable for proper IoT applications (as far as Blynk application that is).

We are updating it step by step. Android app, for example, is forwarding received data to the server, so it makes possible to use ble/bl with graphs, and also notifications/mail/etc, but only while being connected. When we’ll have time and find a right way to persist ble/bluetooth connection while the app is in the background (or if there would be a business request for such support) - we will move BLE/BT support further.

1 Like

Thanks! Do you know if there are ways that allow to push notifications besides WIFI connection?

Cellular, Ethernet or perhaps even the USB link (which basically turns your PC into an oversized Serial to network adapter)