shauntarves / wyze-sdk

A modern Python client for controlling Wyze devices.
The Unlicense
298 stars 49 forks source link

Feature request: Take Picture on Wyze Cam #68

Open Energiz3r opened 2 years ago

Energiz3r commented 2 years ago

Per title; if possible the functionality to trigger a wyze cam to take a photo would be immensely useful. Saving a snap to SD card is something they can do using the Wyze app. Thanks!

TheGreatSkeeve commented 2 years ago

My code here might be helpful if you're okay with Python. Can be adapted to take pictures with whatever frequency you want, saves them locally.

shauntarves commented 2 years ago

Hey @Energiz3r,

Thanks for your interest in this library. A bit of background here...

Previously, all wyze cameras operated on a proprietary-ish protocol that only had a Java library available. There's a long-er explanation in https://github.com/shauntarves/wyze-sdk/issues/11

As RTSP protocol becomes more widely implemented on the wyze cams, there's definitely an opportunity to add some basic camera features to this library. However, I'm not sure what the ROI is. For example, your request to take a picture is a really good and obvious use case, but are there other things that would make sense in a python library? Happy to take enhancement requests and PR submissions if anyone wants to try to tackle this