twrecked / pyaarlo

Asynchronous Arlo Component for Python
GNU Lesser General Public License v3.0
50 stars 34 forks source link

2nd Instance / Session possible? #88

Open Zaschii opened 2 years ago

Zaschii commented 2 years ago

Hi,

iam running a kind of monitoring script with noisealarm for our arlo baby cam. This script is running in the background the whole night.

Is it possible to run a second script e.g. to stop the music in the same time?

I tried a second login with the same account / imap auth etc. and of course it didnt work, because....

''logged out? did you log in from elsewhere? unable to read mode, try forcing v2''

Is there a way to use the active session in another script? Or is a second arlo account neccessary for this?

Thanks in advance & BR,

phene commented 2 years ago

Arlo itself will not allow 2 active sessions on the same account. Your best option is a 2nd account that you share the cameras to.

twrecked commented 2 years ago

What @phene said, you're going to need a second account to do this.

But pyaarlo should be able to handle this, although I would recommend turning off state storage (pass save_state=False to the PyArlo object) on one or both sessions.