Skip to content

Added support for Ajax doorbell camera#104

Open
scilicet64 wants to merge 1 commit into
AdyRock:masterfrom
scilicet64:master
Open

Added support for Ajax doorbell camera#104
scilicet64 wants to merge 1 commit into
AdyRock:masterfrom
scilicet64:master

Conversation

@scilicet64
Copy link
Copy Markdown

In #103 I reported I was not able to log the camera because OOM. I did not intend to integrate AJAX in it and fix #103, but this PR is tested in the past week running on my Homey Pro.
The events from the camera where too much for the accumulating buffer in the logger, so this was changed to a ringbuffer that would just have the latest log, like a tail, that fits in the Homey memory.
An issue with the events was that after a reset of homey, the camera was still sending events after the subscription request, and it seemed that doing a new subscription was causing to double up on the events and so on.
Im not sure if you want to store the analytics of the camera like pet,car,human detection with the bounding boxes, but this might be interesting when an snapshot will be available from the camera. The doorbell itself does not support snapshot urls, so that would require a possible fallback to grab an image from the stream if that would be possible. I did not test the capabilities of snapshots of the NVR yet, but I will do that after this PR. The past week I had a very stable experience with com.onvif and the ajax doorbell camera, including visitor detection integration (linked to button press of the doorbell) and the human detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

app crashes because of detailed reports and out of memory

1 participant