Number of events accessible
I can list info for 100 past events using doorbell.history. Is this a limit set by Ring? I had thought that they keep 30 days of events but my last 100 events only cover 4 days.
I'd be interested in this answer also. Do to an issue I didn't notice my utility the uses this library hasn't ran since 11/1
@ifuchs @thanneman79 I just ran this for the first time and was seeing the 100 event limit too. After looking closer at the documentation here there is an "older_than" parameter that you can pass to history that will get you the next set of data older than the event id specified. So, you call history the first time without specifying "older_than" which gives you an initial set. From there, continue calling history (with "older_than" specified now) until no further records are returned. Specify the id of the oldest (last) event in the current set when making subsequent calls to history.
I am the CTO @ Ring and we'd love to help you get this working to remove the unnecessary polling. Please reach out to me at [email protected]
I encountered this limit, but found there is also a $start-event (for past event count) call. So I solved this be using the oldest known event ID in order to build a local index of older events up to the 3month Ring storage limit... Hope that pseudo code helps.
There hasn't been any activity on this issue recently. This issue has been automatically marked as stale because of that. It will be closed if no further activity occurs. Please make sure to update to the latest ring_doorbell version and check if that solves the issue. Thank you for your contributions.