tchellomello/python-arlo

`last_image` and `snapshot_url` returns stale images

Closed this issue · 1 comments

I'm trying to fetch a last know camera image on a periodic basis. I'm trying to use last_image (bytes) as well as the snapshot_url (with schedule_snpashot() method call to update it) but unfortunately, it seems it returns me stale images (different).

  1. This one always returns the same URL and doesn't update it even though schedule_snapshot() return True:
    http://python-arlo.readthedocs.io/index.html#pyarlo.camera.ArloCamera.snapshot_url

  2. This one returns a stale image, the same image I can see as a streaming preview and it's never updated, it could stay the same for days and I didn't find a way to update it expect of start streaming via the user interface (web or app):
    http://python-arlo.readthedocs.io/index.html#pyarlo.camera.ArloCamera.last_image

What is the approach to refresh the current image and download it?

Sorry, I got it, the URL is the same but the image is different.

schedule_snapshot() works fine