Blynk 2.0 and Thonny python Raspberry Pi

Hi, I am new here and in new in this field too, need some guidance from seniors! My blynk 2.0 can’t seem to connect with raspberry pi CM4. I am using python to program the codes. Got all the authentication, template ID and Device name. Inserted all into a program but I’m not getting connection.

Changed the to I’m just trying to run a simple LED blynk IoT through WiFi. I would really appreciate your help!


This code is just to try and get the connection from my python to blynk 2.0

import blynklib


blynk = blynklib.Blynk(BLYNK_AUTH)

while True;

you need to use this lib -