BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       👉 SKETCH BUILDER

Newbie nodeMCU "Can´t connect with device" from Android, ok from blynk.cloud

Smartphone Honor 7X, Android 9

I want to try to blink the builtin led on nodeMCUv2
From the Arduino IDE I uploaded the code.
When I’m connecting from Dashboard
I can indeed turn on or off the led.

From my Smartphone, I keep having “Can´t connect with device”
Hardware compatibility issue with my Honor 7x?

Thanks

//Include the library files
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include "gWifiNamePwd.h"

#define BLYNK_TEMPLATE_ID "my credidentials"
#define BLYNK_DEVICE_NAME "my credidentials"
#define BLYNK_AUTH_TOKEN "my credidentials"

const char auth[] = BLYNK_AUTH_TOKEN;

//Get the button value
BLYNK_WRITE(V0) {
  int pinValue = param.asInt();
  Serial.println(pinValue);
  digitalWrite(D4, pinValue);
}

void setup() {
    Serial.begin(115200);
    Serial.print("Starting");
    //Set the LED pin as an output pin
    pinMode(D4, OUTPUT);
    //Initialize the Blynk library
    Blynk.begin(auth, SSID, ssidPWD, "blynk.cloud", 80);
}

void loop() {
  //Run the Blynk library
  Blynk.run();
}

@ESPPhil Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Copy and paste these if you can’t find the correct symbol on your keyboard, do not use Blockquotes as you are at the moment.

Pete.

That sounds like the sort of message you’d get when you press the “+ Add Device” button in the app.
This button is for use with devices running the Edgent sketch that need to be provisioned with an Auth token and WiFi credentials via the app.

You aren’t running an Edgent sketch.

Pete.

That sounds like the sort of message you’d get when you press the “+ Add Device” button in the app.
Yes.

So how do I connect with the Blynk app???

As a newbie I’m not getting it, would you be so kind to indicate how to get there?

It’s difficult to tell what steps you’ve followed so far, from the small amount of information you’ve provided.
My advice would be to go to the web console then devices (spyglass icon) and delete all devices.
Then go to templates and delete all templates, then follow this process…

Pete.