|
Post by KevinEleven2 on Dec 30, 2020 6:45:28 GMT -8
Hi,
I've bought and activated the SGS in Blynk and added the correct auth token in the configuration file. I can see that the auth code is working by accessing the blynk-cloud.com/<auth token>/project page. However in the output of SGS2.py i keep getting this error:
-----------------
Blynk Status= Invalid token.
===========
Alarm State
===========
Is_Alarm_Temperature= False
Is_Alarm_Moisture= False
Is_Alarm_MoistureFault= False
Is_Alarm_AirQuality= False
Is_Alarm_WaterEmpty= False
exception in blynkStatusUpdate
invalid literal for int() with base 10: 'Invalid token.'
Do you have any idea on how to fix this?
Thanks in advance.
|
|
|
Post by SDL on Dec 31, 2020 5:53:02 GMT -8
Well, we use Blynk all the time with the SGS2 so this isn't a systemic problem.
Is there a more information with this error (the Python line number, etc?)
I'd like to look at the exact line that is throwing this exception.
BP
|
|
|
Post by cciecanuck on Jan 18, 2021 20:20:58 GMT -8
I got this same error, when my blynk access token was not saved correctly within the configuration UI. I deleted the app, got a new token and placed that within the configuration UI.
|
|
|
Post by SDL on Jan 20, 2021 17:06:30 GMT -8
OK, good advice!
BP
|
|