Skip to content

Camera capture method broken #58

@shred86

Description

@shred86

The camera.py module's capture method no longer works. When trying to call the capture method, I get:

2019-11-04 18:27:11 WARNING (SyncWorker_8) [abodepy.devices.camera] Failed to capture image: Request failed

I believe PR #47 is what caused it to stop working. When I view the request using developers tool while logged into the Abode web app, I see the following when requesting an image with the Iota camera:

:method: PUT
:scheme: https
:authority: my.goabode.com
:path: /api/v1/cams/XF:b0c5caxxxxxx/capture

Which is what CAMS_ID_CAPTURE_URL use to be. However, with PR #47, it changed capture to snapshot.

@milad-soufastai Where did you see the path change to capture? I'm wondering if maybe the put request path is different depending on the type of camera you have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions