twrecked / pyaarlo

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

Is save_media_to supposed to work continuously? #159

Closed burner1024 closed 2 months ago

burner1024 commented 2 months ago

When save_media_to is set, are the files supposed to be downloaded continuously as new records appear in the cloud? Right now it seems to be downloading the files up to the script's launch date, no updates after that. From the readme, I can't quite figure out if that's a bug or correct behaviour.

My usage is just

    arlo = pyaarlo.PyArlo(
        username=USERNAME,
        password=PASSWORD,
        tfa_type=Config.config("tfa_type"),
        tfa_source=Config.config("tfa_source"),
        tfa_retries=Config.config("tfa_retries"),
        tfa_delay=Config.config("tfa_delay"),
        tfa_host=Config.config("tfa_host"),
        tfa_username=Config.config("tfa_username"),
        tfa_password=Config.config("tfa_password"),
        synchronous_mode=True,
        save_state=False,
        dump=dump,
        storage_dir="aarlo",
        verbose_debug=verbose_debug,
        backend="sse",
        save_media_to=PATH,
    )
twrecked commented 2 months ago

It should update new recordings. I'll double check it's still working here.

A couple of things to try:

burner1024 commented 2 months ago

Thanks for clarification. There was an issue before, but it seems to be downloading now. Maybe related to something else. I'll update if can narrow it down.