I need help about project of Battery Monitoring System, also the Authorisation Tokens error is coming

Read this before creating new topic:

  1. Search forum for similar topics
  2. Check https://docs.blynk.io
  3. Add details :
    • Hardware model + communication type. For example: ESP32
    • Smartphone OS (iOS or Android) + OS version
    • Blynk server region
    • Blynk Library version
    • Post your FORMATTED sketch code. Remove your AUTH TOKEN from code. Don’t post screenshots
    • Post your serial monitor output when experiencing some issues

:warning: If you don’t format your code, your topic can be deleted by moderators.

Here is a correct example of code formatting:

//#define BLYNK_TEMPLATE_ID           "TMPxxxxxx"
//#define BLYNK_TEMPLATE_NAME         "Device"
#include "BlynkEdgent.h"

void setup()
{
  Serial.begin(115200);
  delay(100);
  BlynkEdgent.begin();
}

void loop() {
  BlynkEdgent.run();
}

All the code is working well except the Blynk Authorization token is showing error in Arduino IDE. It is telling me that authorisation token is generated automatically. While I’ve copied the token from Blynk IoT dashboard.

If you’re using Blynk Edgent then the process is to just create a TEMPLATE, and copy the TWO lines of configuration code into the Edgent sketch,
You don’t get an Auth token until a device is created, and that is done automatically when you use the “+ Add Device” functionality in the app.

If you’ve manually created a device from your template then you should delete it and create a device via the app.

Pete.