blynkkk / lib-python

Blynk IoT library for Python and Micropython
MIT License
236 stars 81 forks source link

Blynk 2.0 auth not working #52

Open ilomon10 opened 1 year ago

ilomon10 commented 1 year ago

The example not working. I can't connect my device with this blynkkk/lib-python library, it print blynklib.BlynkError: Auth stage failed. Status=4.

It work well with vshymanskyy/blynk-library-python.

I'm so confuse which library should i use, on vshymanskyy/blynk-library-python documentation didn't sync with new blynk docs (lack of documentation). By use official library blynkkk/lib-python, it can't run even the example.

Device info: Raspberry Pi Library version: blynkkk/lib-python 0.2.6 Mobile App: Blynk IoT 1.5.6 ~not the legacy one~ Device and Token was generated on Web blynk.cloud.

John93-Blynk commented 1 year ago

The library has to be updated to the newest version (1.0.0) https://github.com/vshymanskyy/blynk-library-python Use the command "pip install blynk-library-python" to do so. However, for some reason, it pulls version 0.2.0 rather than the most recent version (1.0.0), so after installing the library, you have to download the library files and move them to the library directory manually.