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

MK1000 migration causing invalid auth token

HI any direction

  1. Template ID and Device name are at the top
  2. latest firmware loaded on MKR hardware
  3. Arduino libraries (Blynk) latest installed / updated
  4. App recreated on new Blynk IoT (Android)
  5. Device deleted and re-created with new Auth token on clout
  6. Hardware in Template selected as “Arduino”

Simple example code also tried

What’s “clout”

Copying/pasting the serial output might be useful.

Pete.

sorry meant Blynk Cloud

Serial info:

Enter WIFI Menu [y/n]? :
-Startup - try connecting to Home Router SID: SMSAlert-F

-Startup - succesfully connected
RSSI:-51
Encryption Type:2

Firmware version installed: 19.6.1
[11167] IP: 192.168.1.29
[11168]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
/
//_, /////_
/
__/ v0.5.8 on MKR1000

[11168] Connecting to blynk-cloud.com:80
[11743] Invalid auth token
[16487] Connecting to blynk-cloud.com:80
[17174] Invalid auth token
[21770] Connecting to blynk-cloud.com:80
[22304] Invalid auth token
[27025] Connecting to blynk-cloud.com:80
[27960] Invalid auth token
[32327] Connecting to blynk-cloud.com:80
[32902] Invalid auth token
[37584] Connecting to blynk-cloud.com:80
[42921] Connecting to blynk-cloud.com:80

If you’re running C++ then you need to be running Blynk library version 1.1.0

That’s why it’s trying to connect to the legacy server…

Pete.

Thank you solved. Had to physically delete
the Chinese Blynk library from explorer to
force it to use the the latest just Blynk library.

1 Like