elastic / elastic/camera-hacks

The correct snapshot URL

Open
#2 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
40
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thank you very much for the blog post explaining everything and this repo showing exactly how to communicate with the camera. It helped me automate my camera in some AI projects that I'm experimenting with.

I managed to reverse engineer the Android app and realised that the correct snapshot URL is `/v1/snapshot` where the `gatewayUrl` is in the dev-config response.

The snapshot API instructs the camera to take a snapshot and here is the response (no image is sent to the caller):

```json
{
"status": "ok",
"code": 0,
"message": "",
"result": {
"value": true
}
}
```

Cheers,
Alan

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.