fronzbot / blinkpy

A Python library for the Blink Camera system
MIT License
587 stars 121 forks source link

Per Camera "Snooze" #955

Closed austinc3030 closed 1 month ago

austinc3030 commented 5 months ago

I apologize for creating another feature request. The previous feature request for disabling notifications works well and has been helpful.

What I would like to have is per-camera snoozing. It looks like the endpoint exists (from MattTW/BlinkMonitorProtocol): Update Camera Config : POST /network/{NetworkID}/camera/{CameraID}/update

And I see in blinkpy/api.py#L466 that a method for requesting a camera config update exists. I suspect this could be as simple as calling something like request_update_config(data={"snooze": true}) like is done when configuring night vision.

Open to thoughts and understand if this is a "won't implement".

Thanks for your hard work!

austinc3030 commented 4 months ago

I attempted to poke at this and was unsuccessful. It seems trying to set "snooze_till" in the request_config_update does not take when calling from blinkpy. the value does update when changing the snooze setting in the app.

austinc3030 commented 4 months ago

Update: Just found this https://github.com/MattTW/BlinkMonitorProtocol/issues/67, I might try to implement this

austinc3030 commented 4 months ago

I have a mostly working implementation of this here: https://github.com/austinc3030/blinkpy/

fronzbot commented 4 months ago

@austinc3030 - I see you had a PR open for this but then closed it. Feel free to open a new one so we can get those modifications merged!

github-actions[bot] commented 2 months ago

There hasn't been any activity on this issue recently. Please make sure to update to the latest blinkpy version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.