Query about 2FA in latest blinkpy 24.0 #1130
Replies: 2 comments
-
|
Hi - I think I have got this working properly now. I had installed the latest blinkpy code using So instead I installed the development version: After this, the code worked as expected, although I had to change the import line to: Now, my code has worked for 16 hours without prompting for 2FA. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @HughAndersonNUS glad that worked. Hadn't had a chance to respond but that's exactly what I was going to suggest. However |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have some scripts I use to autonomously query blink camera systems. They use a creds.json file generated using the sample code, and which now have a "2fa_code": "XXXXXX" at the end, and an "expires_in": 14400, field. This new creds.json file seems to work fine for a while, and then my scripts start asking again for a (new) 2fa code. Since this code is just running in a cron job, the scripts stop working. I feel like I am misunderstanding something. My scripts to retrieve code are like this:
Can someone suggest what I am doing incorrectly? Is there some way to allow for a script to continue working for a long time the way it used to?
Cheers Hugh
Beta Was this translation helpful? Give feedback.
All reactions